/usr/bin/java -Xmx22000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/threadmodular/regression/equalsum-ghost/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/equalsum-ghost/equalsum-ghost.bpl -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.sleep-threadmodular-dd9be67-m [2023-09-13 15:40:32,212 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-09-13 15:40:32,283 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/equalsum-ghost/ThreadModularVerifier.Settings.epf [2023-09-13 15:40:32,295 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-13 15:40:32,296 INFO L151 SettingsManager]: Preferences of ChcSolver differ from their defaults: [2023-09-13 15:40:32,296 INFO L153 SettingsManager]: * Produce UNSAT core if query is UNSAT=true [2023-09-13 15:40:32,297 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-13 15:40:32,297 INFO L153 SettingsManager]: * Size of a code block=OneNontrivialStatement [2023-09-13 15:40:32,298 INFO L153 SettingsManager]: * Add additional assume for each assert=false [2023-09-13 15:40:32,301 INFO L151 SettingsManager]: Preferences of IcfgToChc differ from their defaults: [2023-09-13 15:40:32,301 INFO L153 SettingsManager]: * Specification mode=ASSERT_VIOLATIONS [2023-09-13 15:40:32,302 INFO L153 SettingsManager]: * Preference order used for reduction=LOCKSTEP [2023-09-13 15:40:32,302 INFO L151 SettingsManager]: Preferences of ChcSmtPrinter differ from their defaults: [2023-09-13 15:40:32,303 INFO L153 SettingsManager]: * Save file in source directory=true [2023-09-13 15:40:32,303 INFO L153 SettingsManager]: * Use automatic naming=true [2023-09-13 15:40:32,303 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.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-09-13 15:40:32,549 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-13 15:40:32,572 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-13 15:40:32,574 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-13 15:40:32,575 INFO L270 PluginConnector]: Initializing Boogie PL CUP Parser... [2023-09-13 15:40:32,577 INFO L274 PluginConnector]: Boogie PL CUP Parser initialized [2023-09-13 15:40:32,578 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/equalsum-ghost/equalsum-ghost.bpl [2023-09-13 15:40:32,578 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/equalsum-ghost/equalsum-ghost.bpl' [2023-09-13 15:40:32,600 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-13 15:40:32,601 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-09-13 15:40:32,602 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-13 15:40:32,603 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-13 15:40:32,603 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-09-13 15:40:32,618 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,621 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,626 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,626 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,627 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,630 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,631 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,631 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,632 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-13 15:40:32,634 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-13 15:40:32,634 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-09-13 15:40:32,635 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-09-13 15:40:32,636 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:32,641 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-09-13 15:40:32,648 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-13 15:40:32,660 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-13 15:40:32,667 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-13 15:40:32,691 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2023-09-13 15:40:32,691 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-13 15:40:32,691 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-13 15:40:32,733 INFO L236 CfgBuilder]: Building ICFG [2023-09-13 15:40:32,735 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-13 15:40:32,738 WARN L818 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2023-09-13 15:40:32,800 INFO L277 CfgBuilder]: Performing block encoding [2023-09-13 15:40:32,818 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-13 15:40:32,818 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-09-13 15:40:32,820 INFO L201 PluginConnector]: Adding new model equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.09 03:40:32 BoogieIcfgContainer [2023-09-13 15:40:32,820 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-13 15:40:32,821 INFO L112 PluginConnector]: ------------------------IcfgToChc---------------------------- [2023-09-13 15:40:32,821 INFO L270 PluginConnector]: Initializing IcfgToChc... [2023-09-13 15:40:32,821 INFO L274 PluginConnector]: IcfgToChc initialized [2023-09-13 15:40:32,823 INFO L184 PluginConnector]: Executing the observer IcfgToChcObserver from plugin IcfgToChc for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.09 03:40:32" (1/1) ... [2023-09-13 15:40:33,005 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume true;' is: true [2023-09-13 15:40:33,011 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,012 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume true;' is: true [2023-09-13 15:40:33,015 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,018 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,020 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,022 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'assume idx < n;' is: true [2023-09-13 15:40:33,024 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'idx := 0;' is: true [2023-09-13 15:40:33,025 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'sum := 0;' is: true [2023-09-13 15:40:33,028 INFO L180 IndependenceChecker]: instantiated independence condition for '<[ dummy edge: assume true; ]>' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,051 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'assume true;' is: true [2023-09-13 15:40:33,056 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,059 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'assume true;' is: true [2023-09-13 15:40:33,062 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,066 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,069 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,072 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,075 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'idx := 0;' is: true [2023-09-13 15:40:33,078 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'sum := 0;' is: true [2023-09-13 15:40:33,088 INFO L180 IndependenceChecker]: instantiated independence condition for 'id := id_ctr;id_ctr := id_ctr + 1;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: false [2023-09-13 15:40:33,113 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'assume true;' is: true [2023-09-13 15:40:33,117 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,118 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'assume true;' is: true [2023-09-13 15:40:33,121 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,124 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,126 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,127 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,129 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'idx := 0;' is: true [2023-09-13 15:40:33,131 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'sum := 0;' is: true [2023-09-13 15:40:33,134 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := 0;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,147 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'assume true;' is: true [2023-09-13 15:40:33,165 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,166 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'assume true;' is: true [2023-09-13 15:40:33,176 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,184 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,191 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,193 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,208 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'idx := 0;' is: true [2023-09-13 15:40:33,213 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'sum := 0;' is: true [2023-09-13 15:40:33,218 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := 0;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,233 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'assume true;' is: true [2023-09-13 15:40:33,236 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,238 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'assume true;' is: true [2023-09-13 15:40:33,240 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,242 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,243 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,244 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'assume idx < n;' is: true [2023-09-13 15:40:33,246 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'idx := 0;' is: true [2023-09-13 15:40:33,248 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'sum := 0;' is: true [2023-09-13 15:40:33,249 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume !(idx < n);' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,257 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'assume true;' is: true [2023-09-13 15:40:33,259 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,260 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'assume true;' is: true [2023-09-13 15:40:33,262 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,263 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,265 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,266 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,268 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'idx := 0;' is: true [2023-09-13 15:40:33,269 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'sum := 0;' is: true [2023-09-13 15:40:33,271 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume idx < n;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,279 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'assume true;' is: true [2023-09-13 15:40:33,292 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: false [2023-09-13 15:40:33,294 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'assume true;' is: true [2023-09-13 15:40:33,298 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,302 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,305 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,309 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'assume idx < n;' is: true [2023-09-13 15:40:33,311 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'idx := 0;' is: true [2023-09-13 15:40:33,326 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'sum := 0;' is: true [2023-09-13 15:40:33,328 INFO L180 IndependenceChecker]: instantiated independence condition for 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,336 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'assume true;' is: true [2023-09-13 15:40:33,338 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,339 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'assume true;' is: true [2023-09-13 15:40:33,341 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,342 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,344 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,345 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'assume idx < n;' is: true [2023-09-13 15:40:33,347 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'idx := 0;' is: true [2023-09-13 15:40:33,348 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'sum := 0;' is: true [2023-09-13 15:40:33,350 INFO L180 IndependenceChecker]: instantiated independence condition for 'sum := sum + A[idx];' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,356 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume true;' is: true [2023-09-13 15:40:33,358 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,358 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume true;' is: true [2023-09-13 15:40:33,360 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,361 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,362 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,362 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,363 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'idx := 0;' is: true [2023-09-13 15:40:33,364 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'sum := 0;' is: true [2023-09-13 15:40:33,365 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,370 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'assume true;' is: true [2023-09-13 15:40:33,373 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,374 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'assume true;' is: true [2023-09-13 15:40:33,375 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,377 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,378 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,379 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,380 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'idx := 0;' is: true [2023-09-13 15:40:33,381 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'sum := 0;' is: true [2023-09-13 15:40:33,383 INFO L180 IndependenceChecker]: instantiated independence condition for 'idx := idx + 1;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,388 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume true;' is: true [2023-09-13 15:40:33,389 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'BeginParallelComposition{ParallelCodeBlock0: assume !(id == i);ParallelCodeBlock1: assume id == i;sum_i := sum;terminated_i := true;}EndParallelComposition' is: true [2023-09-13 15:40:33,390 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume true;' is: true [2023-09-13 15:40:33,391 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'idx := idx + 1;' is: true [2023-09-13 15:40:33,392 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'sum := sum + A[idx];' is: true [2023-09-13 15:40:33,393 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume !(idx < n);' is: true [2023-09-13 15:40:33,394 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'assume idx < n;' is: true [2023-09-13 15:40:33,394 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'idx := 0;' is: true [2023-09-13 15:40:33,395 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'sum := 0;' is: true [2023-09-13 15:40:33,396 INFO L180 IndependenceChecker]: instantiated independence condition for 'assume true;' and 'id := id_ctr;id_ctr := id_ctr + 1;' is: true [2023-09-13 15:40:33,436 INFO L201 PluginConnector]: Adding new model equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 13.09 03:40:33 HornClauseAST [2023-09-13 15:40:33,436 INFO L131 PluginConnector]: ------------------------ END IcfgToChc---------------------------- [2023-09-13 15:40:33,436 INFO L112 PluginConnector]: ------------------------ChcSmtPrinter---------------------------- [2023-09-13 15:40:33,436 INFO L270 PluginConnector]: Initializing ChcSmtPrinter... [2023-09-13 15:40:33,437 INFO L274 PluginConnector]: ChcSmtPrinter initialized [2023-09-13 15:40:33,437 INFO L184 PluginConnector]: Executing the observer ChcSmtPrinterObserver from plugin ChcSmtPrinter for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 13.09 03:40:33" (1/1) ... [2023-09-13 15:40:33,438 INFO L192 hcSmtPrinterObserver]: Writing to file /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/threadmodular/regression/equalsum-ghost/CHC_equalsum-ghost.bpl_UID15222069498083862122.smt2 [2023-09-13 15:40:33,468 INFO L131 PluginConnector]: ------------------------ END ChcSmtPrinter---------------------------- [2023-09-13 15:40:33,469 INFO L112 PluginConnector]: ------------------------ChcSolver---------------------------- [2023-09-13 15:40:33,469 INFO L270 PluginConnector]: Initializing ChcSolver... [2023-09-13 15:40:33,469 INFO L274 PluginConnector]: ChcSolver initialized [2023-09-13 15:40:33,470 INFO L184 PluginConnector]: Executing the observer ChcSolverObserver from plugin ChcSolver for "equalsum-ghost.bpl de.uni_freiburg.informatik.ultimate.plugins.icfgtochc OTHER 13.09 03:40:33" (1/1) ... [2023-09-13 15:40:33,471 INFO L89 GolemChcScript]: Writing script to file /tmp/golem_10990181294953626946.smt2 [2023-09-13 15:40:33,484 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem [2023-09-13 15:40:33,501 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_10990181294953626946.smt2 (exit command is null, workingDir is null) [2023-09-13 15:40:33,512 FATAL L? ?]: An unrecoverable error occured during an interaction with an SMT solver: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: golem (MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_10990181294953626946.smt2 (2) without exit command) Received EOF on stdin. No stderr output. at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.parse(Executor.java:262) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.parseCheckSatResult(Executor.java:281) at de.uni_freiburg.informatik.ultimate.lib.chc.GolemChcScript.solve(GolemChcScript.java:108) at de.uni_freiburg.informatik.ultimate.lib.chc.GolemChcScript.solve(GolemChcScript.java:80) at de.uni_freiburg.informatik.ultimate.plugins.chcsolver.ChcSolverObserver.process(ChcSolverObserver.java:86) 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: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: EOF at de.uni_freiburg.informatik.ultimate.smtsolver.external.Parser$Action$.CUP$do_action(Parser.java:1518) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Parser.do_action(Parser.java:701) at com.github.jhoenicke.javacup.runtime.LRParser.parse(LRParser.java:383) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.parse(Executor.java:258) ... 17 more [2023-09-13 15:40:33,517 INFO L158 Benchmark]: Toolchain (without parser) took 915.26ms. Allocated memory is still 562.0MB. Free memory was 515.4MB in the beginning and 497.1MB in the end (delta: 18.2MB). Peak memory consumption was 20.0MB. Max. memory is 22.0GB. [2023-09-13 15:40:33,518 INFO L158 Benchmark]: Boogie PL CUP Parser took 0.14ms. Allocated memory is still 562.0MB. Free memory is still 516.5MB. There was no memory consumed. Max. memory is 22.0GB. [2023-09-13 15:40:33,518 INFO L158 Benchmark]: Boogie Preprocessor took 30.13ms. Allocated memory is still 562.0MB. Free memory was 515.4MB in the beginning and 513.5MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 22.0GB. [2023-09-13 15:40:33,519 INFO L158 Benchmark]: RCFGBuilder took 185.89ms. Allocated memory is still 562.0MB. Free memory was 513.5MB in the beginning and 503.6MB in the end (delta: 9.9MB). Peak memory consumption was 12.6MB. Max. memory is 22.0GB. [2023-09-13 15:40:33,519 INFO L158 Benchmark]: IcfgToChc took 615.16ms. Allocated memory is still 562.0MB. Free memory was 503.6MB in the beginning and 507.4MB in the end (delta: -3.8MB). Peak memory consumption was 40.9MB. Max. memory is 22.0GB. [2023-09-13 15:40:33,520 INFO L158 Benchmark]: ChcSmtPrinter took 31.68ms. Allocated memory is still 562.0MB. Free memory was 507.4MB in the beginning and 500.5MB in the end (delta: 6.9MB). Peak memory consumption was 8.4MB. Max. memory is 22.0GB. [2023-09-13 15:40:33,520 INFO L158 Benchmark]: ChcSolver took 47.35ms. Allocated memory is still 562.0MB. Free memory was 500.5MB in the beginning and 497.1MB in the end (delta: 3.4MB). There was no memory consumed. Max. memory is 22.0GB. [2023-09-13 15:40:33,522 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### [2023-09-13 15:40:33,523 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_10990181294953626946.smt2 (2)] Waiting until timeout for monitored process --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.14ms. Allocated memory is still 562.0MB. Free memory is still 516.5MB. There was no memory consumed. Max. memory is 22.0GB. * Boogie Preprocessor took 30.13ms. Allocated memory is still 562.0MB. Free memory was 515.4MB in the beginning and 513.5MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 22.0GB. * RCFGBuilder took 185.89ms. Allocated memory is still 562.0MB. Free memory was 513.5MB in the beginning and 503.6MB in the end (delta: 9.9MB). Peak memory consumption was 12.6MB. Max. memory is 22.0GB. * IcfgToChc took 615.16ms. Allocated memory is still 562.0MB. Free memory was 503.6MB in the beginning and 507.4MB in the end (delta: -3.8MB). Peak memory consumption was 40.9MB. Max. memory is 22.0GB. * ChcSmtPrinter took 31.68ms. Allocated memory is still 562.0MB. Free memory was 507.4MB in the beginning and 500.5MB in the end (delta: 6.9MB). Peak memory consumption was 8.4MB. Max. memory is 22.0GB. * ChcSolver took 47.35ms. Allocated memory is still 562.0MB. Free memory was 500.5MB in the beginning and 497.1MB in the end (delta: 3.4MB). There was no memory consumed. Max. memory is 22.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.chcsolver: - ExceptionOrErrorResult: SMTLIBException: golem (MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_10990181294953626946.smt2 (2) without exit command) Received EOF on stdin. No stderr output. de.uni_freiburg.informatik.ultimate.plugins.chcsolver: SMTLIBException: golem (MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_10990181294953626946.smt2 (2) without exit command) Received EOF on stdin. No stderr output.: de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.parse(Executor.java:262) [2023-09-13 15:40:33,532 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/golem --print-witness /tmp/golem_10990181294953626946.smt2 (2)] Ended with exit code 134 RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-09-13 15:40:33,544 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...