/root/.sdkman/candidates/java/21.0.5-tem/bin/java -Xmx22000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata ./data --icfgtochc.assume.program.has.a.precondition True --icfgtochc.specification.mode POSTCONDITION --icfgtochc.thread-modular.proof.level 2 --icfgtochc.preference.order.used.for.reduction SEQ_COMP --icfgtochc.conditional.independence NONE -s ../../../trunk/examples/concurrent/bpl/parameterized/add-sub-positive-k/../ThreadModularVerifier.Settings.epf -tc ../../../trunk/examples/concurrent/bpl/parameterized/ThreadModularVerifier.xml --chcsolver.chc.solver.backend GOLEM --icfgtochc.use.nondeterministic.sleep.update.encoding true -i ../../../trunk/examples/concurrent/bpl/parameterized/add-sub-positive-k/add-sub-positive-k.bpl -------------------------------------------------------------------------------- This is Ultimate 0.3.0-wip.dk.sleep-threadmodular-07d3146-m [2025-01-03 21:45:56,588 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-01-03 21:45:56,662 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/concurrent/bpl/parameterized/add-sub-positive-k/../ThreadModularVerifier.Settings.epf [2025-01-03 21:45:56,673 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-01-03 21:45:56,674 INFO L151 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2025-01-03 21:45:56,674 INFO L153 SettingsManager]: * Produce CHC model if query is SAT=false [2025-01-03 21:45:56,674 INFO L153 SettingsManager]: * CHC solver backend=Z3 [2025-01-03 21:45:56,674 INFO L153 SettingsManager]: * Produce derivation if query is UNSAT=false [2025-01-03 21:45:56,674 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-01-03 21:45:56,674 INFO L153 SettingsManager]: * Size of a code block=OneNontrivialStatement [2025-01-03 21:45:56,674 INFO L153 SettingsManager]: * Add additional assume for each assert=false [2025-01-03 21:45:56,676 INFO L151 SettingsManager]: Preferences of IcfgToChc differ from their defaults: [2025-01-03 21:45:56,676 INFO L153 SettingsManager]: * Conditional Independence=SUFFICIENT [2025-01-03 21:45:56,676 INFO L151 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2025-01-03 21:45:56,677 INFO L153 SettingsManager]: * Save file in source directory=true [2025-01-03 21:45:56,677 INFO L153 SettingsManager]: * Use automatic naming=true [2025-01-03 21:45:56,677 INFO L153 SettingsManager]: * File name=CHC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.icfgtochc: Assume program has a precondition -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.icfgtochc: Specification mode -> POSTCONDITION Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.icfgtochc: Thread-Modular Proof Level -> 2 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.icfgtochc: Preference order used for reduction -> SEQ_COMP Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.icfgtochc: Conditional Independence -> NONE 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.icfgtochc: Use nondeterministic sleep update encoding -> true [2025-01-03 21:45:56,954 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-01-03 21:45:56,962 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-01-03 21:45:56,970 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-01-03 21:45:56,971 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2025-01-03 21:45:56,971 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2025-01-03 21:45:56,974 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/concurrent/bpl/parameterized/add-sub-positive-k/add-sub-positive-k.bpl [2025-01-03 21:45:56,974 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/concurrent/bpl/parameterized/add-sub-positive-k/add-sub-positive-k.bpl' [2025-01-03 21:45:56,987 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-01-03 21:45:56,990 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2025-01-03 21:45:56,991 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-01-03 21:45:56,991 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-01-03 21:45:56,991 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-01-03 21:45:57,004 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,005 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,008 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,008 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,009 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,009 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,009 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,010 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,010 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 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,011 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-01-03 21:45:57,011 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-01-03 21:45:57,011 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-01-03 21:45:57,011 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-01-03 21:45:57,012 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 03.01 09:45:56" (1/1) ... [2025-01-03 21:45:57,015 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2025-01-03 21:45:57,021 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-03 21:45:57,030 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2025-01-03 21:45:57,037 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2025-01-03 21:45:57,050 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2025-01-03 21:45:57,050 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-01-03 21:45:57,050 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-01-03 21:45:57,080 INFO L234 CfgBuilder]: Building ICFG [2025-01-03 21:45:57,081 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-01-03 21:45:57,083 WARN L773 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2025-01-03 21:45:57,115 INFO L? ?]: Removed 1 outVars from TransFormulas that were not future-live. [2025-01-03 21:45:57,116 INFO L283 CfgBuilder]: Performing block encoding [2025-01-03 21:45:57,121 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-01-03 21:45:57,121 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2025-01-03 21:45:57,121 INFO L201 PluginConnector]: Adding new model add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 03.01 09:45:57 BoogieIcfgContainer [2025-01-03 21:45:57,122 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-01-03 21:45:57,122 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2025-01-03 21:45:57,122 INFO L270 PluginConnector]: Initializing IcfgToChc... [2025-01-03 21:45:57,122 INFO L274 PluginConnector]: IcfgToChc initialized [2025-01-03 21:45:57,123 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 03.01 09:45:57" (1/1) ... [2025-01-03 21:45:57,180 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x - k;' is: true [2025-01-03 21:45:57,189 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x + k;' is: true [2025-01-03 21:45:57,196 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume k >= 0;' is: true [2025-01-03 21:45:57,201 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'havoc k;' is: true [2025-01-03 21:45:57,224 INFO L161 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x - k;' is: true [2025-01-03 21:45:57,228 INFO L161 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x + k;' is: true [2025-01-03 21:45:57,233 INFO L161 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'assume k >= 0;' is: true [2025-01-03 21:45:57,235 INFO L161 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'havoc k;' is: true [2025-01-03 21:45:57,275 INFO L161 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'x := x - k;' is: true [2025-01-03 21:45:57,287 INFO L161 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'x := x + k;' is: true [2025-01-03 21:45:57,294 INFO L161 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'assume k >= 0;' is: true [2025-01-03 21:45:57,300 INFO L161 IndependenceChecker]: instantiated independence condition for 'assume k >= 0;' and 'havoc k;' is: true [2025-01-03 21:45:57,324 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x - k;' is: true [2025-01-03 21:45:57,330 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x + k;' is: true [2025-01-03 21:45:57,339 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'assume k >= 0;' is: true [2025-01-03 21:45:57,344 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'havoc k;' is: true [2025-01-03 21:45:57,352 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x - k;' is: true [2025-01-03 21:45:57,357 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x + k;' is: true [2025-01-03 21:45:57,363 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'assume k >= 0;' is: true [2025-01-03 21:45:57,366 INFO L161 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'havoc k;' is: true [2025-01-03 21:45:57,373 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x - k;' is: true [2025-01-03 21:45:57,376 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'x := x + k;' is: true [2025-01-03 21:45:57,379 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume k >= 0;' is: true [2025-01-03 21:45:57,380 INFO L161 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'havoc k;' is: true [2025-01-03 21:45:57,401 INFO L201 PluginConnector]: Adding new model add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 03.01 09:45:57 HornClauseAST [2025-01-03 21:45:57,401 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2025-01-03 21:45:57,402 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2025-01-03 21:45:57,402 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2025-01-03 21:45:57,402 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2025-01-03 21:45:57,403 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 03.01 09:45:57" (1/1) ... [2025-01-03 21:45:57,404 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/concurrent/bpl/parameterized/add-sub-positive-k/CHC_add-sub-positive-k.bpl_UID11039917656873156644.smt2 [2025-01-03 21:45:57,421 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2025-01-03 21:45:57,421 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2025-01-03 21:45:57,421 INFO L270 PluginConnector]: Initializing ChcSolver... [2025-01-03 21:45:57,422 INFO L274 PluginConnector]: ChcSolver initialized [2025-01-03 21:45:57,423 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 03.01 09:45:57" (1/1) ... [2025-01-03 21:45:57,423 INFO L89 GolemChcScript]: Writing script to file /tmp/golem_14209282898066511245.smt2 [2025-01-03 21:45:57,429 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/golem [2025-01-03 21:45:57,435 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/golem /tmp/golem_14209282898066511245.smt2 (exit command is null, workingDir is null) [2025-01-03 21:45:57,436 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/golem /tmp/golem_14209282898066511245.smt2 (2)] Waiting until timeout for monitored process [2025-01-03 21:49:37,804 INFO L201 PluginConnector]: Adding new model add-sub-positive-k.bpl de.uni_freiburg.informatik.ultimate.plugins.chcsolver OTHER 03.01 09:49:37 ChcSolution [2025-01-03 21:49:37,804 INFO L131 PluginConnector]: ------------------------ END ChcSolver---------------------------- [2025-01-03 21:49:37,805 INFO L158 Benchmark]: Toolchain (without parser) took 220814.49ms. Allocated memory is still 167.8MB. Free memory was 148.0MB in the beginning and 144.5MB in the end (delta: 3.5MB). Peak memory consumption was 20.0MB. Max. memory is 22.0GB. [2025-01-03 21:49:37,805 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.30ms. Allocated memory is still 167.8MB. Free memory is still 148.8MB. There was no memory consumed. Max. memory is 22.0GB. [2025-01-03 21:49:37,805 INFO L158 Benchmark]: Boogie Preprocessor took 20.24ms. Allocated memory is still 167.8MB. Free memory was 147.9MB in the beginning and 146.6MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 22.0GB. [2025-01-03 21:49:37,806 INFO L158 Benchmark]: RCFGBuilder took 110.27ms. Allocated memory is still 167.8MB. Free memory was 146.6MB in the beginning and 139.3MB in the end (delta: 7.3MB). There was no memory consumed. Max. memory is 22.0GB. [2025-01-03 21:49:37,806 INFO L158 Benchmark]: IcfgToChc took 279.42ms. Allocated memory is still 167.8MB. Free memory was 139.3MB in the beginning and 136.6MB in the end (delta: 2.7MB). Peak memory consumption was 19.1MB. Max. memory is 22.0GB. [2025-01-03 21:49:37,806 INFO L158 Benchmark]: ChcSmtPrinter took 19.02ms. Allocated memory is still 167.8MB. Free memory was 136.6MB in the beginning and 133.8MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 22.0GB. [2025-01-03 21:49:37,806 INFO L158 Benchmark]: ChcSolver took 220382.45ms. Allocated memory is still 167.8MB. Free memory was 133.7MB in the beginning and 144.5MB in the end (delta: -10.9MB). Peak memory consumption was 18.2MB. Max. memory is 22.0GB. [2025-01-03 21:49:37,811 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.30ms. Allocated memory is still 167.8MB. Free memory is still 148.8MB. There was no memory consumed. Max. memory is 22.0GB. * Boogie Preprocessor took 20.24ms. Allocated memory is still 167.8MB. Free memory was 147.9MB in the beginning and 146.6MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 22.0GB. * RCFGBuilder took 110.27ms. Allocated memory is still 167.8MB. Free memory was 146.6MB in the beginning and 139.3MB in the end (delta: 7.3MB). There was no memory consumed. Max. memory is 22.0GB. * IcfgToChc took 279.42ms. Allocated memory is still 167.8MB. Free memory was 139.3MB in the beginning and 136.6MB in the end (delta: 2.7MB). Peak memory consumption was 19.1MB. Max. memory is 22.0GB. * ChcSmtPrinter took 19.02ms. Allocated memory is still 167.8MB. Free memory was 136.6MB in the beginning and 133.8MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 22.0GB. * ChcSolver took 220382.45ms. Allocated memory is still 167.8MB. Free memory was 133.7MB in the beginning and 144.5MB in the end (delta: -10.9MB). Peak memory consumption was 18.2MB. Max. memory is 22.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. [2025-01-03 21:49:37,821 WARN L435 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/golem /tmp/golem_14209282898066511245.smt2 (2)] Forcibly destroying the process [2025-01-03 21:49:37,839 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/golem /tmp/golem_14209282898066511245.smt2 (2)] Forceful destruction successful, exit code 137 [2025-01-03 21:49:37,846 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request...