/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/lock/ThreadModularVerifier.Settings.epf -tc ../../../trunk/examples/threadmodular/regression/ThreadModularVerifier.xml --icfgtochc.enable.sleep.set.reduction false --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/lock/lock.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-3a8dd60-m [2023-06-12 16:29:28,853 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-06-12 16:29:28,927 INFO L100 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/lock/ThreadModularVerifier.Settings.epf [2023-06-12 16:29:28,934 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-06-12 16:29:28,935 INFO L135 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-06-12 16:29:28,936 INFO L137 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-06-12 16:29:28,936 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-06-12 16:29:28,937 INFO L137 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-06-12 16:29:28,937 INFO L137 SettingsManager]: * Add additional assume for each assert=false [2023-06-12 16:29:28,942 INFO L135 SettingsManager]: Preferences of IcfgToChc differ from their defaults: [2023-06-12 16:29:28,942 INFO L137 SettingsManager]: * Specification mode=ASSERT_VIOLATIONS [2023-06-12 16:29:28,942 INFO L137 SettingsManager]: * Thread-Modular Proof Level=1 [2023-06-12 16:29:28,943 INFO L137 SettingsManager]: * Conditional Independence=PRECOMPUTED_CONDITIONS [2023-06-12 16:29:28,944 INFO L135 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-06-12 16:29:28,944 INFO L137 SettingsManager]: * Save file in source directory=true [2023-06-12 16:29:28,945 INFO L137 SettingsManager]: * Use automatic naming=true [2023-06-12 16:29:28,945 INFO L137 SettingsManager]: * File name=CHC_conditional 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: Enable sleep set reduction -> false 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-06-12 16:29:29,129 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-06-12 16:29:29,152 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-06-12 16:29:29,154 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-06-12 16:29:29,155 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-06-12 16:29:29,156 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-06-12 16:29:29,157 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/lock/lock.bpl [2023-06-12 16:29:29,158 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/lock/lock.bpl' [2023-06-12 16:29:29,178 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-06-12 16:29:29,180 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-06-12 16:29:29,181 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-06-12 16:29:29,181 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-06-12 16:29:29,181 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-06-12 16:29:29,196 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,198 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,201 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,202 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,203 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,204 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,204 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,205 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,206 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-06-12 16:29:29,207 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-06-12 16:29:29,207 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-06-12 16:29:29,207 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-06-12 16:29:29,208 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "lock.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,213 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-06-12 16:29:29,220 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-06-12 16:29:29,234 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-06-12 16:29:29,252 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-06-12 16:29:29,272 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2023-06-12 16:29:29,273 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-06-12 16:29:29,273 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-06-12 16:29:29,314 INFO L236 CfgBuilder]: Building ICFG [2023-06-12 16:29:29,316 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-06-12 16:29:29,319 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-06-12 16:29:29,373 INFO L277 CfgBuilder]: Performing block encoding [2023-06-12 16:29:29,385 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-06-12 16:29:29,385 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-06-12 16:29:29,387 INFO L201 PluginConnector]: Adding new model lock.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.06 04:29:29 BoogieIcfgContainer [2023-06-12 16:29:29,387 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-06-12 16:29:29,388 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-06-12 16:29:29,388 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-06-12 16:29:29,389 INFO L274 PluginConnector]: IcfgToChc initialized [2023-06-12 16:29:29,391 INFO L184 PluginConnector]: Executing the observer IcfgToChcObserver from plugin IcfgToChc for "lock.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,586 INFO L201 PluginConnector]: Adding new model lock.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 12.06 04:29:29 HornClauseAST [2023-06-12 16:29:29,586 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-06-12 16:29:29,587 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-06-12 16:29:29,587 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-06-12 16:29:29,587 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-06-12 16:29:29,588 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "lock.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,589 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/lock/CHC_conditional_lock.bpl_UID15523691100872712308.smt2 [2023-06-12 16:29:29,602 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-06-12 16:29:29,602 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2023-06-12 16:29:29,602 INFO L270 PluginConnector]: Initializing ChcSolver... [2023-06-12 16:29:29,603 INFO L274 PluginConnector]: ChcSolver initialized [2023-06-12 16:29:29,605 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "lock.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 12.06 04:29:29" (1/1) ... [2023-06-12 16:29:29,606 INFO L88 GolemChcScript]: Writing script to file /tmp/golem_11165411080572723951.smt2 [2023-06-12 16:29:29,610 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem [2023-06-12 16:29:29,617 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_11165411080572723951.smt2 (exit command is null, workingDir is null) [2023-06-12 16:29:29,618 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_11165411080572723951.smt2 (2)] Waiting until timeout for monitored process [2023-06-12 16:29:29,820 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_11165411080572723951.smt2 (2)] Ended with exit code 0 [2023-06-12 16:29:29,826 INFO L175 ChcSolverObserver]: ChcSolver found model: [2023-06-12 16:29:29,828 INFO L176 ChcSolverObserver]: (define-fun (Inv Bool Int Int Int Bool) ((|x#0| Bool) (|x#1| Int) (|x#2| Int) (|x#3| Int) ) Bool (let ((.cse16 (* (- 1) |x#2|)) (.cse15 (* (- 1) |x#3|))) (let ((.cse3 (<= (- 3) .cse15)) (.cse4 (<= (- 4) .cse15)) (.cse5 (<= (- 5) .cse15)) (.cse2 (<= (- 2) .cse15)) (.cse1 (<= (- 1) .cse15)) (.cse7 (<= 9 |x#3|)) (.cse13 (<= 1 .cse16)) (.cse14 (not |x#0|)) (.cse0 (<= 0 .cse16)) (.cse6 (<= 8 |x#3|)) (.cse8 (<= 10 |x#3|)) (.cse9 (<= (- 1) .cse16)) (.cse10 (<= 6 |x#3|)) (.cse11 (<= 4 |x#3|)) (.cse12 (<= 5 |x#3|))) (and (or .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 .cse6 .cse7 .cse8 .cse9) (or |x#0| .cse0 .cse6 .cse7 .cse8 .cse10 (<= 3 |x#3|) .cse11 .cse12 .cse13) (or .cse14 .cse0 .cse1 .cse2 .cse3 .cse6 .cse8 .cse9) (or |x#0| .cse0 .cse1 .cse3 .cse6 .cse7 .cse8 .cse13) (or .cse14 .cse0 .cse1 .cse2 .cse3 .cse4 .cse5 .cse8 .cse9 (<= (- 6) .cse15)) (or .cse14 .cse0 .cse1 .cse2 .cse6 .cse8 .cse9 .cse10 .cse12) (or |x#0| .cse0 .cse1 .cse6 .cse7 .cse8 .cse10 .cse12 .cse13) (or .cse14 .cse0 .cse6 .cse8 .cse9 .cse10 .cse11 .cse12))))) [2023-06-12 16:29:29,829 INFO L201 PluginConnector]: Adding new model lock.bpl de.uni_freiburg.informatik.ultimate.plugins.chcsolver OTHER 12.06 04:29:29 ChcSolution [2023-06-12 16:29:29,829 INFO L131 PluginConnector]: ------------------------ END ChcSolver---------------------------- [2023-06-12 16:29:29,831 INFO L158 Benchmark]: Toolchain (without parser) took 650.58ms. Allocated memory is still 343.9MB. Free memory was 292.9MB in the beginning and 273.1MB in the end (delta: 19.7MB). Peak memory consumption was 21.0MB. Max. memory is 15.0GB. [2023-06-12 16:29:29,831 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.15ms. Allocated memory is still 343.9MB. Free memory is still 293.7MB. There was no memory consumed. Max. memory is 15.0GB. [2023-06-12 16:29:29,832 INFO L158 Benchmark]: Boogie Preprocessor took 25.40ms. Allocated memory is still 343.9MB. Free memory was 292.9MB in the beginning and 291.1MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-06-12 16:29:29,845 INFO L158 Benchmark]: RCFGBuilder took 180.63ms. Allocated memory is still 343.9MB. Free memory was 290.7MB in the beginning and 281.5MB in the end (delta: 9.2MB). Peak memory consumption was 10.5MB. Max. memory is 15.0GB. [2023-06-12 16:29:29,845 INFO L158 Benchmark]: IcfgToChc took 198.39ms. Allocated memory is still 343.9MB. Free memory was 281.5MB in the beginning and 276.9MB in the end (delta: 4.6MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. [2023-06-12 16:29:29,846 INFO L158 Benchmark]: ChcSmtPrinter took 14.68ms. Allocated memory is still 343.9MB. Free memory was 276.9MB in the beginning and 276.1MB in the end (delta: 797.1kB). There was no memory consumed. Max. memory is 15.0GB. [2023-06-12 16:29:29,847 INFO L158 Benchmark]: ChcSolver took 227.23ms. Allocated memory is still 343.9MB. Free memory was 276.1MB in the beginning and 273.1MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. [2023-06-12 16:29:29,850 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.15ms. Allocated memory is still 343.9MB. Free memory is still 293.7MB. There was no memory consumed. Max. memory is 15.0GB. * Boogie Preprocessor took 25.40ms. Allocated memory is still 343.9MB. Free memory was 292.9MB in the beginning and 291.1MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * RCFGBuilder took 180.63ms. Allocated memory is still 343.9MB. Free memory was 290.7MB in the beginning and 281.5MB in the end (delta: 9.2MB). Peak memory consumption was 10.5MB. Max. memory is 15.0GB. * IcfgToChc took 198.39ms. Allocated memory is still 343.9MB. Free memory was 281.5MB in the beginning and 276.9MB in the end (delta: 4.6MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. * ChcSmtPrinter took 14.68ms. Allocated memory is still 343.9MB. Free memory was 276.9MB in the beginning and 276.1MB in the end (delta: 797.1kB). There was no memory consumed. Max. memory is 15.0GB. * ChcSolver took 227.23ms. Allocated memory is still 343.9MB. Free memory was 276.1MB in the beginning and 273.1MB in the end (delta: 2.9MB). 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-06-12 16:29:29,864 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...