/usr/bin/java -Xmx15000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/threadmodular/regression/inc-dec-eq0/ThreadModularVerifier.Settings.epf -tc ../../../trunk/examples/threadmodular/regression/ThreadModularVerifier.xml --icfgtochc.break.symmetry.of.preference.order false --chcsolver.chc.solver.backend Z3 --chcsolver.produce.chc.model.if.query.is.sat true --chcsolver.produce.derivation.if.query.is.unsat false --chcsolver.produce.unsat.core.if.query.is.unsat false -i ../../../trunk/examples/threadmodular/regression/inc-dec-eq0/inc-dec-eq0.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-5ab1b01-m [2023-07-03 16:49:29,856 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-07-03 16:49:29,914 INFO L100 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/inc-dec-eq0/ThreadModularVerifier.Settings.epf [2023-07-03 16:49:29,921 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-07-03 16:49:29,922 INFO L135 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-07-03 16:49:29,922 INFO L137 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-07-03 16:49:29,923 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-07-03 16:49:29,923 INFO L137 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-07-03 16:49:29,923 INFO L137 SettingsManager]: * Add additional assume for each assert=false [2023-07-03 16:49:29,927 INFO L135 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-07-03 16:49:29,927 INFO L137 SettingsManager]: * Save file in source directory=true [2023-07-03 16:49:29,927 INFO L137 SettingsManager]: * Use automatic naming=true [2023-07-03 16:49:29,927 INFO L137 SettingsManager]: * File name=CHC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.icfgtochc: Break symmetry of preference order -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver: CHC solver backend -> Z3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver: Produce CHC model if query is SAT -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver: Produce derivation if query is UNSAT -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver: Produce UNSAT core if query is UNSAT -> false [2023-07-03 16:49:30,100 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-07-03 16:49:30,117 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-07-03 16:49:30,119 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-07-03 16:49:30,120 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-07-03 16:49:30,120 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-07-03 16:49:30,121 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/inc-dec-eq0/inc-dec-eq0.bpl [2023-07-03 16:49:30,121 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/inc-dec-eq0/inc-dec-eq0.bpl' [2023-07-03 16:49:30,132 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-07-03 16:49:30,133 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-07-03 16:49:30,134 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-07-03 16:49:30,135 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-07-03 16:49:30,135 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-07-03 16:49:30,145 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,146 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,149 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,149 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,150 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,150 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,150 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,151 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,151 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-07-03 16:49:30,152 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-07-03 16:49:30,152 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-07-03 16:49:30,152 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-07-03 16:49:30,153 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,156 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-07-03 16:49:30,161 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-07-03 16:49:30,171 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2023-07-03 16:49:30,173 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2023-07-03 16:49:30,192 INFO L124 BoogieDeclarations]: Specification and implementation of procedure thread given in one single declaration [2023-07-03 16:49:30,192 INFO L130 BoogieDeclarations]: Found specification of procedure thread [2023-07-03 16:49:30,192 INFO L138 BoogieDeclarations]: Found implementation of procedure thread [2023-07-03 16:49:30,222 INFO L236 CfgBuilder]: Building ICFG [2023-07-03 16:49:30,223 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-07-03 16:49:30,225 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-07-03 16:49:30,257 INFO L277 CfgBuilder]: Performing block encoding [2023-07-03 16:49:30,261 INFO L294 CfgBuilder]: Using library mode [2023-07-03 16:49:30,261 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-07-03 16:49:30,262 INFO L201 PluginConnector]: Adding new model inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 03.07 04:49:30 BoogieIcfgContainer [2023-07-03 16:49:30,263 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-07-03 16:49:30,263 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-07-03 16:49:30,263 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-07-03 16:49:30,263 INFO L274 PluginConnector]: IcfgToChc initialized [2023-07-03 16:49:30,264 INFO L184 PluginConnector]: Executing the observer IcfgToChcObserver from plugin IcfgToChc for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,454 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x - 1;' is: true [2023-07-03 16:49:30,462 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x + 1;' is: true [2023-07-03 16:49:30,476 INFO L180 IndependenceChecker]: instantiated independence condition for 'x := x + 1;' and 'x := x - 1;' is: true [2023-07-03 16:49:30,482 INFO L180 IndependenceChecker]: instantiated independence condition for 'x := x + 1;' and 'x := x + 1;' is: true [2023-07-03 16:49:30,487 INFO L180 IndependenceChecker]: instantiated independence condition for 'x := x - 1;' and 'x := x - 1;' is: true [2023-07-03 16:49:30,490 INFO L180 IndependenceChecker]: instantiated independence condition for 'x := x - 1;' and 'x := x + 1;' is: true [2023-07-03 16:49:30,495 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x - 1;' is: true [2023-07-03 16:49:30,497 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x + 1;' is: true [2023-07-03 16:49:30,523 INFO L201 PluginConnector]: Adding new model inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 03.07 04:49:30 HornClauseAST [2023-07-03 16:49:30,524 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-07-03 16:49:30,527 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-07-03 16:49:30,527 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-07-03 16:49:30,527 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-07-03 16:49:30,528 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,529 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/inc-dec-eq0/CHC_inc-dec-eq0.bpl_UID7659323964899755641.smt2 [2023-07-03 16:49:30,542 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-07-03 16:49:30,543 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2023-07-03 16:49:30,543 INFO L270 PluginConnector]: Initializing ChcSolver... [2023-07-03 16:49:30,543 INFO L274 PluginConnector]: ChcSolver initialized [2023-07-03 16:49:30,544 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 03.07 04:49:30" (1/1) ... [2023-07-03 16:49:30,544 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-07-03 16:49:30,544 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-07-03 16:49:30,547 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-07-03 16:49:30,548 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-07-03 16:49:30,558 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2023-07-03 16:49:30,559 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-07-03 16:49:30,560 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-07-03 16:49:30,560 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-07-03 16:49:57,078 INFO L175 ChcSolverObserver]: ChcSolver found model: [2023-07-03 16:49:57,079 INFO L176 ChcSolverObserver]: (define-fun (Inv Int Int Int Bool Int Int Bool Int Bool) ((x!0 Int) (x!1 Int) (x!2 Int) (x!3 Bool) (x!4 Int) (x!5 Int) (x!6 Bool) (x!7 Int) ) Bool (let ((a!1 (not (= x!5 x!2))) (a!2 (< x!5 (+ x!2 1))) (a!3 (< x!2 x!5))) (and (or x!6 (not (= 2 x!7)) (< 0 x!1)) (or (< 0 x!0) (not (= x!7 1)) x!6) (< 0 (+ x!7 1)) (< 0 (+ x!0 1)) (or (< x!1 1) (< 1 x!0) (not (= 3 x!4)) x!3) (or (< 0 (+ x!1 1)) (< 2 x!4)) (or (< x!7 1) x!3 a!2 (< 4 x!4)) (or (< 0 x!0) (not (= 3 x!4)) x!3) (< 0 (+ x!4 1)) (or x!3 (not (= 2 x!4)) (< 0 x!1)) (or (< x!1 1) (< 0 x!0)) a!1 (or (< x!4 1) (< 0 (+ x!1 1))) (or (< 0 x!0) x!3 (not (= x!4 1))) (or (< x!4 1) (< 4 x!7) x!6 a!3) (or (< 1 x!0) x!6 (< x!1 2) (not (= 2 x!7))) (or (< x!1 1) (not (= 3 x!7)) (< 1 x!0) x!6) (or (< 1 x!0) x!3 (not (= 2 x!4)) (< x!1 2)) (or (< x!1 1) (< 1 x!0) x!3 (not (= x!4 1))) (or (< x!1 1) (< 1 x!0) (not (= x!7 1)) x!6) (or (< 0 x!0) (not (= 3 x!7)) x!6)))) [2023-07-03 16:49:57,110 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-07-03 16:49:57,111 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-07-03 16:49:57,112 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-07-03 16:49:57,112 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2023-07-03 16:49:57,119 INFO L201 PluginConnector]: Adding new model inc-dec-eq0.bpl de.uni_freiburg.informatik.ultimate.plugins.chcsolver OTHER 03.07 04:49:57 ChcSolution [2023-07-03 16:49:57,119 INFO L131 PluginConnector]: ------------------------ END ChcSolver---------------------------- [2023-07-03 16:49:57,121 INFO L158 Benchmark]: Toolchain (without parser) took 26986.67ms. Allocated memory is still 396.4MB. Free memory was 353.8MB in the beginning and 362.3MB in the end (delta: -8.5MB). Peak memory consumption was 31.1MB. Max. memory is 15.0GB. [2023-07-03 16:49:57,121 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.11ms. Allocated memory is still 396.4MB. Free memory is still 354.7MB. There was no memory consumed. Max. memory is 15.0GB. [2023-07-03 16:49:57,121 INFO L158 Benchmark]: Boogie Preprocessor took 17.13ms. Allocated memory is still 396.4MB. Free memory was 353.8MB in the beginning and 351.9MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-07-03 16:49:57,122 INFO L158 Benchmark]: RCFGBuilder took 110.50ms. Allocated memory is still 396.4MB. Free memory was 351.9MB in the beginning and 344.2MB in the end (delta: 7.7MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. [2023-07-03 16:49:57,122 INFO L158 Benchmark]: IcfgToChc took 260.72ms. Allocated memory is still 396.4MB. Free memory was 344.0MB in the beginning and 334.2MB in the end (delta: 9.8MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. [2023-07-03 16:49:57,122 INFO L158 Benchmark]: ChcSmtPrinter took 15.02ms. Allocated memory is still 396.4MB. Free memory was 334.2MB in the beginning and 332.8MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 15.0GB. [2023-07-03 16:49:57,123 INFO L158 Benchmark]: ChcSolver took 26576.78ms. Allocated memory is still 396.4MB. Free memory was 332.8MB in the beginning and 362.3MB in the end (delta: -29.5MB). Peak memory consumption was 12.2MB. Max. memory is 15.0GB. [2023-07-03 16:49:57,125 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.11ms. Allocated memory is still 396.4MB. Free memory is still 354.7MB. There was no memory consumed. Max. memory is 15.0GB. * Boogie Preprocessor took 17.13ms. Allocated memory is still 396.4MB. Free memory was 353.8MB in the beginning and 351.9MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * RCFGBuilder took 110.50ms. Allocated memory is still 396.4MB. Free memory was 351.9MB in the beginning and 344.2MB in the end (delta: 7.7MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. * IcfgToChc took 260.72ms. Allocated memory is still 396.4MB. Free memory was 344.0MB in the beginning and 334.2MB in the end (delta: 9.8MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. * ChcSmtPrinter took 15.02ms. Allocated memory is still 396.4MB. Free memory was 334.2MB in the beginning and 332.8MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 15.0GB. * ChcSolver took 26576.78ms. Allocated memory is still 396.4MB. Free memory was 332.8MB in the beginning and 362.3MB in the end (delta: -29.5MB). Peak memory consumption was 12.2MB. Max. memory is 15.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.chcsolver: - ChcSatResult: SAT The given horn clause set is SAT RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-07-03 16:49:57,133 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2023-07-03 16:49:57,336 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...