/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-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-k/add-sub-k.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-fe2097d-m [2023-05-31 12:44:22,316 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-05-31 12:44:22,390 INFO L100 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-k/ThreadModularVerifier.Settings.epf [2023-05-31 12:44:22,409 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-05-31 12:44:22,410 INFO L135 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-05-31 12:44:22,411 INFO L137 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-05-31 12:44:22,412 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-05-31 12:44:22,412 INFO L137 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-05-31 12:44:22,412 INFO L137 SettingsManager]: * Add additional assume for each assert=false [2023-05-31 12:44:22,419 INFO L135 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-05-31 12:44:22,419 INFO L137 SettingsManager]: * Save file in source directory=true [2023-05-31 12:44:22,420 INFO L137 SettingsManager]: * Use automatic naming=true [2023-05-31 12:44:22,420 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 12:44:22,714 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-05-31 12:44:22,737 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-05-31 12:44:22,739 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-05-31 12:44:22,741 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-05-31 12:44:22,742 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-05-31 12:44:22,744 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-k/add-sub-k.bpl [2023-05-31 12:44:22,744 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-k/add-sub-k.bpl' [2023-05-31 12:44:22,759 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-05-31 12:44:22,760 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-05-31 12:44:22,761 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-31 12:44:22,761 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-31 12:44:22,761 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-05-31 12:44:22,774 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,775 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,779 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,780 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,782 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,782 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,783 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,784 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,784 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-05-31 12:44:22,786 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-05-31 12:44:22,786 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-05-31 12:44:22,786 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-05-31 12:44:22,787 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:22,792 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-05-31 12:44:22,800 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-31 12:44:22,814 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 12:44:22,838 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 12:44:22,862 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2023-05-31 12:44:22,862 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-05-31 12:44:22,862 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-05-31 12:44:22,903 INFO L236 CfgBuilder]: Building ICFG [2023-05-31 12:44:22,904 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-05-31 12:44:22,908 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-05-31 12:44:22,964 INFO L277 CfgBuilder]: Performing block encoding [2023-05-31 12:44:22,969 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-05-31 12:44:22,969 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-05-31 12:44:22,971 INFO L201 PluginConnector]: Adding new model add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.05 12:44:22 BoogieIcfgContainer [2023-05-31 12:44:22,972 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-05-31 12:44:22,974 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-05-31 12:44:22,974 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-05-31 12:44:22,974 INFO L274 PluginConnector]: IcfgToChc initialized [2023-05-31 12:44:22,976 INFO L184 PluginConnector]: Executing the observer IcfgToChcObserver from plugin IcfgToChc for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.05 12:44:22" (1/1) ... [2023-05-31 12:44:23,236 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 12:44:23,247 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 12:44:23,250 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 12:44:23,287 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'havoc k;' is: true [2023-05-31 12:44:23,291 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'havoc k;' is: true [2023-05-31 12:44:23,292 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'havoc k;' is: true [2023-05-31 12:44:23,320 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x + k;' is: true [2023-05-31 12:44:23,332 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x + k;' is: true [2023-05-31 12:44:23,343 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x + k;' is: true [2023-05-31 12:44:23,353 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x - k;' is: true [2023-05-31 12:44:23,356 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x - k;' is: true [2023-05-31 12:44:23,358 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x - k;' is: true [2023-05-31 12:44:23,365 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 12:44:23,367 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 12:44:23,368 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 12:44:23,411 INFO L201 PluginConnector]: Adding new model add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 12:44:23 HornClauseAST [2023-05-31 12:44:23,411 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-05-31 12:44:23,412 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-05-31 12:44:23,412 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-05-31 12:44:23,412 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-05-31 12:44:23,413 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 12:44:23" (1/1) ... [2023-05-31 12:44:23,414 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/add-sub-k/CHC_add-sub-k.bpl_UID1737149141136833035.smt2 [2023-05-31 12:44:23,440 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-05-31 12:44:23,440 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2023-05-31 12:44:23,441 INFO L270 PluginConnector]: Initializing ChcSolver... [2023-05-31 12:44:23,441 INFO L274 PluginConnector]: ChcSolver initialized [2023-05-31 12:44:23,442 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 12:44:23" (1/1) ... [2023-05-31 12:44:23,443 INFO L88 GolemChcScript]: Writing script to file /tmp/golem_14057462208133535162.smt2 [2023-05-31 12:44:23,456 ERROR L181 MonitoredProcess]: Could not determine absolute path of external process, hoping that OS will resolve golem [2023-05-31 12:44:23,456 INFO L189 MonitoredProcess]: No working directory specified, using golem [2023-05-31 12:44:23,458 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.chcsolver has thrown an exception: java.lang.RuntimeException: java.io.IOException: Cannot run program "golem": error=2, No such file or directory at de.uni_freiburg.informatik.ultimate.lib.chc.GolemChcScript.solve(GolemChcScript.java:113) at de.uni_freiburg.informatik.ultimate.lib.chc.GolemChcScript.solve(GolemChcScript.java:79) at de.uni_freiburg.informatik.ultimate.plugins.chcsolver.ChcSolverObserver.process(ChcSolverObserver.java:77) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) Caused by: java.io.IOException: Cannot run program "golem": error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:592) at de.uni_freiburg.informatik.ultimate.core.lib.util.MonitoredProcess.exec(MonitoredProcess.java:164) at de.uni_freiburg.informatik.ultimate.core.lib.util.MonitoredProcess.exec(MonitoredProcess.java:215) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.createProcess(Executor.java:127) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.(Executor.java:123) at de.uni_freiburg.informatik.ultimate.lib.chc.GolemChcScript.solve(GolemChcScript.java:104) ... 15 more Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 22 more [2023-05-31 12:44:23,462 INFO L158 Benchmark]: Toolchain (without parser) took 700.88ms. Allocated memory is still 360.7MB. Free memory was 337.1MB in the beginning and 309.2MB in the end (delta: 27.8MB). Peak memory consumption was 27.3MB. Max. memory is 15.0GB. [2023-05-31 12:44:23,462 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.16ms. Allocated memory is still 360.7MB. Free memory was 338.1MB in the beginning and 338.0MB in the end (delta: 92.8kB). There was no memory consumed. Max. memory is 15.0GB. [2023-05-31 12:44:23,463 INFO L158 Benchmark]: Boogie Preprocessor took 23.98ms. Allocated memory is still 360.7MB. Free memory was 337.0MB in the beginning and 335.3MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-05-31 12:44:23,463 INFO L158 Benchmark]: RCFGBuilder took 186.51ms. Allocated memory is still 360.7MB. Free memory was 335.2MB in the beginning and 327.1MB in the end (delta: 8.1MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. [2023-05-31 12:44:23,464 INFO L158 Benchmark]: IcfgToChc took 437.37ms. Allocated memory is still 360.7MB. Free memory was 327.1MB in the beginning and 312.9MB in the end (delta: 14.2MB). Peak memory consumption was 14.7MB. Max. memory is 15.0GB. [2023-05-31 12:44:23,464 INFO L158 Benchmark]: ChcSmtPrinter took 28.10ms. Allocated memory is still 360.7MB. Free memory was 312.8MB in the beginning and 310.5MB in the end (delta: 2.3MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-05-31 12:44:23,465 INFO L158 Benchmark]: ChcSolver took 19.81ms. Allocated memory is still 360.7MB. Free memory was 310.5MB in the beginning and 309.2MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 15.0GB. [2023-05-31 12:44:23,468 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.16ms. Allocated memory is still 360.7MB. Free memory was 338.1MB in the beginning and 338.0MB in the end (delta: 92.8kB). There was no memory consumed. Max. memory is 15.0GB. * Boogie Preprocessor took 23.98ms. Allocated memory is still 360.7MB. Free memory was 337.0MB in the beginning and 335.3MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * RCFGBuilder took 186.51ms. Allocated memory is still 360.7MB. Free memory was 335.2MB in the beginning and 327.1MB in the end (delta: 8.1MB). Peak memory consumption was 8.4MB. Max. memory is 15.0GB. * IcfgToChc took 437.37ms. Allocated memory is still 360.7MB. Free memory was 327.1MB in the beginning and 312.9MB in the end (delta: 14.2MB). Peak memory consumption was 14.7MB. Max. memory is 15.0GB. * ChcSmtPrinter took 28.10ms. Allocated memory is still 360.7MB. Free memory was 312.8MB in the beginning and 310.5MB in the end (delta: 2.3MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * ChcSolver took 19.81ms. Allocated memory is still 360.7MB. Free memory was 310.5MB in the beginning and 309.2MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 15.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.chcsolver: - ExceptionOrErrorResult: RuntimeException: java.io.IOException: Cannot run program "golem": error=2, No such file or directory de.uni_freiburg.informatik.ultimate.plugins.chcsolver: RuntimeException: java.io.IOException: Cannot run program "golem": error=2, No such file or directory: de.uni_freiburg.informatik.ultimate.lib.chc.GolemChcScript.solve(GolemChcScript.java:113) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-05-31 12:44:23,503 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...