Skip to content

Console Output

Skipping 181 KB.. Full Log
04:39:35.107 [pool-298-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:35.123 [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:35.186 [pool-298-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:39:35.187 [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:35.255 [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:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 6
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 3
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:35.262 [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:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2063ms
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:35.262 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:39:35.263 [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:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:35.268 [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:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:35.268 [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;@594dc1d4', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 115 MB
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 220 MB
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:35.268 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:35.268 [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:36.795 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:36.795 [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:36.826 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:37.014 [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:37.015 [pool-340-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:37.029 [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:37.087 [pool-340-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 1 < (b - a)
04:39:37.087 [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:37.185 [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:37.192 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 7
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 4
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:37.193 [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:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 14
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1924ms
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 1 < (b - a)
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:37.193 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL
04:39:37.195 [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:37.200 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_3]
04:39:37.200 [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:37.200 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:37.200 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_3.NopolExampleTest]
04:39:37.200 [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;@1ebb10fb', projectTests=[nopol_examples.nopol_example_3.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:37.200 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:37.201 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 143 MB
04:39:37.201 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:37.201 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 220 MB
04:39:37.202 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:37.202 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:37.202 [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:38.716 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:38.716 [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:38.763 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:38.953 [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:38.954 [pool-391-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:38.965 [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:39.010 [pool-391-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 0 == tmp
04:39:39.010 [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:39.081 [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:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 3
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 8
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 5
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 9
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:39.091 [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:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 12
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1891ms
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 0 == tmp
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:39.091 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_3.NopolExample:11: CONDITIONAL
04:39:39.092 [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:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_5]
04:39:39.100 [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:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: PRECONDITION
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_5.NopolExampleTest]
04:39:39.100 [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;@76d371c5', projectTests=[nopol_examples.nopol_example_5.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 56 MB
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:39.100 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:39.100 [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:40.645 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:40.645 [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:40.678 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:40.678 [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:40.727 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:40.852 [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:40.852 [pool-448-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:40.861 [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:40.886 [pool-448-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 < a
04:39:40.886 [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:40.942 [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:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 9
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 6
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:40.952 [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.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1852ms
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - -1 < a
04:39:40.952 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:39:40.953 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION
04:39:40.953 [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:40.957 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_6]
04:39:40.957 [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.957 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:40.957 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_6.NopolExampleTest]
04:39:40.957 [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;@784231a6', projectTests=[nopol_examples.nopol_example_6.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:40.958 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:40.958 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 88 MB
04:39:40.958 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:40.958 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 218 MB
04:39:40.958 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:40.958 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:40.958 [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:42.422 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:42.422 [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:42.453 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:42.593 [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:42.593 [pool-478-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:42.602 [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:42.640 [pool-478-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: a < b
04:39:42.640 [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:42.695 [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:42.700 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 10
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 7
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:42.701 [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.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1743ms
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - a < b
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:39:42.701 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_6.NopolExample:7: CONDITIONAL
04:39:42.701 [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:42.717 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_7]
04:39:42.717 [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.717 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:42.717 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_7.NopolExampleTest]
04:39:42.717 [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;@745f5a40', projectTests=[nopol_examples.nopol_example_7.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:42.717 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:42.717 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 133 MB
04:39:42.718 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:42.718 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 221 MB
04:39:42.718 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:42.718 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:42.718 [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:44.187 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:44.187 [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:44.234 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:44.234 [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:44.265 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:44.415 [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:44.415 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:44.427 [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:44.521 [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:44.697 [pool-514-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (intermediaire == 0) && (3 < a)
04:39:44.698 [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:44.764 [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:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 11
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 8
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 26
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 3
04:39:44.797 [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:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 7
04:39:44.797 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 9
04:39:44.798 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2080ms
04:39:44.798 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:44.798 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:44.798 [main] INFO  fr.inria.lille.repair.nopol.NoPol - (intermediaire == 0) && (3 < a)
04:39:44.798 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 30
04:39:44.798 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_7.NopolExample:21: CONDITIONAL
04:39:44.799 [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:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_8]
04:39:44.803 [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.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_8.NopolExampleTest]
04:39:44.803 [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;@39b62011', projectTests=[nopol_examples.nopol_example_8.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 135 MB
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 221 MB
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:44.803 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:44.803 [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:46.309 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:46.309 [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:46.364 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:46.364 [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:46.391 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:46.523 [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:46.524 [pool-635-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:46.537 [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:46.586 [pool-635-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (a * b) <= 100
04:39:46.587 [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:46.670 [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:46.675 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:46.675 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 12
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 9
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 10
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:46.676 [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.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 10
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1872ms
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - (a * b) <= 100
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 10
04:39:46.676 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_8.NopolExample:12: CONDITIONAL
04:39:46.676 [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:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:46.677 [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.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:46.677 [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;@33724fb8', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 159 MB
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 221 MB
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:46.677 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:46.677 [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:46.709 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:46.709 [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.709 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:46.709 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:46.709 [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;@33724fb8', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:46.709 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:46.709 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 143 MB
04:39:46.710 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:46.710 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 221 MB
04:39:46.710 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:46.710 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:46.710 [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:48.163 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:48.163 [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:48.210 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:48.349 [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:48.349 [pool-679-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:48.357 [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:48.382 [pool-679-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: (b - a) == 2
04:39:48.382 [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:48.462 [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:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 13
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 10
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 2
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:48.477 [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:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 14
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1768ms
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - (b - a) == 2
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:48.477 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL
04:39:48.478 [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:48.483 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_5]
04:39:48.483 [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:48.483 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: PRE_THEN_COND
04:39:48.483 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_5.NopolExampleTest]
04:39:48.483 [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;@11cec1c7', projectTests=[nopol_examples.nopol_example_5.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:48.483 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:48.483 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 61 MB
04:39:48.484 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:48.484 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 213 MB
04:39:48.484 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:48.484 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:48.484 [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:50.058 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:50.058 [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:50.089 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:50.089 [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:50.118 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:50.274 [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:50.274 [pool-700-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:50.283 [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:50.312 [pool-700-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 < a
04:39:50.312 [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:50.378 [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:50.382 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 14
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 11
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:50.383 [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:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1899ms
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - -1 < a
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:39:50.383 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION
04:39:50.384 [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:50.384 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_2]
04:39:50.384 [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.384 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:50.384 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_2.NopolExampleTest]
04:39:50.384 [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;@6df2006', projectTests=[nopol_examples.nopol_example_2.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:50.385 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:50.385 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 99 MB
04:39:50.385 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:50.385 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 219 MB
04:39:50.385 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:50.385 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:50.385 [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.900 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:51.900 [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:51.939 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:52.105 [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:52.106 [pool-729-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:52.125 [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:52.173 [pool-729-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 1 < (b - a)
04:39:52.173 [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:52.287 [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:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 2
04:39:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 15
04:39:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 12
04:39:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:52.296 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:52.296 [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.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 14
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1912ms
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 1 < (b - a)
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:52.297 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_2.NopolExample:11: CONDITIONAL
04:39:52.297 [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:52.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
04:39:52.303 [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.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: COND_THEN_PRE
04:39:52.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
04:39:52.303 [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;@779c6b99', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:52.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:52.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 128 MB
04:39:52.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:52.303 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 212 MB
04:39:52.304 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:52.304 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:52.304 [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.783 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:53.783 [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:53.835 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:53.911 [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:53.911 [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:53.911 [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:53.912 [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:53.912 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:53.912 [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:53.942 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:54.014 [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:54.015 [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:54.015 [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:54.015 [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:54.015 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:54.137 [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:54.138 [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:54.138 [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:54.138 [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:54.138 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #3
04:39:54.138 [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:54.169 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:54.317 [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:54.318 [pool-798-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:54.351 [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:54.395 [pool-798-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:39:54.396 [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:54.449 [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:54.458 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 19
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 13
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:54.459 [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:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2155ms
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:54.459 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:39:54.460 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:54.460 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:39:54.462 [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:54.466 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
04:39:54.466 [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:54.466 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:39:54.466 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
04:39:54.466 [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;@1c8df230', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:54.467 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:54.467 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 36 MB
04:39:54.467 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:54.467 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 216 MB
04:39:54.468 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:54.468 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:54.468 [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.967 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:55.967 [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:55.996 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:55.996 [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:56.033 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:56.151 [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:39:56.152 [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:39:56.152 [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:39:56.152 [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:39:56.152 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #3
04:39:56.152 [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:56.184 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:56.337 [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:39:56.337 [pool-846-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:56.349 [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:39:56.398 [pool-846-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:39:56.398 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 21
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 14
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:56.399 [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:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1932ms
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:56.399 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:39:56.399 [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:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
04:39:56.411 [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:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: PRE_THEN_COND
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
04:39:56.411 [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;@6ac44b54', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 41 MB
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 214 MB
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:56.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:56.411 [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.880 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:39:57.880 [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:57.909 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:58.020 [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:39:58.020 [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:39:58.020 [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:39:58.020 [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:39:58.020 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:39:58.020 [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:58.051 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:58.122 [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:39:58.122 [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:39:58.122 [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:39:58.122 [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:39:58.122 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:58.213 [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:39:58.213 [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:39:58.214 [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:39:58.214 [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:39:58.214 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #3
04:39:58.214 [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:58.243 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:39:58.335 [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:39:58.335 [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:39:58.335 [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:39:58.335 [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:39:58.335 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:39:58.461 [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:39:58.461 [pool-903-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:39:58.471 [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:39:58.516 [pool-903-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: index < 0
04:39:58.516 [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:39:58.571 [pool-903-thread-1] INFO  f.i.l.repair.nopol.patch.TestPatch - Running test suite to check the patch "index < 0" is working
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 26
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 15
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 7
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:39:58.579 [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:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 16
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2168ms
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - index < 0
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 9
04:39:58.579 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_1.NopolExample:12: CONDITIONAL
04:39:58.580 [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:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_5]
04:39:58.584 [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:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: COND_THEN_PRE
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [nopol_examples.nopol_example_5.NopolExampleTest]
04:39:58.584 [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;@60653020', projectTests=[nopol_examples.nopol_example_5.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 42 MB
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 221 MB
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:39:58.584 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:39:58.584 [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:00.130 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:00.130 [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:00.161 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:00.161 [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:00.189 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalAdder
04:40:00.318 [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:00.318 [pool-945-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:00.328 [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:00.351 [pool-945-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: -1 < a
04:40:00.351 [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:00.406 [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:00.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:40:00.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 1
04:40:00.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 1
04:40:00.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 27
04:40:00.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 16
04:40:00.411 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:40:00.412 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:40:00.412 [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:00.412 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:40:00.413 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:40:00.413 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1827ms
04:40:00.413 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:40:00.413 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:40:00.414 [main] INFO  fr.inria.lille.repair.nopol.NoPol - -1 < a
04:40:00.414 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:40:00.415 [main] INFO  fr.inria.lille.repair.nopol.NoPol - nopol_examples.nopol_example_5.NopolExample:20: PRECONDITION
04:40:00.416 [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.221 sec
Running fr.inria.lille.commons.smt.SMTLibTest
Tests run: 32, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.15 sec
Running fr.inria.lille.commons.smt.SMTLibEqualVisitorTest
04:40:00.585 [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 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:01.009 [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:01.009 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:01.018 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:01.038 [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:01.160 [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:01.409 [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:24.882 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Failed code synthesis, returning NullCodeGenesis
04:40:24.939 [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:24.941 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:24.962 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:25.000 [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.029 sec
Running fr.inria.lille.commons.synthesis.CodeSynthesisTest
04:40:25.626 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Specifications:
constraint: {}. outcome: 0 (<unknown>)
constraint: {}. outcome: 0 (<unknown>)
04:40:25.626 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:25.636 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 0
04:40:25.643 [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:25.643 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:25.660 [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:25.681 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: 0 == ((cond)?(size):(0))
04:40:25.685 [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:25.685 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:25.693 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: array.length
04:40:25.696 [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:25.697 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:25.712 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: value == letter
04:40:25.715 [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:25.715 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:25.735 [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:25.803 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: q + p <= n
04:40:25.809 [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:25.809 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
+ of arity: 2
- of arity: 2
04:40:25.821 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: array.length + iterations
04:40:25.824 [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:25.824 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
== of arity: 2
!= of arity: 2
< of arity: 2
<= of arity: 2
04:40:25.840 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: iterations <= array.length
04:40:25.843 [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:25.843 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
?: of arity: 3
04:40:25.853 [main] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
?: of arity: 3
+ of arity: 2
- of arity: 2
04:40:25.887 [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.272 sec
Running fr.inria.lille.commons.synthesis.smt.constraint.ConstraintTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running fr.inria.lille.commons.synthesis.LocationVariableContainerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running fr.inria.lille.commons.synthesis.LocationVariableTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running fr.inria.lille.commons.synthesis.OperatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running fr.inria.lille.evo.TestPatchEvo
04:40:25.941 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:25.942 [main] DEBUG fr.inria.lille.evo.Main -  ##### launch nopol without new tests ##### 
04:40:25.942 [main] DEBUG fr.inria.lille.evo.Main - Launch nopol with:
04:40:25.942 [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:25.942 [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:25.942 [main] DEBUG fr.inria.lille.evo.Main - testClasses = [Ljava.lang.String;@2b0bd03b
04:40:25.942 [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:25.943 [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:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [evo_examples.evo_example_1.EvoExampleTest]
04:40:25.943 [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;@91c4fb3', projectTests=[evo_examples.evo_example_1.EvoExampleTest], complianceLevel=7, outputFolder=./, json=false}
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 34 MB
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 206 MB
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:40:25.943 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:40:25.943 [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:27.889 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:27.889 [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:27.920 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:27.921 [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:27.970 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:28.092 [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:28.093 [pool-974-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:28.102 [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:28.123 [pool-974-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: number < -1
04:40:28.123 [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:28.185 [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:28.189 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:40:28.195 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 60
04:40:28.195 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 285
04:40:28.195 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 28
04:40:28.195 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 17
04:40:28.195 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 4
04:40:28.195 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:40:28.196 [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:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 2247ms
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - number < -1
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 5
04:40:28.196 [main] INFO  fr.inria.lille.repair.nopol.NoPol - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL
04:40:28.196 [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:28.197 [main] DEBUG fr.inria.lille.evo.Main - ### ----- PATCH FOUND -----
04:40:28.197 [main] DEBUG fr.inria.lille.evo.Main - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:40:28.197 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:28.197 [main] DEBUG fr.inria.lille.evo.Main -  ##### Search tests files path ##### 
04:40:28.364 [main] DEBUG fr.inria.lille.evo.Main - [FOUND] evo_examples.evo_example_1.EvoExampleGeneratedTest
04:40:28.364 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:28.364 [main] DEBUG fr.inria.lille.evo.Main -  ##### Search tests methods ##### 
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - [FOUND] test_evo_example_generated_1()
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - [FOUND] test_evo_example_generated_0()
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - ###########################################
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - ######## start to try each methods ########
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - ###########################################
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - # TEST METHOD : test_evo_example_generated_1()
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:40:28.495 [main] DEBUG fr.inria.lille.evo.Main - ### Remove EvoSuite &  Recompile Tests 
04:40:28.655 [main] DEBUG fr.inria.lille.evo.Main - ### Launch Nopol
04:40:28.656 [main] DEBUG fr.inria.lille.evo.Main - Launch nopol with:
04:40:28.657 [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:28.658 [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:28.658 [main] DEBUG fr.inria.lille.evo.Main - testClasses = [Ljava.lang.String;@ae19303
04:40:28.659 [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:28.659 [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:28.660 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:40:28.661 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest]
04:40:28.662 [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;@76b9a6be', projectTests=[evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest], complianceLevel=7, outputFolder=./, json=false}
04:40:28.662 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:40:28.663 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 61 MB
04:40:28.663 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:40:28.664 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 220 MB
04:40:28.664 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:40:28.665 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:40:28.666 [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:30.292 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:40:30.292 [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:30.321 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:40:30.321 [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:30.350 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:40:30.493 [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:30.494 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:40:30.503 [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:30.531 [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:30.626 [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:31.161 [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:02.668 [pool-997-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Failed code synthesis, returning NullCodeGenesis
04:41:02.668 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:41:02.673 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 61
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 286
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 29
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 18
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 4
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 5
04:41:02.674 [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:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 14
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 34009ms
04:41:02.674 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - ### ----- NO PATCH FOUND -----
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - ### METHOD REMOVED : test_evo_example_generated_1()
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - basic <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_1 <===> null
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - # TEST METHOD : test_evo_example_generated_0()
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - --------------------------------------------------
04:41:02.674 [main] DEBUG fr.inria.lille.evo.Main - ### Remove EvoSuite &  Recompile Tests 
04:41:02.743 [main] DEBUG fr.inria.lille.evo.Main - ### Launch Nopol
04:41:02.743 [main] DEBUG fr.inria.lille.evo.Main - Launch nopol with:
04:41:02.743 [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:02.743 [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:02.743 [main] DEBUG fr.inria.lille.evo.Main - testClasses = [Ljava.lang.String;@ae19303
04:41:02.743 [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:02.744 [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:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Statement type: CONDITIONAL
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Args: [evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest]
04:41:02.744 [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;@3c343917', projectTests=[evo_examples.evo_example_1.EvoExampleTest, evo_examples.evo_example_1.EvoExampleGeneratedTest], complianceLevel=7, outputFolder=./, json=false}
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Available processors (cores): 2
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Free memory: 54 MB
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Maximum memory: 446 MB
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Total memory available to JVM: 219 MB
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Java version: 1.8.0_151
04:41:02.744 [main] INFO  fr.inria.lille.repair.nopol.NoPol - JAVA_HOME: /builds/tools/hudson.model.JDK/JDK_8.0.151
04:41:02.744 [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:04.361 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #1
04:41:04.361 [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:04.391 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - statement #2
04:41:04.392 [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:04.418 [main] DEBUG fr.inria.lille.repair.nopol.NoPol - looking with class fr.inria.lille.repair.nopol.spoon.smt.ConditionalReplacer
04:41:04.532 [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:04.532 [pool-1018-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Operators:
04:41:04.544 [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:04.567 [pool-1018-thread-1] DEBUG f.i.l.c.s.ConstraintBasedSynthesis - Successful code synthesis: number < 1
04:41:04.567 [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:04.626 [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:04.632 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----INFORMATION----
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb classes : 61
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb methods : 286
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements Analyzed : 30
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb Statements with Angelic Value Found : 19
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb inputs in SMT : 5
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb SMT level: 2
04:41:04.637 [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:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol -                   class java.lang.Boolean: 4
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb variables in SMT : 7
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - NoPol Execution time : 1889ms
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - 
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - ----PATCH FOUND----
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - number < 1
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - Nb test that executes the patch: 6
04:41:04.637 [main] INFO  fr.inria.lille.repair.nopol.NoPol - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL
04:41:04.637 [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:04.638 [main] DEBUG fr.inria.lille.evo.Main - ### ----- PATCH FOUND -----
04:41:04.638 [main] DEBUG fr.inria.lille.evo.Main - evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1
04:41:04.638 [main] DEBUG fr.inria.lille.evo.Main - ### METHOD KEPT : test_evo_example_generated_0()
04:41:04.638 [main] DEBUG fr.inria.lille.evo.Main - basic <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:41:04.638 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_1 <===> null
04:41:04.638 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_0 <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < 1
04:41:04.639 [main] DEBUG fr.inria.lille.evo.Main - ### End of program. Recompile keeping all good tests
04:41:04.698 [main] DEBUG fr.inria.lille.evo.Main - basic <===> evo_examples.evo_example_1.EvoExample:9: CONDITIONAL number < -1
04:41:04.698 [main] DEBUG fr.inria.lille.evo.Main - test_evo_example_generated_1 <===> null
04:41:04.698 [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.777 sec
Running fr.inria.lille.diff.PatchGeneratorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.501 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:11 min
[INFO] Finished at: 2018-08-31T10:41:19+02:00
[INFO] Final Memory: 39M/215M
[INFO] ------------------------------------------------------------------------
Recording test results
Finished: SUCCESS