/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/ThreadModularUniHorn.xml -i ../../../trunk/examples/threadmodular/regression/add-sub-k/add-sub-k.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-645efe7-m [2023-05-31 18:20:54,621 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-05-31 18:20:54,689 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 18:20:54,698 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-05-31 18:20:54,699 INFO L135 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-05-31 18:20:54,700 INFO L137 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-05-31 18:20:54,700 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-05-31 18:20:54,701 INFO L137 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-05-31 18:20:54,701 INFO L137 SettingsManager]: * Add additional assume for each assert=false [2023-05-31 18:20:54,705 INFO L135 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-05-31 18:20:54,706 INFO L137 SettingsManager]: * Save file in source directory=true [2023-05-31 18:20:54,706 INFO L137 SettingsManager]: * Use automatic naming=true [2023-05-31 18:20:54,706 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 [2023-05-31 18:20:54,935 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-05-31 18:20:54,950 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-05-31 18:20:54,952 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-05-31 18:20:54,953 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-05-31 18:20:54,957 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-05-31 18:20:54,958 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 18:20:54,958 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 18:20:54,975 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-05-31 18:20:54,977 INFO L133 ToolchainWalker]: Walking toolchain with 8 elements. [2023-05-31 18:20:54,978 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-31 18:20:54,979 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-31 18:20:54,979 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-05-31 18:20:54,994 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 06:20:54" (1/1) ... [2023-05-31 18:20:54,995 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,001 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,001 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,002 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,003 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,003 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,004 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,005 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-05-31 18:20:55,006 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-05-31 18:20:55,006 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-05-31 18:20:55,006 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-05-31 18:20:55,007 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 06:20:54" (1/1) ... [2023-05-31 18:20:55,012 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-05-31 18:20:55,018 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-31 18:20:55,034 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 18:20:55,064 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 18:20:55,079 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2023-05-31 18:20:55,079 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-05-31 18:20:55,080 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-05-31 18:20:55,123 INFO L236 CfgBuilder]: Building ICFG [2023-05-31 18:20:55,124 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-05-31 18:20:55,128 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-05-31 18:20:55,174 INFO L277 CfgBuilder]: Performing block encoding [2023-05-31 18:20:55,179 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-05-31 18:20:55,180 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-05-31 18:20:55,181 INFO L201 PluginConnector]: Adding new model add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.05 06:20:55 BoogieIcfgContainer [2023-05-31 18:20:55,181 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-05-31 18:20:55,182 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-05-31 18:20:55,182 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-05-31 18:20:55,182 INFO L274 PluginConnector]: IcfgToChc initialized [2023-05-31 18:20:55,184 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 06:20:55" (1/1) ... [2023-05-31 18:20:55,404 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 18:20:55,418 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 18:20:55,420 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 18:20:55,445 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'havoc k;' is: true [2023-05-31 18:20:55,448 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'havoc k;' is: true [2023-05-31 18:20:55,450 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'havoc k;' is: true [2023-05-31 18:20:55,467 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x + k;' is: true [2023-05-31 18:20:55,473 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x + k;' is: true [2023-05-31 18:20:55,479 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x + k;' is: true [2023-05-31 18:20:55,493 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and 'x := x - k;' is: true [2023-05-31 18:20:55,497 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and 'x := x - k;' is: true [2023-05-31 18:20:55,499 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and 'x := x - k;' is: true [2023-05-31 18:20:55,507 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x - k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 18:20:55,509 INFO L111 IndependenceChecker]: instantiated independence condition for 'x := x + k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 18:20:55,510 INFO L111 IndependenceChecker]: instantiated independence condition for 'havoc k;' and '<[ dummy edge: assume true; ]>' is: true [2023-05-31 18:20:55,571 INFO L201 PluginConnector]: Adding new model add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 06:20:55 HornClauseAST [2023-05-31 18:20:55,572 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-05-31 18:20:55,572 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-05-31 18:20:55,572 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-05-31 18:20:55,573 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-05-31 18:20:55,573 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 06:20:55" (1/1) ... [2023-05-31 18:20:55,574 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_UID4428051164438225562.smt2 [2023-05-31 18:20:55,610 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-05-31 18:20:55,611 INFO L112 PluginConnector]: ------------------------ChcToBoogie---------------------------- [2023-05-31 18:20:55,611 INFO L270 PluginConnector]: Initializing ChcToBoogie... [2023-05-31 18:20:55,611 INFO L274 PluginConnector]: ChcToBoogie initialized [2023-05-31 18:20:55,623 INFO L184 PluginConnector]: Executing the observer ChcToBoogieObserver from plugin ChcToBoogie for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 31.05 06:20:55" (1/1) ... [2023-05-31 18:20:55,679 INFO L201 PluginConnector]: Adding new model add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.chctoboogie AST 31.05 06:20:55 Unit [2023-05-31 18:20:55,679 INFO L131 PluginConnector]: ------------------------ END ChcToBoogie---------------------------- [2023-05-31 18:20:55,679 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-31 18:20:55,679 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-31 18:20:55,679 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-05-31 18:20:55,680 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.chctoboogie AST 31.05 06:20:55" (1/1) ... [2023-05-31 18:20:55,680 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "add-sub-k.bpl de.uni_freiburg.informatik.ultimate.plugins.chctoboogie AST 31.05 06:20:55" (1/1) ... [2023-05-31 18:20:55,681 ERROR L1136 TypeChecker]: null: Undeclared identifier freshIdentifier13 in IdentifierExpression[freshIdentifier13,QUANTIFIED] [2023-05-31 18:20:55,682 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor has thrown an exception: java.lang.IllegalArgumentException: Location is null at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ResultService.reportResult(ResultService.java:80) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typeError(TypeChecker.java:1137) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckExpression(TypeChecker.java:253) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckExpression(TypeChecker.java:195) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckExpression(TypeChecker.java:195) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckExpression(TypeChecker.java:195) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckStatement(TypeChecker.java:668) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckBlock(TypeChecker.java:851) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckStatement(TypeChecker.java:717) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.typecheckBlock(TypeChecker.java:851) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.processBody(TypeChecker.java:962) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.processImplementation(TypeChecker.java:1038) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.TypeChecker.process(TypeChecker.java:1125) 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:155) 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) [2023-05-31 18:20:55,688 INFO L158 Benchmark]: Toolchain (without parser) took 710.70ms. Allocated memory is still 320.9MB. Free memory was 272.0MB in the beginning and 279.9MB in the end (delta: -7.9MB). There was no memory consumed. Max. memory is 15.0GB. [2023-05-31 18:20:55,692 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.15ms. Allocated memory is still 320.9MB. Free memory is still 273.0MB. There was no memory consumed. Max. memory is 15.0GB. [2023-05-31 18:20:55,693 INFO L158 Benchmark]: Boogie Preprocessor took 7.85ms. Allocated memory is still 320.9MB. Free memory was 280.3MB in the beginning and 279.9MB in the end (delta: 432.9kB). There was no memory consumed. Max. memory is 15.0GB. [2023-05-31 18:20:55,694 INFO L158 Benchmark]: RCFGBuilder took 175.54ms. Allocated memory is still 320.9MB. Free memory was 270.1MB in the beginning and 262.2MB in the end (delta: 7.9MB). Peak memory consumption was 6.3MB. Max. memory is 15.0GB. [2023-05-31 18:20:55,694 INFO L158 Benchmark]: IcfgToChc took 389.86ms. Allocated memory is still 320.9MB. Free memory was 262.2MB in the beginning and 285.8MB in the end (delta: -23.6MB). Peak memory consumption was 22.2MB. Max. memory is 15.0GB. [2023-05-31 18:20:55,695 INFO L158 Benchmark]: ChcSmtPrinter took 38.03ms. Allocated memory is still 320.9MB. Free memory was 285.8MB in the beginning and 283.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. [2023-05-31 18:20:55,695 INFO L158 Benchmark]: ChcToBoogie took 68.20ms. Allocated memory is still 320.9MB. Free memory was 283.7MB in the beginning and 280.3MB in the end (delta: 3.4MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. [2023-05-31 18:20:55,698 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 320.9MB. Free memory is still 273.0MB. There was no memory consumed. Max. memory is 15.0GB. * Boogie Preprocessor took 7.85ms. Allocated memory is still 320.9MB. Free memory was 280.3MB in the beginning and 279.9MB in the end (delta: 432.9kB). There was no memory consumed. Max. memory is 15.0GB. * RCFGBuilder took 175.54ms. Allocated memory is still 320.9MB. Free memory was 270.1MB in the beginning and 262.2MB in the end (delta: 7.9MB). Peak memory consumption was 6.3MB. Max. memory is 15.0GB. * IcfgToChc took 389.86ms. Allocated memory is still 320.9MB. Free memory was 262.2MB in the beginning and 285.8MB in the end (delta: -23.6MB). Peak memory consumption was 22.2MB. Max. memory is 15.0GB. * ChcSmtPrinter took 38.03ms. Allocated memory is still 320.9MB. Free memory was 285.8MB in the beginning and 283.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 15.0GB. * ChcToBoogie took 68.20ms. Allocated memory is still 320.9MB. Free memory was 283.7MB in the beginning and 280.3MB in the end (delta: 3.4MB). Peak memory consumption was 4.2MB. Max. memory is 15.0GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - ExceptionOrErrorResult: IllegalArgumentException: Location is null de.uni_freiburg.informatik.ultimate.boogie.preprocessor: IllegalArgumentException: Location is null: de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ResultService.reportResult(ResultService.java:80) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-05-31 18:20:55,717 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request...