/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/mutex-5/ThreadModularVerifier.Settings.epf -tc ../../../trunk/examples/threadmodular/regression/ThreadModularVerifier.xml --icfgtochc.break.symmetry.of.preference.order false --icfgtochc.use.symmetry.clauses true --chcsolver.chc.solver.backend ELDARICA --chcsolver.produce.chc.model.if.query.is.sat true --chcsolver.produce.derivation.if.query.is.unsat true --chcsolver.produce.unsat.core.if.query.is.unsat true -i ../../../trunk/examples/threadmodular/regression/mutex-5/mutex-5.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-dd9be67-m [2023-09-12 10:51:09,734 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-09-12 10:51:09,814 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/mutex-5/ThreadModularVerifier.Settings.epf [2023-09-12 10:51:09,827 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-12 10:51:09,829 INFO L151 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-09-12 10:51:09,829 INFO L153 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-09-12 10:51:09,830 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-12 10:51:09,830 INFO L153 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-09-12 10:51:09,830 INFO L153 SettingsManager]: * Add additional assume for each assert=false [2023-09-12 10:51:09,834 INFO L151 SettingsManager]: Preferences of IcfgToChc differ from their defaults: [2023-09-12 10:51:09,835 INFO L153 SettingsManager]: * Specification mode=ASSERT_VIOLATIONS [2023-09-12 10:51:09,836 INFO L151 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-09-12 10:51:09,836 INFO L153 SettingsManager]: * Save file in source directory=true [2023-09-12 10:51:09,837 INFO L153 SettingsManager]: * Use automatic naming=true [2023-09-12 10:51:09,837 INFO L153 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.icfgtochc: Use symmetry clauses -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver: CHC solver backend -> ELDARICA 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 -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver: Produce UNSAT core if query is UNSAT -> true [2023-09-12 10:51:10,070 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-12 10:51:10,094 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-12 10:51:10,096 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-12 10:51:10,097 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-09-12 10:51:10,101 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-09-12 10:51:10,103 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/mutex-5/mutex-5.bpl [2023-09-12 10:51:10,103 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/mutex-5/mutex-5.bpl' [2023-09-12 10:51:10,127 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-12 10:51:10,129 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-09-12 10:51:10,130 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-12 10:51:10,131 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-12 10:51:10,131 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-09-12 10:51:10,147 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,148 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,152 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,153 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,154 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,157 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,157 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,158 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,158 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-12 10:51:10,160 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-12 10:51:10,160 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-09-12 10:51:10,161 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-09-12 10:51:10,162 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,167 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-09-12 10:51:10,175 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-12 10:51:10,209 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-09-12 10:51:10,216 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-09-12 10:51:10,237 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2023-09-12 10:51:10,238 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-12 10:51:10,238 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-12 10:51:10,271 INFO L236 CfgBuilder]: Building ICFG [2023-09-12 10:51:10,272 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-12 10:51:10,275 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-09-12 10:51:10,334 INFO L277 CfgBuilder]: Performing block encoding [2023-09-12 10:51:10,357 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-12 10:51:10,357 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-09-12 10:51:10,358 WARN L332 CfgBuilder]: Unexpected successor node of atomic block begin: ULTIMATE.startEXIT is neither atomic block end nor error location. [2023-09-12 10:51:10,359 INFO L201 PluginConnector]: Adding new model mutex-5.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.09 10:51:10 BoogieIcfgContainer [2023-09-12 10:51:10,360 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-12 10:51:10,360 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-09-12 10:51:10,360 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-09-12 10:51:10,361 INFO L274 PluginConnector]: IcfgToChc initialized [2023-09-12 10:51:10,362 INFO L184 PluginConnector]: Executing the observer IcfgToChcObserver from plugin IcfgToChc for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,581 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume true;ctr := ctr - 1;' is: true [2023-09-12 10:51:10,583 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume true;' is: true [2023-09-12 10:51:10,586 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume ctr < 5;ctr := ctr + 1;' is: true [2023-09-12 10:51:10,594 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume true;ctr := ctr - 1;' is: true [2023-09-12 10:51:10,595 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume true;' is: true [2023-09-12 10:51:10,599 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume ctr < 5;ctr := ctr + 1;' is: true [2023-09-12 10:51:10,612 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume ctr < 5;ctr := ctr + 1;' and 'assume true;ctr := ctr - 1;' is: true [2023-09-12 10:51:10,616 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume ctr < 5;ctr := ctr + 1;' and 'assume true;' is: true [2023-09-12 10:51:10,621 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume ctr < 5;ctr := ctr + 1;' and 'assume ctr < 5;ctr := ctr + 1;' is: true [2023-09-12 10:51:10,628 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;ctr := ctr - 1;' and 'assume true;ctr := ctr - 1;' is: true [2023-09-12 10:51:10,630 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;ctr := ctr - 1;' and 'assume true;' is: true [2023-09-12 10:51:10,634 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;ctr := ctr - 1;' and 'assume ctr < 5;ctr := ctr + 1;' is: false [2023-09-12 10:51:10,659 INFO L201 PluginConnector]: Adding new model mutex-5.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 12.09 10:51:10 HornClauseAST [2023-09-12 10:51:10,659 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-09-12 10:51:10,660 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-09-12 10:51:10,660 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-09-12 10:51:10,660 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-09-12 10:51:10,662 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,663 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/mutex-5/CHC_mutex-5.bpl_UID10003519548825391669.smt2 [2023-09-12 10:51:10,689 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-09-12 10:51:10,690 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2023-09-12 10:51:10,690 INFO L270 PluginConnector]: Initializing ChcSolver... [2023-09-12 10:51:10,690 INFO L274 PluginConnector]: ChcSolver initialized [2023-09-12 10:51:10,692 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "mutex-5.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 12.09 10:51:10" (1/1) ... [2023-09-12 10:51:10,693 WARN L147 ChcSolverObserver]: Derivation production is not supported by backend [2023-09-12 10:51:10,693 WARN L153 ChcSolverObserver]: UNSAT core production is not supported by backend [2023-09-12 10:51:10,694 INFO L91 EldaricaCliChcScript]: Writing script to file /tmp/eldarica_11119799311298418177.smt2 [2023-09-12 10:51:10,701 ERROR L181 MonitoredProcess]: Could not determine absolute path of external process, hoping that OS will resolve eld [2023-09-12 10:51:10,701 INFO L189 MonitoredProcess]: No working directory specified, using eld [2023-09-12 10:51:10,703 INFO L229 MonitoredProcess]: Starting monitored process 2 with eld -disj -ssol /tmp/eldarica_11119799311298418177.smt2 (exit command is null, workingDir is null) [2023-09-12 10:51:10,707 INFO L327 MonitoredProcess]: [MP eld -disj -ssol /tmp/eldarica_11119799311298418177.smt2 (2)] Waiting until timeout for monitored process [2023-09-12 10:51:23,707 INFO L175 ChcSolverObserver]: ChcSolver found model: [2023-09-12 10:51:23,708 INFO L176 ChcSolverObserver]: (define-fun (Inv Int Int Bool Int Int Bool Int Bool) ((A Int) (B Int) (C Bool) (D Int) (E Int) (F Bool) (G Int) ) Bool (or (and (= G 0) (= A 0) (= 2 D) (<= (+ E 1) B)) (and (= G 0) (= A 1) (<= (+ E 1) B) (= 3 D)) (and (= D 1) (= G 0) (= A 0) (<= (+ B 1) E)) (and (= G 0) (= D 0) (not (= E B)) (= A 0)) (and (= G 0) (= A 0) (= 2 D) (<= (+ B 1) E)) (and (= D 1) (= G 0) (= A 0) (<= (+ E 1) B)) (and (= G 0) (= A 1) (<= (+ B 1) E) (= 3 D)))) [2023-09-12 10:51:23,727 INFO L201 PluginConnector]: Adding new model mutex-5.bpl de.uni_freiburg.informatik.ultimate.plugins.chcsolver OTHER 12.09 10:51:23 ChcSolution [2023-09-12 10:51:23,727 INFO L131 PluginConnector]: ------------------------ END ChcSolver---------------------------- [2023-09-12 10:51:23,728 INFO L158 Benchmark]: Toolchain (without parser) took 13598.63ms. Allocated memory is still 325.1MB. Free memory was 282.2MB in the beginning and 294.6MB in the end (delta: -12.4MB). There was no memory consumed. Max. memory is 15.0GB. [2023-09-12 10:51:23,729 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.37ms. Allocated memory is still 325.1MB. Free memory was 283.3MB in the beginning and 283.1MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 15.0GB. [2023-09-12 10:51:23,729 INFO L158 Benchmark]: Boogie Preprocessor took 28.35ms. Allocated memory is still 325.1MB. Free memory was 282.1MB in the beginning and 280.3MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-09-12 10:51:23,730 INFO L158 Benchmark]: RCFGBuilder took 199.45ms. Allocated memory is still 325.1MB. Free memory was 280.3MB in the beginning and 271.9MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. [2023-09-12 10:51:23,731 INFO L158 Benchmark]: IcfgToChc took 298.74ms. Allocated memory is still 325.1MB. Free memory was 271.9MB in the beginning and 262.4MB in the end (delta: 9.5MB). Peak memory consumption was 6.3MB. Max. memory is 15.0GB. [2023-09-12 10:51:23,731 INFO L158 Benchmark]: ChcSmtPrinter took 29.94ms. Allocated memory is still 325.1MB. Free memory was 262.4MB in the beginning and 298.8MB in the end (delta: -36.4MB). Peak memory consumption was 12.5MB. Max. memory is 15.0GB. [2023-09-12 10:51:23,732 INFO L158 Benchmark]: ChcSolver took 13037.04ms. Allocated memory is still 325.1MB. Free memory was 298.8MB in the beginning and 294.6MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. [2023-09-12 10:51:23,752 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.37ms. Allocated memory is still 325.1MB. Free memory was 283.3MB in the beginning and 283.1MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 15.0GB. * Boogie Preprocessor took 28.35ms. Allocated memory is still 325.1MB. Free memory was 282.1MB in the beginning and 280.3MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * RCFGBuilder took 199.45ms. Allocated memory is still 325.1MB. Free memory was 280.3MB in the beginning and 271.9MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. * IcfgToChc took 298.74ms. Allocated memory is still 325.1MB. Free memory was 271.9MB in the beginning and 262.4MB in the end (delta: 9.5MB). Peak memory consumption was 6.3MB. Max. memory is 15.0GB. * ChcSmtPrinter took 29.94ms. Allocated memory is still 325.1MB. Free memory was 262.4MB in the beginning and 298.8MB in the end (delta: -36.4MB). Peak memory consumption was 12.5MB. Max. memory is 15.0GB. * ChcSolver took 13037.04ms. Allocated memory is still 325.1MB. Free memory was 298.8MB in the beginning and 294.6MB in the end (delta: 4.2MB). Peak memory consumption was 4.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-09-12 10:51:23,774 WARN L435 MonitoredProcess]: [MP eld -disj -ssol /tmp/eldarica_11119799311298418177.smt2 (2)] Forcibly destroying the process [2023-09-12 10:51:23,814 INFO L540 MonitoredProcess]: [MP eld -disj -ssol /tmp/eldarica_11119799311298418177.smt2 (2)] Forceful destruction successful, exit code 137 [2023-09-12 10:51:23,818 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...