/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/add-sub-positive-k/ThreadModularVerifier.Settings.epf -tc ../../../trunk/examples/threadmodular/regression/ThreadModularVerifier.xml --chcsolver.chc.solver.backend GOLEM --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/add-sub-positive-k/add-sub-positive-k.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-645efe7-m [2023-05-31 17:50:11,232 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-05-31 17:50:11,264 INFO L100 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-positive-k/ThreadModularVerifier.Settings.epf [2023-05-31 17:50:11,269 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-05-31 17:50:11,270 INFO L135 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-05-31 17:50:11,270 INFO L137 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-05-31 17:50:11,271 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-05-31 17:50:11,271 INFO L137 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-05-31 17:50:11,271 INFO L137 SettingsManager]: * Add additional assume for each assert=false [2023-05-31 17:50:11,272 INFO L135 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-05-31 17:50:11,272 INFO L137 SettingsManager]: * Save file in source directory=true [2023-05-31 17:50:11,272 INFO L137 SettingsManager]: * Use automatic naming=true [2023-05-31 17:50:11,273 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.chcsolver: CHC solver backend -> GOLEM 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-05-31 17:50:11,427 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-05-31 17:50:11,444 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-05-31 17:50:11,446 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-05-31 17:50:11,447 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-05-31 17:50:11,448 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-05-31 17:50:11,450 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-positive-k/add-sub-positive-k.bpl [2023-05-31 17:50:11,452 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-positive-k/add-sub-positive-k.bpl' [2023-05-31 17:50:11,466 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-05-31 17:50:11,467 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-05-31 17:50:11,468 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-31 17:50:11,468 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-31 17:50:11,469 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-05-31 17:50:11,480 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,481 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,485 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,486 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,487 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,487 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,488 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,488 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,489 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-05-31 17:50:11,490 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-05-31 17:50:11,490 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-05-31 17:50:11,490 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-05-31 17:50:11,491 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,495 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-05-31 17:50:11,500 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-31 17:50:11,514 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-05-31 17:50:11,536 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-05-31 17:50:11,547 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2023-05-31 17:50:11,548 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-05-31 17:50:11,548 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-05-31 17:50:11,591 INFO L236 CfgBuilder]: Building ICFG [2023-05-31 17:50:11,592 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-05-31 17:50:11,596 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-05-31 17:50:11,648 INFO L277 CfgBuilder]: Performing block encoding [2023-05-31 17:50:11,653 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-05-31 17:50:11,653 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-05-31 17:50:11,655 INFO L201 PluginConnector]: Adding new model add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.05 05:50:11 BoogieIcfgContainer [2023-05-31 17:50:11,655 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-05-31 17:50:11,656 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-05-31 17:50:11,656 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-05-31 17:50:11,656 INFO L274 PluginConnector]: IcfgToChc initialized [2023-05-31 17:50:11,658 INFO L184 PluginConnector]: Executing the observer IcfgToChcObserver from plugin IcfgToChc for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,829 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,831 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,833 INFO L111 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,835 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,849 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'havoc k;' is: true [2023-05-31 17:50:11,851 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'havoc k;' is: true [2023-05-31 17:50:11,852 INFO L111 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'havoc k;' is: true [2023-05-31 17:50:11,853 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'havoc k;' is: true [2023-05-31 17:50:11,862 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'assume k >= 0;' is: true [2023-05-31 17:50:11,865 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'assume k >= 0;' is: true [2023-05-31 17:50:11,867 INFO L111 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'assume k >= 0;' is: true [2023-05-31 17:50:11,868 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'assume k >= 0;' is: true [2023-05-31 17:50:11,881 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x + k;' is: true [2023-05-31 17:50:11,884 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x + k;' is: true [2023-05-31 17:50:11,886 INFO L111 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'x := x + k;' is: true [2023-05-31 17:50:11,888 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x + k;' is: true [2023-05-31 17:50:11,895 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x - k;' is: true [2023-05-31 17:50:11,898 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x - k;' is: true [2023-05-31 17:50:11,900 INFO L111 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'x := x - k;' is: true [2023-05-31 17:50:11,902 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x - k;' is: true [2023-05-31 17:50:11,907 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,909 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,910 INFO L111 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,910 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 17:50:11,983 INFO L201 PluginConnector]: Adding new model add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 05:50:11 HornClauseAST [2023-05-31 17:50:11,983 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-05-31 17:50:11,984 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-05-31 17:50:11,984 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-05-31 17:50:11,984 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-05-31 17:50:11,985 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:11,985 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-positive-k/CHC_add-sub-positive-k.bpl_UID17671555184555050968.smt2 [2023-05-31 17:50:12,003 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-05-31 17:50:12,003 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2023-05-31 17:50:12,003 INFO L270 PluginConnector]: Initializing ChcSolver... [2023-05-31 17:50:12,004 INFO L274 PluginConnector]: ChcSolver initialized [2023-05-31 17:50:12,005 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 05:50:11" (1/1) ... [2023-05-31 17:50:12,005 INFO L88 GolemChcScript]: Writing script to file /tmp/golem_6593601214009861711.smt2 [2023-05-31 17:50:12,014 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem [2023-05-31 17:50:12,015 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_6593601214009861711.smt2 (exit command is null, workingDir is null) [2023-05-31 17:50:12,017 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_6593601214009861711.smt2 (2)] Waiting until timeout for monitored process [2023-05-31 17:53:07,456 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_6593601214009861711.smt2 (2)] Ended with exit code 0 [2023-05-31 17:53:07,696 INFO L201 PluginConnector]: Adding new model add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.chcsolver OTHER 31.05 05:53:07 ChcSolution [2023-05-31 17:53:07,696 INFO L131 PluginConnector]: ------------------------ END ChcSolver---------------------------- [2023-05-31 17:53:07,697 INFO L158 Benchmark]: Toolchain (without parser) took 176229.30ms. Allocated memory was 364.9MB in the beginning and 549.5MB in the end (delta: 184.5MB). Free memory was 319.2MB in the beginning and 486.6MB in the end (delta: -167.4MB). Peak memory consumption was 102.8MB. Max. memory is 15.0GB. [2023-05-31 17:53:07,698 INFO L158 Benchmark]: Boogie PL CUP Parser took 2.35ms. Allocated memory is still 364.9MB. Free memory is still 320.1MB. There was no memory consumed. Max. memory is 15.0GB. [2023-05-31 17:53:07,698 INFO L158 Benchmark]: Boogie Preprocessor took 21.12ms. Allocated memory is still 364.9MB. Free memory was 319.2MB in the beginning and 317.4MB in the end (delta: 1.8MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. [2023-05-31 17:53:07,699 INFO L158 Benchmark]: RCFGBuilder took 165.18ms. Allocated memory is still 364.9MB. Free memory was 317.3MB in the beginning and 309.3MB in the end (delta: 7.9MB). Peak memory consumption was 6.3MB. Max. memory is 15.0GB. [2023-05-31 17:53:07,699 INFO L158 Benchmark]: IcfgToChc took 327.42ms. Allocated memory is still 364.9MB. Free memory was 309.3MB in the beginning and 331.2MB in the end (delta: -21.8MB). Peak memory consumption was 20.4MB. Max. memory is 15.0GB. [2023-05-31 17:53:07,699 INFO L158 Benchmark]: ChcSmtPrinter took 19.08ms. Allocated memory is still 364.9MB. Free memory was 331.2MB in the beginning and 328.6MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-05-31 17:53:07,700 INFO L158 Benchmark]: ChcSolver took 175692.64ms. Allocated memory was 364.9MB in the beginning and 549.5MB in the end (delta: 184.5MB). Free memory was 328.6MB in the beginning and 486.6MB in the end (delta: -158.0MB). Peak memory consumption was 111.8MB. Max. memory is 15.0GB. [2023-05-31 17:53:07,702 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 2.35ms. Allocated memory is still 364.9MB. Free memory is still 320.1MB. There was no memory consumed. Max. memory is 15.0GB. * Boogie Preprocessor took 21.12ms. Allocated memory is still 364.9MB. Free memory was 319.2MB in the beginning and 317.4MB in the end (delta: 1.8MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. * RCFGBuilder took 165.18ms. Allocated memory is still 364.9MB. Free memory was 317.3MB in the beginning and 309.3MB in the end (delta: 7.9MB). Peak memory consumption was 6.3MB. Max. memory is 15.0GB. * IcfgToChc took 327.42ms. Allocated memory is still 364.9MB. Free memory was 309.3MB in the beginning and 331.2MB in the end (delta: -21.8MB). Peak memory consumption was 20.4MB. Max. memory is 15.0GB. * ChcSmtPrinter took 19.08ms. Allocated memory is still 364.9MB. Free memory was 331.2MB in the beginning and 328.6MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * ChcSolver took 175692.64ms. Allocated memory was 364.9MB in the beginning and 549.5MB in the end (delta: 184.5MB). Free memory was 328.6MB in the beginning and 486.6MB in the end (delta: -158.0MB). Peak memory consumption was 111.8MB. 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-05-31 17:53:07,714 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...