Skip to content

Console Output

Skipping 181 KB.. Full Log
04:39:40.093 [pool-298-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:40.106 [pool-298-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:40.156 [pool-298-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:39:40.156 [pool-298-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL index < 0
04:39:40.244 [pool-298-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "index < 0" is working
04:39:40.251 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 6
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 3
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2118ms
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:40.252 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:39:40.253 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
@@ -11,4 +11,4 @@
 		
-		if ( index == 0 ) // Fix index <= 0
-			return s.charAt(0);
+		if ( index < 0) // Fix index <= 0
+		return s.charAt(0);
 		

04:39:40.256 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:40.256 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:40.256 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:40.256 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:40.256 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_2], projectClasspath='[Ljava.net.URL;@53271bb4', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:40.256 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:40.257 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 145 MB
04:39:40.257 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:40.257 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:39:40.257 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:40.257 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:40.257 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:41.812 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:41.813 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_2.NopolExample:11 which is executed by 9 tests
-126608641
04:39:41.861 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:41.999 [pool-340-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, a=2, b=-8, (b - a)=-10, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test9)
constraint: {0=0, a=4, b=-2, (b - a)=-6, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test4)
constraint: {0=0, a=-2, b=-4, (b - a)=-2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test6)
constraint: {0=0, a=4, b=2, (b - a)=-2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test2)
constraint: {0=0, a=-4, b=-2, (b - a)=2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test7)
constraint: {0=0, a=-2, b=4, (b - a)=6, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test5)
constraint: {0=0, a=2, b=4, (b - a)=2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test1)
04:39:42.000 [pool-340-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:42.009 [pool-340-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:42.060 [pool-340-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 1 < (b - a)
04:39:42.061 [pool-340-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL 1 < (b - a)
04:39:42.128 [pool-340-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "1 < (b - a)" is working
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 7
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 4
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 14
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1879ms
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:42.135 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 1 < (b - a)
04:39:42.136 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:42.136 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL
04:39:42.137 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_2/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_2/NopolExample.java
@@ -10,3 +10,3 @@
 	public int getMax(int a, int b){
-		if ( (b - a) < 0 ){ // Fix a < b
+		if ( 1 < (b - a)){ // Fix a < b
 			return b;

04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_3]
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_3.NopolExampleTest]
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_3], projectClasspath='[Ljava.net.URL;@2774540b', projectTests=[nopol_examples.nopol_example_3.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 52 MB
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 215 MB
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:42.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:43.751 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:43.751 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_3.NopolExample:11 which is executed by 9 tests
-126608641
04:39:43.780 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:44.011 [pool-391-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, a=-8, tmp != 0=true, tmp=-1}. outcome: false (test5)
constraint: {0=0, a=2, tmp != 0=true, tmp=1}. outcome: false (test4)
constraint: {0=0, a=0, tmp != 0=true, tmp=-1}. outcome: false (test9)
constraint: {0=0, a=50, tmp != 0=true, tmp=1}. outcome: false (test8)
constraint: {0=0, a=8, tmp != 0=true, tmp=1}. outcome: false (test7)
constraint: {0=0, a=-1, tmp != 0=false, tmp=0}. outcome: true (test3)
constraint: {0=0, a=5, tmp != 0=false, tmp=0}. outcome: true (test2)
constraint: {0=0, a=3, tmp != 0=false, tmp=0}. outcome: true (test1)
constraint: {0=0, a=65, tmp != 0=false, tmp=0}. outcome: true (test6)
04:39:44.015 [pool-391-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:44.029 [pool-391-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:44.066 [pool-391-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 0 == tmp
04:39:44.067 [pool-391-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_3.NopolExample:11: CONDITIONAL 0 == tmp
04:39:44.163 [pool-391-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "0 == tmp" is working
04:39:44.169 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:44.170 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:44.170 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 3
04:39:44.170 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 8
04:39:44.171 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 5
04:39:44.171 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 9
04:39:44.171 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:44.172 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:44.172 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:44.172 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 12
04:39:44.172 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2025ms
04:39:44.173 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:44.173 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:44.173 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 0 == tmp
04:39:44.173 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:44.173 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_3.NopolExample:11: CONDITIONAL
04:39:44.177 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_3/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_3/NopolExample.java
@@ -10,3 +10,3 @@
 		
-		if ( tmp != 0 ){ // Fix : tmp == 0
+		if ( 0 == tmp){ // Fix : tmp == 0
 			return true;

04:39:44.184 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_5]
04:39:44.184 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:44.184 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: PRECONDITION
04:39:44.184 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_5.NopolExampleTest]
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=PRECONDITION, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_5], projectClasspath='[Ljava.net.URL;@701458e5', projectTests=[nopol_examples.nopol_example_5.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 86 MB
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 216 MB
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:44.185 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:45.680 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:45.680 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_5.NopolExample:21 which is executed by 6 tests
-126608641
04:39:45.716 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:45.716 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_5.NopolExample:20 which is executed by 6 tests
-126608641
04:39:45.763 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:45.926 [pool-448-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {a=-2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (test4)
constraint: {a=-5, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (test5)
constraint: {a=2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test1)
constraint: {a=10, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test2)
constraint: {a=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test6)
04:39:45.927 [pool-448-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:45.939 [pool-448-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:45.963 [pool-448-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 < a
04:39:45.963 [pool-448-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION -1 < a
04:39:46.023 [pool-448-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "-1 < a" is working
04:39:46.030 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:46.030 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:46.030 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:46.030 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 9
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 6
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1846ms
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - -1 < a
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION
04:39:46.031 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_5/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_5/NopolExample.java
@@ -19,3 +19,5 @@
 		// FIX : precondition missing : if ( -1<a  )
-		r = -1;				
+		if (-1 < a) {
+			r = -1;
+		}
 		return r*a;		

04:39:46.036 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_6]
04:39:46.036 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:46.036 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:46.036 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_6.NopolExampleTest]
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_6], projectClasspath='[Ljava.net.URL;@bfb4d80', projectTests=[nopol_examples.nopol_example_6.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 112 MB
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 217 MB
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:46.037 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:47.686 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:47.687 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_6.NopolExample:7 which is executed by 6 tests
-126608641
04:39:47.718 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:47.860 [pool-478-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {a=5, b=3, a > b=true}. outcome: false (test2)
constraint: {a=0, b=-3, a > b=true}. outcome: false (test6)
constraint: {a=4, b=0, a > b=true}. outcome: false (test3)
constraint: {a=3, b=5, a > b=false}. outcome: true (test1)
constraint: {a=0, b=4, a > b=false}. outcome: true (test4)
04:39:47.861 [pool-478-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:47.873 [pool-478-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:47.908 [pool-478-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: a < b
04:39:47.908 [pool-478-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_6.NopolExample:7: CONDITIONAL a < b
04:39:47.984 [pool-478-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "a < b" is working
04:39:47.989 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 10
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 7
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1953ms
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - a < b
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_6.NopolExample:7: CONDITIONAL
04:39:47.990 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_6/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_6/NopolExample.java
@@ -6,3 +6,3 @@
 	{
-		if (a > b) { // FIX: if(a < b)
+		if (a < b) { // FIX: if(a < b)
 			return b - a;

04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_7]
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_7.NopolExampleTest]
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_7], projectClasspath='[Ljava.net.URL;@faa06fc', projectTests=[nopol_examples.nopol_example_7.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 157 MB
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 217 MB
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:47.998 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:49.492 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:49.492 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_7.NopolExample:22 which is executed by 4 tests
-126608641
04:39:49.520 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:49.521 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_7.NopolExample:21 which is executed by 30 tests
-126608641
04:39:49.568 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:49.745 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, a=2, intermediaire=0, intermediaire == 0=true}. outcome: false (test1)
constraint: {0=0, a=29, intermediaire=1, intermediaire == 0=false}. outcome: false (test10)
constraint: {0=0, a=31, intermediaire=1, intermediaire == 0=false}. outcome: false (test11)
constraint: {0=0, a=37, intermediaire=1, intermediaire == 0=false}. outcome: false (test12)
constraint: {0=0, a=41, intermediaire=1, intermediaire == 0=false}. outcome: false (test13)
constraint: {0=0, a=43, intermediaire=1, intermediaire == 0=false}. outcome: false (test14)
constraint: {0=0, a=47, intermediaire=1, intermediaire == 0=false}. outcome: false (test15)
constraint: {0=0, a=53, intermediaire=1, intermediaire == 0=false}. outcome: false (test16)
constraint: {0=0, a=59, intermediaire=1, intermediaire == 0=false}. outcome: false (test17)
constraint: {0=0, a=61, intermediaire=1, intermediaire == 0=false}. outcome: false (test18)
constraint: {0=0, a=67, intermediaire=1, intermediaire == 0=false}. outcome: false (test19)
constraint: {0=0, a=71, intermediaire=1, intermediaire == 0=false}. outcome: false (test20)
constraint: {0=0, a=73, intermediaire=1, intermediaire == 0=false}. outcome: false (test21)
constraint: {0=0, a=79, intermediaire=1, intermediaire == 0=false}. outcome: false (test22)
constraint: {0=0, a=83, intermediaire=1, intermediaire == 0=false}. outcome: false (test23)
constraint: {0=0, a=89, intermediaire=1, intermediaire == 0=false}. outcome: false (test24)
constraint: {0=0, a=97, intermediaire=1, intermediaire == 0=false}. outcome: false (test25)
constraint: {0=0, a=4, intermediaire=0, intermediaire == 0=true}. outcome: true (test26)
constraint: {0=0, a=3, intermediaire=1, intermediaire == 0=false}. outcome: false (test2)
constraint: {0=0, a=5, intermediaire=1, intermediaire == 0=false}. outcome: false (test3)
constraint: {0=0, a=7, intermediaire=1, intermediaire == 0=false}. outcome: false (test4)
constraint: {0=0, a=11, intermediaire=1, intermediaire == 0=false}. outcome: false (test5)
constraint: {0=0, a=13, intermediaire=1, intermediaire == 0=false}. outcome: false (test6)
constraint: {0=0, a=17, intermediaire=1, intermediaire == 0=false}. outcome: false (test7)
constraint: {0=0, a=19, intermediaire=1, intermediaire == 0=false}. outcome: false (test8)
constraint: {0=0, a=23, intermediaire=1, intermediaire == 0=false}. outcome: false (test9)
04:39:49.746 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:49.756 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:49.856 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
04:39:50.031 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (intermediaire == 0) && (3 < a)
04:39:50.031 [pool-514-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_7.NopolExample:21: CONDITIONAL (intermediaire == 0) && (3 < a)
04:39:50.102 [pool-514-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "(intermediaire == 0) && (3 < a)" is working
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 11
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 8
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 26
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 3
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [7] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2, ! of arity: 1, || of arity: 2, && of arity: 2]
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 7
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 9
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2141ms
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:50.139 [main] INFO  fr.inria.lille.repair.nopol.NoPol - (intermediaire == 0) && (3 < a)
04:39:50.140 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 30
04:39:50.140 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_7.NopolExample:21: CONDITIONAL
04:39:50.141 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_7/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_7/NopolExample.java
@@ -20,4 +20,4 @@
 		// FIX if ( intermediaire == 0 && a!=2)
-		if ( intermediaire == 0 )
-			return false;
+		if ( (intermediaire == 0) && (3 < a))
+		return false;
 		

04:39:50.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_8]
04:39:50.144 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:50.145 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:50.145 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_8.NopolExampleTest]
04:39:50.145 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_8], projectClasspath='[Ljava.net.URL;@398fbded', projectTests=[nopol_examples.nopol_example_8.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:50.146 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:50.146 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 151 MB
04:39:50.146 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:50.147 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 217 MB
04:39:50.147 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:50.147 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:50.148 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:51.697 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:51.697 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_8.NopolExample:15 which is executed by 5 tests
-126608641
04:39:51.725 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:51.726 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_8.NopolExample:12 which is executed by 10 tests
-126608641
04:39:51.766 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:51.903 [pool-635-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {a=2.0, (a * b)=100.0, 100=100, b=50.0, (a * b) < 100=false}. outcome: true (test_2)
constraint: {a=8451.0, (a * b)=4.1384547E7, 100=100, b=4897.0, (a * b) < 100=false}. outcome: false (test_10)
constraint: {a=5.0, (a * b)=25.0, 100=100, b=5.0, (a * b) < 100=true}. outcome: true (test_1)
constraint: {a=50.0, (a * b)=50.0, 100=100, b=1.0, (a * b) < 100=true}. outcome: true (test_3)
constraint: {a=7.0, (a * b)=56.0, 100=100, b=8.0, (a * b) < 100=true}. outcome: true (test_4)
constraint: {a=9.0, (a * b)=81.0, 100=100, b=9.0, (a * b) < 100=true}. outcome: true (test_5)
constraint: {a=0.0, (a * b)=0.0, 100=100, b=1.0, (a * b) < 100=true}. outcome: true (test_6)
constraint: {a=5.0, (a * b)=250.0, 100=100, b=50.0, (a * b) < 100=false}. outcome: false (test_7)
constraint: {a=50.0, (a * b)=2500.0, 100=100, b=50.0, (a * b) < 100=false}. outcome: false (test_8)
constraint: {a=101.0, (a * b)=101.0, 100=100, b=1.0, (a * b) < 100=false}. outcome: false (test_9)
04:39:51.903 [pool-635-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:51.913 [pool-635-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:51.962 [pool-635-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (a * b) <= 100
04:39:51.962 [pool-635-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_8.NopolExample:12: CONDITIONAL (a * b) <= 100
04:39:52.015 [pool-635-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "(a * b) <= 100" is working
04:39:52.020 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 12
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 9
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 10
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 10
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1876ms
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - (a * b) <= 100
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 10
04:39:52.021 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_8.NopolExample:12: CONDITIONAL
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_8/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_8/NopolExample.java
@@ -11,4 +11,4 @@
 		// if ( a * b <= 100) // FIX
-		if ( a * b < 100)
-			return true;
+		if ( (a * b) <= 100)
+		return true;
 		

04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_2], projectClasspath='[Ljava.net.URL;@27875816', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 64 MB
04:39:52.022 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:52.023 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:39:52.023 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:52.023 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:52.023 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:52.054 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:52.054 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:52.054 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:52.054 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:52.055 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_2], projectClasspath='[Ljava.net.URL;@27875816', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:52.056 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:52.056 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 48 MB
04:39:52.056 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:52.057 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:39:52.057 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:52.057 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:52.057 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:53.601 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:53.601 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_2.NopolExample:11 which is executed by 9 tests
-126608641
04:39:53.632 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:53.804 [pool-679-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, a=-2, b=-4, (b - a)=-2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test6)
constraint: {0=0, a=2, b=4, (b - a)=2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test1)
04:39:53.805 [pool-679-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:53.814 [pool-679-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:53.836 [pool-679-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (b - a) == 2
04:39:53.836 [pool-679-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL (b - a) == 2
04:39:53.903 [pool-679-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "(b - a) == 2" is working
04:39:53.909 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 13
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 10
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 2
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 14
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1855ms
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - (b - a) == 2
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL
04:39:53.910 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_2/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_2/NopolExample.java
@@ -10,3 +10,3 @@
 	public int getMax(int a, int b){
-		if ( (b - a) < 0 ){ // Fix a < b
+		if ( (b - a) == 2){ // Fix a < b
 			return b;

04:39:53.916 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_5]
04:39:53.916 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:53.916 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: PRE_THEN_COND
04:39:53.917 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_5.NopolExampleTest]
04:39:53.917 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=PRE_THEN_COND, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_5], projectClasspath='[Ljava.net.URL;@23f2a5db', projectTests=[nopol_examples.nopol_example_5.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:53.917 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:53.918 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 96 MB
04:39:53.918 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:53.919 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 219 MB
04:39:53.919 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:53.919 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:53.920 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:55.405 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:55.405 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_5.NopolExample:21 which is executed by 6 tests
-126608641
04:39:55.436 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:55.436 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_5.NopolExample:20 which is executed by 6 tests
-126608641
04:39:55.465 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:55.573 [pool-700-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {a=-2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (test4)
constraint: {a=-5, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (test5)
constraint: {a=2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test1)
constraint: {a=10, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test2)
constraint: {a=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test6)
04:39:55.573 [pool-700-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:55.581 [pool-700-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:55.601 [pool-700-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 < a
04:39:55.601 [pool-700-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION -1 < a
04:39:55.689 [pool-700-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "-1 < a" is working
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 14
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 11
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1778ms
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - -1 < a
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:39:55.693 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION
04:39:55.694 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_5/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_5/NopolExample.java
@@ -19,3 +19,5 @@
 		// FIX : precondition missing : if ( -1<a  )
-		r = -1;				
+		if (-1 < a) {
+			r = -1;
+		}
 		return r*a;		

04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_2], projectClasspath='[Ljava.net.URL;@3e1e1ee7', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 131 MB
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 213 MB
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:55.695 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:57.274 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:57.274 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_2.NopolExample:11 which is executed by 9 tests
-126608641
04:39:57.323 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:57.473 [pool-729-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, a=2, b=-8, (b - a)=-10, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test9)
constraint: {0=0, a=4, b=-2, (b - a)=-6, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test4)
constraint: {0=0, a=-2, b=-4, (b - a)=-2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test6)
constraint: {0=0, a=4, b=2, (b - a)=-2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=true}. outcome: false (test2)
constraint: {0=0, a=-4, b=-2, (b - a)=2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test7)
constraint: {0=0, a=-2, b=4, (b - a)=6, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test5)
constraint: {0=0, a=2, b=4, (b - a)=2, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass=12302, (b - a) < 0=false}. outcome: true (test1)
04:39:57.473 [pool-729-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:57.482 [pool-729-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:57.530 [pool-729-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 1 < (b - a)
04:39:57.530 [pool-729-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL 1 < (b - a)
04:39:57.612 [pool-729-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "1 < (b - a)" is working
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 15
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 12
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:57.619 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 14
04:39:57.620 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1924ms
04:39:57.620 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:57.620 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:57.621 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 1 < (b - a)
04:39:57.622 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:57.622 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL
04:39:57.623 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_2/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_2/NopolExample.java
@@ -10,3 +10,3 @@
 	public int getMax(int a, int b){
-		if ( (b - a) < 0 ){ // Fix a < b
+		if ( 1 < (b - a)){ // Fix a < b
 			return b;

04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: COND_THEN_PRE
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=COND_THEN_PRE, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_1], projectClasspath='[Ljava.net.URL;@3794604f', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 53 MB
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:57.631 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:39:59.164 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:59.164 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:16 which is executed by 7 tests
-126608641
04:39:59.197 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:59.271 [pool-780-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:16
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:39:59.271 [pool-780-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:39:59.271 [pool-780-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:39:59.271 [pool-780-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:16.
04:39:59.271 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:59.271 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:15 which is executed by 8 tests
-126608641
04:39:59.322 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:59.408 [pool-786-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:15
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:39:59.408 [pool-786-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:39:59.409 [pool-786-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:39:59.409 [pool-786-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:15.
04:39:59.410 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:59.498 [pool-792-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:15
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:39:59.498 [pool-792-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:39:59.498 [pool-792-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:39:59.498 [pool-792-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:15.
04:39:59.498 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #3
04:39:59.498 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:12 which is executed by 9 tests
-126608641
04:39:59.534 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:59.691 [pool-798-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=-1, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: true (test6)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=-5, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: true (test5)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=3, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test2)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=12, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test4)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=2, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test7)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=1, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test8)
constraint: {0=0, s.length()==0=false, s.length()=13, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=5, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test9)
04:39:59.691 [pool-798-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:59.711 [pool-798-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:39:59.759 [pool-798-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:39:59.759 [pool-798-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL index < 0
04:39:59.819 [pool-798-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "index < 0" is working
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 19
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 13
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2200ms
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:59.831 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:39:59.832 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:59.832 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:39:59.832 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
@@ -11,4 +11,4 @@
 		
-		if ( index == 0 ) // Fix index <= 0
-			return s.charAt(0);
+		if ( index < 0) // Fix index <= 0
+		return s.charAt(0);
 		

04:39:59.835 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_1], projectClasspath='[Ljava.net.URL;@41bf5b46', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 84 MB
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 219 MB
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:59.836 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:40:01.313 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:01.314 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:16 which is executed by 7 tests
-126608641
04:40:01.342 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:01.342 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:15 which is executed by 8 tests
-126608641
04:40:01.370 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:01.441 [pool-840-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:15
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:40:01.442 [pool-840-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:40:01.442 [pool-840-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:40:01.442 [pool-840-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:15.
04:40:01.442 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #3
04:40:01.442 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:12 which is executed by 9 tests
-126608641
04:40:01.485 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:01.599 [pool-846-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=-1, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: true (test6)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=-5, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: true (test5)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=3, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test2)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=12, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test4)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=2, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test7)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=1, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test8)
constraint: {0=0, s.length()==0=false, s.length()=13, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=5, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test9)
04:40:01.599 [pool-846-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:01.608 [pool-846-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:01.651 [pool-846-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 21
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 14
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1817ms
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:40:01.652 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:40:01.653 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
@@ -11,4 +11,4 @@
 		
-		if ( index == 0 ) // Fix index <= 0
-			return s.charAt(0);
+		if ( index < 0) // Fix index <= 0
+		return s.charAt(0);
 		

04:40:01.657 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
04:40:01.657 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:40:01.657 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: PRE_THEN_COND
04:40:01.657 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
04:40:01.657 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=PRE_THEN_COND, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_1], projectClasspath='[Ljava.net.URL;@597f4d49', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 89 MB
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 219 MB
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:40:01.658 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:40:03.103 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:03.103 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:16 which is executed by 7 tests
-126608641
04:40:03.140 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:40:03.213 [pool-879-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:16
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:40:03.214 [pool-879-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:40:03.214 [pool-879-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:40:03.214 [pool-879-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:16.
04:40:03.214 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:03.214 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:15 which is executed by 8 tests
-126608641
04:40:03.243 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:40:03.327 [pool-885-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:15
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:40:03.328 [pool-885-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:40:03.328 [pool-885-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:40:03.328 [pool-885-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:15.
04:40:03.328 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:03.415 [pool-891-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:15
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:40:03.415 [pool-891-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>, test5(nopol_examples.nopol_example_1.NopolExampleTest): expected:<a> but was:<d>]
04:40:03.415 [pool-891-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:40:03.415 [pool-891-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:15.
04:40:03.415 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #3
04:40:03.416 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_1.NopolExample:12 which is executed by 9 tests
-126608641
04:40:03.444 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:40:03.526 [pool-897-thread-1] DEBUG f.i.l.r.n.s.ConstraintModelBuilder - Failing test(s): SourceLocation nopol_examples.nopol_example_1.NopolExample:12
[test6(nopol_examples.nopol_example_1.NopolExampleTest), test5(nopol_examples.nopol_example_1.NopolExampleTest)]
04:40:03.527 [pool-897-thread-1] DEBUG tests.output - First set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:40:03.527 [pool-897-thread-1] DEBUG tests.output - Second set: 
[test6(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -1, test5(nopol_examples.nopol_example_1.NopolExampleTest): String index out of range: -5]
04:40:03.527 [pool-897-thread-1] INFO  f.i.l.r.n.synth.SMTNopolSynthesizer - Not enough specifications: 0. A trivial patch is "true" or "false", please write new tests specifying SourceLocation nopol_examples.nopol_example_1.NopolExample:12.
04:40:03.527 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:03.709 [pool-903-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=-1, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: true (test6)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=-5, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: true (test5)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=3, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test2)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=12, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test4)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=2, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test7)
constraint: {0=0, s.length()==0=false, s.length()=4, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=1, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test8)
constraint: {0=0, s.length()==0=false, s.length()=13, nopol_examples.nopol_example_1.NopolExample.this.index=30, nopol_examples.nopol_example_1.NopolExample.s.length()=42, index=5, index == 0=false, nopol_examples.nopol_example_1.NopolExample.s!=null=true, nopol_examples.nopol_example_1.NopolExample.s.length()==0=false, s!=null=true}. outcome: false (test9)
04:40:03.709 [pool-903-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:03.719 [pool-903-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:03.765 [pool-903-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:40:03.765 [pool-903-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL index < 0
04:40:03.832 [pool-903-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "index < 0" is working
04:40:03.837 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 26
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 15
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2180ms
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:40:03.838 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_1/NopolExample.java
@@ -11,4 +11,4 @@
 		
-		if ( index == 0 ) // Fix index <= 0
-			return s.charAt(0);
+		if ( index < 0) // Fix index <= 0
+		return s.charAt(0);
 		

04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_5]
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: COND_THEN_PRE
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_5.NopolExampleTest]
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=COND_THEN_PRE, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_5], projectClasspath='[Ljava.net.URL;@6d8c7b67', projectTests=[nopol_examples.nopol_example_5.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 78 MB
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 216 MB
04:40:03.844 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:40:03.845 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:40:03.845 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:40:05.347 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:05.347 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_5.NopolExample:21 which is executed by 6 tests
-126608641
04:40:05.382 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:05.382 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation nopol_examples.nopol_example_5.NopolExample:20 which is executed by 6 tests
-126608641
04:40:05.411 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:40:05.566 [pool-945-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {a=-2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (test4)
constraint: {a=-5, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (test5)
constraint: {a=2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test1)
constraint: {a=10, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test2)
constraint: {a=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (test6)
04:40:05.567 [pool-945-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:05.577 [pool-945-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:05.602 [pool-945-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 < a
04:40:05.602 [pool-945-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION -1 < a
04:40:05.657 [pool-945-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "-1 < a" is working
04:40:05.660 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 27
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 16
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:40:05.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:40:05.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:40:05.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:40:05.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1816ms
04:40:05.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:40:05.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:40:05.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol - -1 < a
04:40:05.663 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:40:05.663 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION
04:40:05.664 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_5/NopolExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/nopol_examples/nopol_example_5/NopolExample.java
@@ -19,3 +19,5 @@
 		// FIX : precondition missing : if ( -1<a  )
-		r = -1;				
+		if (-1 < a) {
+			r = -1;
+		}
 		return r*a;		

Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 27.536 sec
Running fr.inria.lille.commons.smt.SMTLibTest
Tests run: 32, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.276 sec
Running fr.inria.lille.commons.smt.SMTLibEqualVisitorTest
04:40:05.960 [main] WARN  f.i.l.c.s.smt.SMTLibEqualVisitor - Empty implementation of fr.inria.lille.commons.synthesis.smt.SMTLibEqualVisitor.visit(IApplication)
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running fr.inria.lille.commons.smt.ComparisonTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running fr.inria.lille.commons.trace.ValuesCollectorTest
Collected variables [aBoolean, reachableVariable]
Expected variables [aBoolean, reachableVariable]
Getters: {}
Collected variables [index, word, infinitel_examples.infinitel_example_5.InfinitelExample.this.consumer]
Expected variables [word, index, infinitel_examples.infinitel_example_5.InfinitelExample.this.consumer]
Getters: {infinitel_examples.infinitel_example_5.InfinitelExample.this.consumer=[getConsumed, getSize]}
Collected variables [nested.privateInstanceField, spoon.example.ClassToSpoon.privateStaticField, spoon.example.ClassToSpoon.this.protectedInstanceField, spoon.example.ClassToSpoon.this.publicInstanceField, spoon.example.ClassToSpoon.protectedStaticField, spoon.example.ClassToSpoon.NestedClassToSpoon.this.privateNestedInstanceField, comparable.privateNestedInstanceField, comparable.publicNestedInstanceField, nested, nested.protectedInstanceField, nested.publicInstanceField, comparable.protectedNestedInstanceField, spoon.example.ClassToSpoon.publicStaticField, spoon.example.ClassToSpoon.NestedClassToSpoon.this.protectedNestedInstanceField, spoon.example.ClassToSpoon.this.privateInstanceField, comparable, spoon.example.ClassToSpoon.NestedClassToSpoon.this.publicNestedInstanceField]
Expected variables [comparable, nested, comparable.privateNestedInstanceField, comparable.publicNestedInstanceField, comparable.protectedNestedInstanceField, spoon.example.ClassToSpoon.protectedStaticField, spoon.example.ClassToSpoon.privateStaticField, spoon.example.ClassToSpoon.publicStaticField, nested.publicInstanceField, nested.protectedInstanceField, nested.privateInstanceField, spoon.example.ClassToSpoon.NestedClassToSpoon.this.protectedNestedInstanceField, spoon.example.ClassToSpoon.NestedClassToSpoon.this.publicNestedInstanceField, spoon.example.ClassToSpoon.NestedClassToSpoon.this.privateNestedInstanceField, spoon.example.ClassToSpoon.this.publicInstanceField, spoon.example.ClassToSpoon.this.privateInstanceField, spoon.example.ClassToSpoon.this.protectedInstanceField]
Getters: {}
Collected variables [nopol_examples.nopol_example_2.NopolExample.1.this.limit]
Expected variables [nopol_examples.nopol_example_2.NopolExample.1.this.limit]
Getters: {}
04:40:06.352 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {a=-5, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (<unknown>)
constraint: {a=2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (<unknown>)
constraint: {a=10, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (<unknown>)
constraint: {a=-2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (<unknown>)
constraint: {a=-2, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: false (<unknown>)
constraint: {a=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (<unknown>)
constraint: {a=0, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false, r=1}. outcome: true (<unknown>)
04:40:06.352 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:06.361 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:06.379 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
04:40:06.504 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:06.761 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
04:40:30.650 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Failed code synthesis, returning NullCodeGenesis
04:40:30.713 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {result=false, a=-5, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: false (<unknown>)
constraint: {result=true, a=2, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: true (<unknown>)
constraint: {result=true, a=10, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: true (<unknown>)
constraint: {result=false, a=-2, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: false (<unknown>)
constraint: {result=false, a=-2, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: false (<unknown>)
constraint: {result=true, a=1, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: true (<unknown>)
constraint: {result=true, a=0, r=1, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass!=null=false}. outcome: true (<unknown>)
04:40:30.714 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:30.723 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:30.754 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 <= a
Collected variables [a, b]
Expected variables [a, b]
Getters: {}
Collected variables [11, (!(a < b)), 0, a, (a * b), b, -b, ((a * b) < 11), (a < b)]
Expected variables [0, 11, a, b, -b, (a * b), (a < b), (!(a < b)), ((a * b) < 11)]
Getters: {}
Collected variables [spoon.example.ClassToSpoon.privateStaticField, nested2.protectedInstanceField, spoon.example.ClassToSpoon.this.protectedInstanceField, spoon.example.ClassToSpoon.this.publicInstanceField, spoon.example.ClassToSpoon.protectedStaticField, comparable.privateNestedInstanceField, nested2, comparable.publicNestedInstanceField, nested2.privateInstanceField, nested2.publicInstanceField, comparable.protectedNestedInstanceField, spoon.example.ClassToSpoon.publicStaticField, spoon.example.ClassToSpoon.this.privateInstanceField, comparable]
Expected variables [comparable, nested2, comparable.privateNestedInstanceField, comparable.publicNestedInstanceField, comparable.protectedNestedInstanceField, spoon.example.ClassToSpoon.protectedStaticField, spoon.example.ClassToSpoon.privateStaticField, spoon.example.ClassToSpoon.publicStaticField, nested2.privateInstanceField, nested2.publicInstanceField, nested2.protectedInstanceField, spoon.example.ClassToSpoon.this.publicInstanceField, spoon.example.ClassToSpoon.this.privateInstanceField, spoon.example.ClassToSpoon.this.protectedInstanceField]
Getters: {}
Collected variables [aBoolean, nopol_examples.nopol_example_2.NopolExample.InnerNopolExample.this.fieldOfInnerClass, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass]
Expected variables [aBoolean, nopol_examples.nopol_example_2.NopolExample.InnerNopolExample.this.fieldOfInnerClass, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass]
Getters: {}
Collected variables [index, nopol_examples.nopol_example_1.NopolExample.s, s, nopol_examples.nopol_example_1.NopolExample.this.index]
Expected variables [s, index, nopol_examples.nopol_example_1.NopolExample.this.index, nopol_examples.nopol_example_1.NopolExample.s]
Getters: {}
Collected variables [a, b, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass]
Expected variables [b, a, nopol_examples.nopol_example_2.NopolExample.this.fieldOfOuterClass]
Getters: {}
Collected variables [a, tmp]
Expected variables [a, tmp]
Getters: {}
Collected variables [a, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass, r]
Expected variables [r, a, nopol_examples.nopol_example_5.NopolExample.this.unreachableFromInnterStaticClass]
Getters: {}
Collected variables [a, b]
Expected variables [a, b]
Getters: {}
Collected variables [stringParameter]
Expected variables [stringParameter]
Getters: {}
Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 25.496 sec
Running fr.inria.lille.commons.synthesis.CodeSynthesisTest
04:40:31.473 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {}. outcome: 0 (<unknown>)
constraint: {}. outcome: 0 (<unknown>)
04:40:31.473 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:31.482 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 0
04:40:31.489 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {0=0, cond=true, size=4}. outcome: false (<unknown>)
constraint: {0=0, cond=false, size=7}. outcome: true (<unknown>)
04:40:31.489 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:31.505 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
?: of arity: 3
04:40:31.525 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 0 == ((cond)?(size):(0))
04:40:31.529 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {iterations=15, array.length=10}. outcome: 10 (<unknown>)
constraint: {iterations=7, array.length=10}. outcome: 10 (<unknown>)
04:40:31.529 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:31.537 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: array.length
04:40:31.541 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {value=97, letter=a}. outcome: true (<unknown>)
constraint: {value=98, letter=b}. outcome: true (<unknown>)
constraint: {value=122, letter=c}. outcome: false (<unknown>)
constraint: {value=120, letter=d}. outcome: false (<unknown>)
04:40:31.541 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:31.556 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: value == letter
04:40:31.560 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {p=3, q=3, n=6}. outcome: true (<unknown>)
constraint: {p=13, q=5, n=18}. outcome: true (<unknown>)
constraint: {p=2, q=5, n=6}. outcome: false (<unknown>)
constraint: {p=13, q=5, n=12}. outcome: false (<unknown>)
04:40:31.560 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:31.580 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
+ of arity: 2
- of arity: 2
04:40:31.650 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: q + p <= n
04:40:31.658 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {iterations=10, array.length=10}. outcome: 20 (<unknown>)
constraint: {iterations=5, array.length=15}. outcome: 20 (<unknown>)
04:40:31.658 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
+ of arity: 2
- of arity: 2
04:40:31.671 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: array.length + iterations
04:40:31.675 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {iterations=15, array.length=4}. outcome: false (<unknown>)
constraint: {iterations=5, array.length=16}. outcome: true (<unknown>)
constraint: {iterations=16, array.length=16}. outcome: true (<unknown>)
04:40:31.675 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:31.691 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: iterations <= array.length
04:40:31.695 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {isEmpty=true, iterations=11, array.length=12}. outcome: 10 (<unknown>)
constraint: {isEmpty=false, iterations=15, array.length=11}. outcome: 10 (<unknown>)
04:40:31.695 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
?: of arity: 3
04:40:31.705 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
?: of arity: 3
+ of arity: 2
- of arity: 2
04:40:31.742 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (((isEmpty)?(iterations):(array.length))) - (1)
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.292 sec
Running fr.inria.lille.commons.synthesis.smt.constraint.ConstraintTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running fr.inria.lille.commons.synthesis.LocationVariableContainerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running fr.inria.lille.commons.synthesis.LocationVariableTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running fr.inria.lille.commons.synthesis.OperatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running fr.inria.lille.evo.TestPatchEvo
04:40:31.795 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:31.795 [main] DEBUG fr.inria.lille.evo.Main -  ##### launch nopol without new tests ##### 
04:40:31.795 [main] DEBUG fr.inria.lille.evo.Main - Launch nopol with:
04:40:31.795 [main] DEBUG fr.inria.lille.evo.Main - sources = ../test-projects/src/main/java:../test-projects/src/test/java:src/test/resources/evo/destSrcTest
04:40:31.795 [main] DEBUG fr.inria.lille.evo.Main - classpath = ../test-projects/target/classes:../test-projects/target/test-classes:src/test/resources/evo/destCpTest:lib/junit-4.11.jar
04:40:31.796 [main] DEBUG fr.inria.lille.evo.Main - testClasses = [Ljava.lang.String;@380c4395
04:40:31.796 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java, ../test-projects/src/test/java, src/test/resources/evo/destSrcTest]
04:40:31.796 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/src/test/resources/evo/destCpTest/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:40:31.796 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:40:31.796 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [evo_examples.evo_example_1.EvoExampleTest]
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java, ../test-projects/src/test/java, src/test/resources/evo/destSrcTest], projectClasspath='[Ljava.net.URL;@7d3e99c9', projectTests=[evo_examples.evo_example_1.EvoExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 81 MB
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:40:31.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:40:33.547 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:33.547 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation evo_examples.evo_example_1.EvoExample:10 which is executed by 3 tests
1314309581
04:40:33.577 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:33.577 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation evo_examples.evo_example_1.EvoExample:9 which is executed by 5 tests
1314309581
04:40:33.603 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:33.720 [pool-974-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {number=1, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_3)
constraint: {number=6, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_1)
constraint: {number=9, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_2)
constraint: {number=-3, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: true (test_evo_example_4)
04:40:33.721 [pool-974-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:33.730 [pool-974-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:33.751 [pool-974-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: number < -1
04:40:33.751 [pool-974-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:40:33.801 [pool-974-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "number < -1" is working
04:40:33.805 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 60
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 285
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 28
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 17
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 4
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2009ms
04:40:33.810 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:40:33.811 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:40:33.812 [main] INFO  fr.inria.lille.repair.nopol.NoPol - number < -1
04:40:33.812 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 5
04:40:33.812 [main] INFO  fr.inria.lille.repair.nopol.NoPol - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL
04:40:33.813 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/evo_examples/evo_example_1/EvoExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/evo_examples/evo_example_1/EvoExample.java
@@ -8,3 +8,3 @@
 		
-		if(number <= 1){
+		if(number < -1){
 			return 0;

04:40:33.814 [main] DEBUG fr.inria.lille.evo.Main - ### ----- PATCH FOUND -----
04:40:33.814 [main] DEBUG fr.inria.lille.evo.Main - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:40:33.814 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:33.815 [main] DEBUG fr.inria.lille.evo.Main -  ##### Search tests files path ##### 
04:40:33.951 [main] DEBUG fr.inria.lille.evo.Main - [FOUND] evo_examples.evo_example_1.EvoExampleGeneratedTest
04:40:33.951 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:33.951 [main] DEBUG fr.inria.lille.evo.Main -  ##### Search tests methods ##### 
04:40:34.068 [main] DEBUG fr.inria.lille.evo.Main - [FOUND] test_evo_example_generated_1()
04:40:34.068 [main] DEBUG fr.inria.lille.evo.Main - [FOUND] test_evo_example_generated_0()
04:40:34.068 [main] DEBUG fr.inria.lille.evo.Main - ###########################################
04:40:34.068 [main] DEBUG fr.inria.lille.evo.Main - ######## start to try each methods ########
04:40:34.069 [main] DEBUG fr.inria.lille.evo.Main - ###########################################
04:40:34.069 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:34.069 [main] DEBUG fr.inria.lille.evo.Main - # TEST METHOD : test_evo_example_generated_1()
04:40:34.069 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:34.069 [main] DEBUG fr.inria.lille.evo.Main - ### Remove EvoSuite &  Recompile Tests 
04:40:34.211 [main] DEBUG fr.inria.lille.evo.Main - ### Launch Nopol
04:40:34.211 [main] DEBUG fr.inria.lille.evo.Main - Launch nopol with:
04:40:34.212 [main] DEBUG fr.inria.lille.evo.Main - sources = ../test-projects/src/main/java:../test-projects/src/test/java:src/test/resources/evo/destSrcTest
04:40:34.212 [main] DEBUG fr.inria.lille.evo.Main - classpath = ../test-projects/target/classes:../test-projects/target/test-classes:src/test/resources/evo/destCpTest:lib/junit-4.11.jar
04:40:34.212 [main] DEBUG fr.inria.lille.evo.Main - testClasses = [Ljava.lang.String;@a6e4c15
04:40:34.212 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java, ../test-projects/src/test/java, src/test/resources/evo/destSrcTest]
04:40:34.212 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/src/test/resources/evo/destCpTest/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:40:34.212 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:40:34.212 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest]
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java, ../test-projects/src/test/java, src/test/resources/evo/destSrcTest], projectClasspath='[Ljava.net.URL;@5e56ba1b', projectTests=[evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest], complianceLevel=7, outputFolder=./, json=false}
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 93 MB
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 217 MB
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:40:34.213 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:40:35.979 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:35.979 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation evo_examples.evo_example_1.EvoExample:10 which is executed by 4 tests
1314309581
04:40:36.021 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:36.021 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation evo_examples.evo_example_1.EvoExample:9 which is executed by 6 tests
1314309581
04:40:36.049 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:36.204 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {number=1, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_3)
constraint: {number=1, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: true (test_evo_example_generated_1)
constraint: {number=6, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_1)
constraint: {number=9, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_2)
constraint: {number=-3, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: true (test_evo_example_4)
04:40:36.204 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:36.213 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:36.240 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
04:40:36.338 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:36.890 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
! of arity: 1
|| of arity: 2
&& of arity: 2
04:41:08.063 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Failed code synthesis, returning NullCodeGenesis
04:41:08.063 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:41:08.070 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 61
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 286
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 29
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 18
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 4
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 5
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [14] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2, ! of arity: 1, || of arity: 2, && of arity: 2, == of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2, ! of arity: 1, || of arity: 2, && of arity: 2]
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 14
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 33851ms
04:41:08.071 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:41:08.071 [main] DEBUG fr.inria.lille.evo.Main - ### ----- NO PATCH FOUND -----
04:41:08.071 [main] DEBUG fr.inria.lille.evo.Main - ### METHOD REMOVED : test_evo_example_generated_1()
04:41:08.071 [main] DEBUG fr.inria.lille.evo.Main - basic <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:41:08.072 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_1 <===> null
04:41:08.072 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:41:08.072 [main] DEBUG fr.inria.lille.evo.Main - # TEST METHOD : test_evo_example_generated_0()
04:41:08.072 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:41:08.072 [main] DEBUG fr.inria.lille.evo.Main - ### Remove EvoSuite &  Recompile Tests 
04:41:08.131 [main] DEBUG fr.inria.lille.evo.Main - ### Launch Nopol
04:41:08.132 [main] DEBUG fr.inria.lille.evo.Main - Launch nopol with:
04:41:08.132 [main] DEBUG fr.inria.lille.evo.Main - sources = ../test-projects/src/main/java:../test-projects/src/test/java:src/test/resources/evo/destSrcTest
04:41:08.132 [main] DEBUG fr.inria.lille.evo.Main - classpath = ../test-projects/target/classes:../test-projects/target/test-classes:src/test/resources/evo/destCpTest:lib/junit-4.11.jar
04:41:08.132 [main] DEBUG fr.inria.lille.evo.Main - testClasses = [Ljava.lang.String;@a6e4c15
04:41:08.132 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java, ../test-projects/src/test/java, src/test/resources/evo/destSrcTest]
04:41:08.132 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/src/test/resources/evo/destCpTest/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
04:41:08.132 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:41:08.132 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest]
04:41:08.132 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=CONDITIONAL, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java, ../test-projects/src/test/java, src/test/resources/evo/destSrcTest], projectClasspath='[Ljava.net.URL;@446905a7', projectTests=[evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest], complianceLevel=7, outputFolder=./, json=false}
04:41:08.132 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:41:08.133 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 75 MB
04:41:08.133 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:41:08.133 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 215 MB
04:41:08.133 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:41:08.133 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:41:08.133 [main] INFO  fr.inria.lille.repair.nopol.NoPol - PATH: /builds/tools/hudson.model.JDK/JDK_8.0.151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
04:41:09.795 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:41:09.796 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation evo_examples.evo_example_1.EvoExample:10 which is executed by 3 tests
1314309581
04:41:09.825 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:41:09.826 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - Analysing SourceLocation evo_examples.evo_example_1.EvoExample:9 which is executed by 6 tests
1314309581
04:41:09.853 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:41:10.012 [pool-1018-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {number=1, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_3)
constraint: {number=6, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=10}. outcome: false (test_evo_example_generated_0)
constraint: {number=6, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_1)
constraint: {number=9, number <= 1=false, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: false (test_evo_example_2)
constraint: {number=-3, number <= 1=true, 1=1, evo_examples.evo_example_1.EvoExample.this.value=1}. outcome: true (test_evo_example_4)
04:41:10.012 [pool-1018-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:41:10.021 [pool-1018-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:41:10.043 [pool-1018-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: number < 1
04:41:10.043 [pool-1018-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Applying patch: evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1
04:41:10.094 [pool-1018-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "number < 1" is working
04:41:10.104 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:41:10.108 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 61
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 286
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 30
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 19
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT components: [4] [== of arity: 2, != of arity: 2, < of arity: 2, <= of arity: 2]
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1972ms
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - number < 1
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL
04:41:10.109 [main] INFO  fr.inria.lille.repair.nopol.NoPol - --- a/builds/workspace/nopol/test-projects/src/main/java/evo_examples/evo_example_1/EvoExample.java
+++ b/builds/workspace/nopol/test-projects/src/main/java/evo_examples/evo_example_1/EvoExample.java
@@ -8,3 +8,3 @@
 		
-		if(number <= 1){
+		if(number < 1){
 			return 0;

04:41:10.109 [main] DEBUG fr.inria.lille.evo.Main - ### ----- PATCH FOUND -----
04:41:10.109 [main] DEBUG fr.inria.lille.evo.Main - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1
04:41:10.109 [main] DEBUG fr.inria.lille.evo.Main - ### METHOD KEPT : test_evo_example_generated_0()
04:41:10.109 [main] DEBUG fr.inria.lille.evo.Main - basic <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:41:10.110 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_1 <===> null
04:41:10.110 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_0 <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1
04:41:10.110 [main] DEBUG fr.inria.lille.evo.Main - ### End of program. Recompile keeping all good tests
04:41:10.180 [main] DEBUG fr.inria.lille.evo.Main - basic <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:41:10.180 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_1 <===> null
04:41:10.181 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_0 <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1
[evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1] basic
[] test_evo_example_generated_1
[evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1] test_evo_example_generated_0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.435 sec
Running fr.inria.lille.diff.PatchGeneratorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.479 sec

Results :

Tests run: 364, Failures: 0, Errors: 0, Skipped: 11

[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ nopol ---
[INFO] Analyzed bundle 'Nopol' with 330 classes
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ nopol ---
[INFO] Building jar: /builds/workspace/nopol/nopol/target/nopol-0.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-assembly-plugin:2.4:single (create-my-bundle) @ nopol ---
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.resources: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.expressions: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.runtime: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.osgi: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.common: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.jobs: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.registry: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.preferences: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.contenttype: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.equinox.app: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.filesystem: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.text: checking for updates from maven.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from inria
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from sachaproject.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from spoon.gforge.inria.fr-release
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from tdurieux.github.io/maven-repository/snapshots/
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from central
[INFO] artifact org.eclipse.platform:org.eclipse.core.commands: checking for updates from maven.inria.fr-snapshot
Downloading: http://maven-repo.gforge.inria.fr/releases/com/sanityinc/jargs/2.0-SNAPSHOT/jargs-2.0-20130121.212743-2.pom

Downloading: http://sachaproject.gforge.inria.fr/repositories/releases/com/sanityinc/jargs/2.0-SNAPSHOT/jargs-2.0-20130121.212743-2.pom

Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/com/sanityinc/jargs/2.0-SNAPSHOT/jargs-2.0-20130121.212743-2.pom

Downloading: http://spoon.gforge.inria.fr/repositories/releases/com/sanityinc/jargs/2.0-SNAPSHOT/jargs-2.0-20130121.212743-2.pom

Downloading: https://tdurieux.github.io/maven-repository/snapshots/com/sanityinc/jargs/2.0-SNAPSHOT/jargs-2.0-20130121.212743-2.pom

Adding org.apache.maven.shared.invoker.Invokerdefault
[INFO] Building jar: /builds/workspace/nopol/nopol/target/nopol-0.2-SNAPSHOT-jar-with-dependencies.jar
Component: org.apache.maven.shared.invoker.Invokerdefault is already defined. Skipping.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:14 min
[INFO] Finished at: 2018-09-03T10:41:24+02:00
[INFO] Final Memory: 39M/216M
[INFO] ------------------------------------------------------------------------
Recording test results
Finished: SUCCESS