./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/product-lines/minepump_spec5_product56.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 8be7027f Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/product-lines/minepump_spec5_product56.cil.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 7bcd24ea8f621c8db79e853f5aaf064ffcae573e6c1e9f03eb1f84bb0c15fc3c --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.perfect-tracechecks-8be7027-m [2024-11-12 21:41:37,112 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-12 21:41:37,166 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2024-11-12 21:41:37,170 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-12 21:41:37,170 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-12 21:41:37,200 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-12 21:41:37,201 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-12 21:41:37,201 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-12 21:41:37,202 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-12 21:41:37,202 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-12 21:41:37,203 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-12 21:41:37,203 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-12 21:41:37,203 INFO L153 SettingsManager]: * Use SBE=true [2024-11-12 21:41:37,204 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2024-11-12 21:41:37,206 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2024-11-12 21:41:37,206 INFO L153 SettingsManager]: * Use old map elimination=false [2024-11-12 21:41:37,208 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2024-11-12 21:41:37,210 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2024-11-12 21:41:37,210 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2024-11-12 21:41:37,210 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-12 21:41:37,210 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2024-11-12 21:41:37,215 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-12 21:41:37,215 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-12 21:41:37,215 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-12 21:41:37,215 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-12 21:41:37,216 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2024-11-12 21:41:37,216 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2024-11-12 21:41:37,216 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2024-11-12 21:41:37,216 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-12 21:41:37,217 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-12 21:41:37,217 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-12 21:41:37,217 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-12 21:41:37,217 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2024-11-12 21:41:37,218 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-12 21:41:37,218 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-12 21:41:37,218 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-12 21:41:37,219 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-12 21:41:37,219 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-12 21:41:37,220 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2024-11-12 21:41:37,220 INFO L153 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 7bcd24ea8f621c8db79e853f5aaf064ffcae573e6c1e9f03eb1f84bb0c15fc3c [2024-11-12 21:41:37,434 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-12 21:41:37,460 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-12 21:41:37,462 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-12 21:41:37,463 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-12 21:41:37,463 INFO L274 PluginConnector]: CDTParser initialized [2024-11-12 21:41:37,465 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/product-lines/minepump_spec5_product56.cil.c [2024-11-12 21:41:38,844 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-12 21:41:39,035 INFO L384 CDTParser]: Found 1 translation units. [2024-11-12 21:41:39,036 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product56.cil.c [2024-11-12 21:41:39,047 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/addcb22b5/ded17e20e76c417a89aae5ffc7e08de4/FLAGe2d05d51f [2024-11-12 21:41:39,058 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/addcb22b5/ded17e20e76c417a89aae5ffc7e08de4 [2024-11-12 21:41:39,060 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-12 21:41:39,061 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-12 21:41:39,062 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-12 21:41:39,062 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-12 21:41:39,069 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-12 21:41:39,069 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,070 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@77d88847 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39, skipping insertion in model container [2024-11-12 21:41:39,070 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,100 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-12 21:41:39,408 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-12 21:41:39,424 INFO L200 MainTranslator]: Completed pre-run [2024-11-12 21:41:39,431 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Environment.i","") [49] [2024-11-12 21:41:39,432 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"MinePump.i","") [160] [2024-11-12 21:41:39,433 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"scenario.i","") [418] [2024-11-12 21:41:39,433 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"featureselect.i","") [488] [2024-11-12 21:41:39,433 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"wsllib_check.i","") [526] [2024-11-12 21:41:39,433 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Specification5_spec.i","") [535] [2024-11-12 21:41:39,434 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"libacc.i","") [584] [2024-11-12 21:41:39,434 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Test.i","") [950] [2024-11-12 21:41:39,497 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-12 21:41:39,514 INFO L204 MainTranslator]: Completed translation [2024-11-12 21:41:39,515 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39 WrapperNode [2024-11-12 21:41:39,515 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-12 21:41:39,516 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-12 21:41:39,516 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-12 21:41:39,516 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-12 21:41:39,526 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,543 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,587 INFO L138 Inliner]: procedures = 60, calls = 109, calls flagged for inlining = 62, calls inlined = 150, statements flattened = 1001 [2024-11-12 21:41:39,588 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-12 21:41:39,588 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-12 21:41:39,589 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-12 21:41:39,589 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-12 21:41:39,597 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,597 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,602 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,619 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-11-12 21:41:39,620 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,620 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,628 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,633 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,635 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,637 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,641 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-12 21:41:39,641 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-12 21:41:39,642 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-12 21:41:39,642 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-12 21:41:39,642 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (1/1) ... [2024-11-12 21:41:39,646 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-11-12 21:41:39,657 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-12 21:41:39,673 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) [2024-11-12 21:41:39,685 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 [2024-11-12 21:41:39,722 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-12 21:41:39,722 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-12 21:41:39,722 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-12 21:41:39,722 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-12 21:41:39,791 INFO L238 CfgBuilder]: Building ICFG [2024-11-12 21:41:39,794 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-12 21:41:40,292 INFO L? ?]: Removed 241 outVars from TransFormulas that were not future-live. [2024-11-12 21:41:40,293 INFO L287 CfgBuilder]: Performing block encoding [2024-11-12 21:41:40,311 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-12 21:41:40,311 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-12 21:41:40,311 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 09:41:40 BoogieIcfgContainer [2024-11-12 21:41:40,311 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-12 21:41:40,315 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2024-11-12 21:41:40,315 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2024-11-12 21:41:40,318 INFO L274 PluginConnector]: BuchiAutomizer initialized [2024-11-12 21:41:40,318 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-12 21:41:40,319 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 12.11 09:41:39" (1/3) ... [2024-11-12 21:41:40,319 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@392a9eea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 12.11 09:41:40, skipping insertion in model container [2024-11-12 21:41:40,319 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-12 21:41:40,320 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 09:41:39" (2/3) ... [2024-11-12 21:41:40,320 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@392a9eea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 12.11 09:41:40, skipping insertion in model container [2024-11-12 21:41:40,320 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-12 21:41:40,320 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 09:41:40" (3/3) ... [2024-11-12 21:41:40,321 INFO L332 chiAutomizerObserver]: Analyzing ICFG minepump_spec5_product56.cil.c [2024-11-12 21:41:40,372 INFO L301 stractBuchiCegarLoop]: Interprodecural is true [2024-11-12 21:41:40,373 INFO L302 stractBuchiCegarLoop]: Hoare is None [2024-11-12 21:41:40,374 INFO L303 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2024-11-12 21:41:40,374 INFO L304 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2024-11-12 21:41:40,374 INFO L305 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2024-11-12 21:41:40,374 INFO L306 stractBuchiCegarLoop]: Difference is false [2024-11-12 21:41:40,374 INFO L307 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2024-11-12 21:41:40,374 INFO L311 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2024-11-12 21:41:40,379 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 288 states, 287 states have (on average 1.362369337979094) internal successors, (391), 287 states have internal predecessors, (391), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:40,402 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 189 [2024-11-12 21:41:40,403 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-12 21:41:40,403 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-12 21:41:40,409 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:40,409 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:40,409 INFO L333 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2024-11-12 21:41:40,410 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 288 states, 287 states have (on average 1.362369337979094) internal successors, (391), 287 states have internal predecessors, (391), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:40,423 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 189 [2024-11-12 21:41:40,424 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-12 21:41:40,424 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-12 21:41:40,424 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:40,425 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:40,433 INFO L747 eck$LassoCheckResult]: Stem: "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(31, 2);call #Ultimate.allocInit(12, 3);call #Ultimate.allocInit(30, 4);call #Ultimate.allocInit(9, 5);call #Ultimate.allocInit(21, 6);call #Ultimate.allocInit(30, 7);call #Ultimate.allocInit(9, 8);call #Ultimate.allocInit(21, 9);call #Ultimate.allocInit(30, 10);call #Ultimate.allocInit(9, 11);call #Ultimate.allocInit(25, 12);call #Ultimate.allocInit(30, 13);call #Ultimate.allocInit(9, 14);call #Ultimate.allocInit(25, 15);~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~cleanupTimeShifts~0 := 4;" "assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~13#1, main_~tmp~10#1;havoc main_~retValue_acc~13#1;havoc main_~tmp~10#1;assume { :begin_inline_select_helpers } true;" "assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true;" "assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;havoc valid_product_~retValue_acc~9#1;valid_product_~retValue_acc~9#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~9#1;" "main_#t~ret54#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;assume { :end_inline_valid_product } true;main_~tmp~10#1 := main_#t~ret54#1;havoc main_#t~ret54#1;" "assume 0 != main_~tmp~10#1;assume { :begin_inline_setup } true;" "assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0;" "assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_#t~nondet26#1, test_~splverifierCounter~0#1, test_~tmp~5#1, test_~tmp___0~2#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~5#1;havoc test_~tmp___0~2#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0;" [2024-11-12 21:41:40,435 INFO L749 eck$LassoCheckResult]: Loop: "assume !false;" "assume test_~splverifierCounter~0#1 < 4;" "havoc test_#t~nondet23#1;test_~tmp~5#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1;" "assume !(0 != test_~tmp~5#1);" "havoc test_#t~nondet24#1;test_~tmp___0~2#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1;" "assume !(0 != test_~tmp___0~2#1);" "havoc test_#t~nondet25#1;test_~tmp___2~0#1 := test_#t~nondet25#1;havoc test_#t~nondet25#1;" "assume !(0 != test_~tmp___2~0#1);havoc test_#t~nondet26#1;test_~tmp___1~0#1 := test_#t~nondet26#1;havoc test_#t~nondet26#1;" "assume !(0 != test_~tmp___1~0#1);" "assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;havoc isPumpRunning_~retValue_acc~5#1;isPumpRunning_~retValue_acc~5#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~5#1;" "__utac_acc__Specification5_spec__2_#t~ret28#1 := isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret28#1;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;" "havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :end_inline___utac_acc__Specification5_spec__2 } true;" "assume !(0 != ~pumpRunning~0);" "assume !(0 != ~systemActive~0);" "assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;havoc getWaterLevel_~retValue_acc~1#1;getWaterLevel_~retValue_acc~1#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~1#1;" "__utac_acc__Specification5_spec__3_#t~ret29#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret29#1;havoc __utac_acc__Specification5_spec__3_#t~ret29#1;" "assume !(2 != __utac_acc__Specification5_spec__3_~tmp~6#1);" "havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :end_inline___utac_acc__Specification5_spec__3 } true;" "assume { :end_inline_timeShift } true;" [2024-11-12 21:41:40,440 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:40,440 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 1 times [2024-11-12 21:41:40,447 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:40,448 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1861475437] [2024-11-12 21:41:40,448 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:40,448 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:40,526 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:40,527 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:40,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:40,552 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:40,554 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:40,554 INFO L85 PathProgramCache]: Analyzing trace with hash 1594817083, now seen corresponding path program 1 times [2024-11-12 21:41:40,555 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:40,555 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1136272445] [2024-11-12 21:41:40,555 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:40,555 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:40,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:40,567 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:40,571 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:40,574 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:40,575 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:40,575 INFO L85 PathProgramCache]: Analyzing trace with hash -1270401870, now seen corresponding path program 1 times [2024-11-12 21:41:40,575 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:40,575 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [563964980] [2024-11-12 21:41:40,576 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:40,576 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:40,593 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-12 21:41:40,793 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-12 21:41:40,795 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [563964980] [2024-11-12 21:41:40,796 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [563964980] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-12 21:41:40,796 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [88705385] [2024-11-12 21:41:40,797 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:40,797 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-12 21:41:40,798 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-12 21:41:40,801 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-12 21:41:40,802 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-11-12 21:41:40,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-12 21:41:40,877 INFO L256 TraceCheckSpWp]: Trace formula consists of 132 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-12 21:41:40,878 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-12 21:41:40,931 INFO L312 TraceCheckSpWp]: Computing backward predicates... [2024-11-12 21:41:40,976 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [88705385] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-12 21:41:40,977 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-12 21:41:40,977 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 2, 2] total 6 [2024-11-12 21:41:40,978 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1944949189] [2024-11-12 21:41:40,978 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-12 21:41:41,061 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-12 21:41:41,095 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-12 21:41:41,096 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2024-11-12 21:41:41,097 INFO L87 Difference]: Start difference. First operand has 288 states, 287 states have (on average 1.362369337979094) internal successors, (391), 287 states have internal predecessors, (391), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 7 states, 7 states have (on average 7.0) internal successors, (49), 6 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:41,236 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-12 21:41:41,236 INFO L93 Difference]: Finished difference Result 628 states and 835 transitions. [2024-11-12 21:41:41,241 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 628 states and 835 transitions. [2024-11-12 21:41:41,254 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 413 [2024-11-12 21:41:41,264 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 628 states to 598 states and 805 transitions. [2024-11-12 21:41:41,267 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 598 [2024-11-12 21:41:41,268 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 598 [2024-11-12 21:41:41,269 INFO L73 IsDeterministic]: Start isDeterministic. Operand 598 states and 805 transitions. [2024-11-12 21:41:41,274 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-11-12 21:41:41,276 INFO L218 hiAutomatonCegarLoop]: Abstraction has 598 states and 805 transitions. [2024-11-12 21:41:41,291 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 598 states and 805 transitions. [2024-11-12 21:41:41,320 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 598 to 333. [2024-11-12 21:41:41,323 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 333 states, 333 states have (on average 1.3423423423423424) internal successors, (447), 332 states have internal predecessors, (447), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:41,324 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 333 states to 333 states and 447 transitions. [2024-11-12 21:41:41,325 INFO L240 hiAutomatonCegarLoop]: Abstraction has 333 states and 447 transitions. [2024-11-12 21:41:41,326 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-12 21:41:41,329 INFO L426 stractBuchiCegarLoop]: Abstraction has 333 states and 447 transitions. [2024-11-12 21:41:41,331 INFO L333 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2024-11-12 21:41:41,331 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 333 states and 447 transitions. [2024-11-12 21:41:41,335 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 229 [2024-11-12 21:41:41,335 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-12 21:41:41,335 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-12 21:41:41,336 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:41,336 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:41,336 INFO L747 eck$LassoCheckResult]: Stem: "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(31, 2);call #Ultimate.allocInit(12, 3);call #Ultimate.allocInit(30, 4);call #Ultimate.allocInit(9, 5);call #Ultimate.allocInit(21, 6);call #Ultimate.allocInit(30, 7);call #Ultimate.allocInit(9, 8);call #Ultimate.allocInit(21, 9);call #Ultimate.allocInit(30, 10);call #Ultimate.allocInit(9, 11);call #Ultimate.allocInit(25, 12);call #Ultimate.allocInit(30, 13);call #Ultimate.allocInit(9, 14);call #Ultimate.allocInit(25, 15);~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~cleanupTimeShifts~0 := 4;" "assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~13#1, main_~tmp~10#1;havoc main_~retValue_acc~13#1;havoc main_~tmp~10#1;assume { :begin_inline_select_helpers } true;" "assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true;" "assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;havoc valid_product_~retValue_acc~9#1;valid_product_~retValue_acc~9#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~9#1;" "main_#t~ret54#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;assume { :end_inline_valid_product } true;main_~tmp~10#1 := main_#t~ret54#1;havoc main_#t~ret54#1;" "assume 0 != main_~tmp~10#1;assume { :begin_inline_setup } true;" "assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0;" "assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_#t~nondet26#1, test_~splverifierCounter~0#1, test_~tmp~5#1, test_~tmp___0~2#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~5#1;havoc test_~tmp___0~2#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0;" [2024-11-12 21:41:41,336 INFO L749 eck$LassoCheckResult]: Loop: "assume !false;" "assume test_~splverifierCounter~0#1 < 4;" "havoc test_#t~nondet23#1;test_~tmp~5#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1;" "assume !(0 != test_~tmp~5#1);" "havoc test_#t~nondet24#1;test_~tmp___0~2#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1;" "assume !(0 != test_~tmp___0~2#1);" "havoc test_#t~nondet25#1;test_~tmp___2~0#1 := test_#t~nondet25#1;havoc test_#t~nondet25#1;" "assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1;" "assume { :end_inline_startSystem } true;" "assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;havoc isPumpRunning_~retValue_acc~5#1;isPumpRunning_~retValue_acc~5#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~5#1;" "__utac_acc__Specification5_spec__2_#t~ret28#1 := isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret28#1;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;" "havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :end_inline___utac_acc__Specification5_spec__2 } true;" "assume !(0 != ~pumpRunning~0);" "assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret11#1, processEnvironment_~tmp~2#1;havoc processEnvironment_~tmp~2#1;" "assume 0 != ~pumpRunning~0;assume { :begin_inline_isMethaneAlarm } true;havoc isMethaneAlarm_#res#1;havoc isMethaneAlarm_#t~ret12#1, isMethaneAlarm_~retValue_acc~4#1;havoc isMethaneAlarm_~retValue_acc~4#1;assume { :begin_inline_isMethaneLevelCritical } true;havoc isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;isMethaneLevelCritical_~retValue_acc~0#1 := ~methaneLevelCritical~0;isMethaneLevelCritical_#res#1 := isMethaneLevelCritical_~retValue_acc~0#1;" "isMethaneAlarm_#t~ret12#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;isMethaneAlarm_~retValue_acc~4#1 := isMethaneAlarm_#t~ret12#1;havoc isMethaneAlarm_#t~ret12#1;isMethaneAlarm_#res#1 := isMethaneAlarm_~retValue_acc~4#1;" "processEnvironment_#t~ret11#1 := isMethaneAlarm_#res#1;havoc isMethaneAlarm_#t~ret12#1, isMethaneAlarm_~retValue_acc~4#1;assume { :end_inline_isMethaneAlarm } true;processEnvironment_~tmp~2#1 := processEnvironment_#t~ret11#1;havoc processEnvironment_#t~ret11#1;" "assume 0 != processEnvironment_~tmp~2#1;assume { :begin_inline_deactivatePump } true;~pumpRunning~0 := 0;" "assume { :end_inline_deactivatePump } true;" "havoc processEnvironment_#t~ret11#1, processEnvironment_~tmp~2#1;assume { :end_inline_processEnvironment } true;" "assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;havoc getWaterLevel_~retValue_acc~1#1;getWaterLevel_~retValue_acc~1#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~1#1;" "__utac_acc__Specification5_spec__3_#t~ret29#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret29#1;havoc __utac_acc__Specification5_spec__3_#t~ret29#1;" "assume !(2 != __utac_acc__Specification5_spec__3_~tmp~6#1);" "havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :end_inline___utac_acc__Specification5_spec__3 } true;" "assume { :end_inline_timeShift } true;" [2024-11-12 21:41:41,337 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,337 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 2 times [2024-11-12 21:41:41,337 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,337 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1249473704] [2024-11-12 21:41:41,339 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,339 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:41,354 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,354 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:41,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,367 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:41,369 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,370 INFO L85 PathProgramCache]: Analyzing trace with hash -1879028458, now seen corresponding path program 1 times [2024-11-12 21:41:41,370 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,370 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2144679633] [2024-11-12 21:41:41,370 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,370 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:41,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-12 21:41:41,404 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-12 21:41:41,404 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2144679633] [2024-11-12 21:41:41,404 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2144679633] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-12 21:41:41,404 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1791252194] [2024-11-12 21:41:41,404 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,405 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-12 21:41:41,405 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-12 21:41:41,407 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-12 21:41:41,409 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-11-12 21:41:41,451 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-12 21:41:41,452 INFO L256 TraceCheckSpWp]: Trace formula consists of 51 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-12 21:41:41,453 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-12 21:41:41,458 INFO L312 TraceCheckSpWp]: Computing backward predicates... [2024-11-12 21:41:41,463 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1791252194] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-12 21:41:41,464 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-12 21:41:41,464 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 3 [2024-11-12 21:41:41,464 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1513567072] [2024-11-12 21:41:41,464 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-12 21:41:41,465 INFO L764 eck$LassoCheckResult]: loop already infeasible [2024-11-12 21:41:41,465 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-12 21:41:41,465 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-12 21:41:41,465 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-12 21:41:41,466 INFO L87 Difference]: Start difference. First operand 333 states and 447 transitions. cyclomatic complexity: 117 Second operand has 3 states, 3 states have (on average 8.333333333333334) internal successors, (25), 3 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:41,541 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-12 21:41:41,541 INFO L93 Difference]: Finished difference Result 348 states and 442 transitions. [2024-11-12 21:41:41,542 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 348 states and 442 transitions. [2024-11-12 21:41:41,544 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 245 [2024-11-12 21:41:41,545 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 348 states to 348 states and 442 transitions. [2024-11-12 21:41:41,545 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 348 [2024-11-12 21:41:41,546 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 348 [2024-11-12 21:41:41,546 INFO L73 IsDeterministic]: Start isDeterministic. Operand 348 states and 442 transitions. [2024-11-12 21:41:41,546 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-11-12 21:41:41,547 INFO L218 hiAutomatonCegarLoop]: Abstraction has 348 states and 442 transitions. [2024-11-12 21:41:41,547 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 348 states and 442 transitions. [2024-11-12 21:41:41,557 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 348 to 348. [2024-11-12 21:41:41,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 348 states, 348 states have (on average 1.2701149425287357) internal successors, (442), 347 states have internal predecessors, (442), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:41,559 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 348 states to 348 states and 442 transitions. [2024-11-12 21:41:41,559 INFO L240 hiAutomatonCegarLoop]: Abstraction has 348 states and 442 transitions. [2024-11-12 21:41:41,559 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-12 21:41:41,560 INFO L426 stractBuchiCegarLoop]: Abstraction has 348 states and 442 transitions. [2024-11-12 21:41:41,560 INFO L333 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2024-11-12 21:41:41,560 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 348 states and 442 transitions. [2024-11-12 21:41:41,562 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 245 [2024-11-12 21:41:41,562 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-12 21:41:41,562 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-12 21:41:41,562 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:41,563 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:41,563 INFO L747 eck$LassoCheckResult]: Stem: "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(31, 2);call #Ultimate.allocInit(12, 3);call #Ultimate.allocInit(30, 4);call #Ultimate.allocInit(9, 5);call #Ultimate.allocInit(21, 6);call #Ultimate.allocInit(30, 7);call #Ultimate.allocInit(9, 8);call #Ultimate.allocInit(21, 9);call #Ultimate.allocInit(30, 10);call #Ultimate.allocInit(9, 11);call #Ultimate.allocInit(25, 12);call #Ultimate.allocInit(30, 13);call #Ultimate.allocInit(9, 14);call #Ultimate.allocInit(25, 15);~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~cleanupTimeShifts~0 := 4;" "assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~13#1, main_~tmp~10#1;havoc main_~retValue_acc~13#1;havoc main_~tmp~10#1;assume { :begin_inline_select_helpers } true;" "assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true;" "assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;havoc valid_product_~retValue_acc~9#1;valid_product_~retValue_acc~9#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~9#1;" "main_#t~ret54#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;assume { :end_inline_valid_product } true;main_~tmp~10#1 := main_#t~ret54#1;havoc main_#t~ret54#1;" "assume 0 != main_~tmp~10#1;assume { :begin_inline_setup } true;" "assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0;" "assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_#t~nondet26#1, test_~splverifierCounter~0#1, test_~tmp~5#1, test_~tmp___0~2#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~5#1;havoc test_~tmp___0~2#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0;" [2024-11-12 21:41:41,563 INFO L749 eck$LassoCheckResult]: Loop: "assume !false;" "assume test_~splverifierCounter~0#1 < 4;" "havoc test_#t~nondet23#1;test_~tmp~5#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1;" "assume !(0 != test_~tmp~5#1);" "havoc test_#t~nondet24#1;test_~tmp___0~2#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1;" "assume !(0 != test_~tmp___0~2#1);" "havoc test_#t~nondet25#1;test_~tmp___2~0#1 := test_#t~nondet25#1;havoc test_#t~nondet25#1;" "assume !(0 != test_~tmp___2~0#1);havoc test_#t~nondet26#1;test_~tmp___1~0#1 := test_#t~nondet26#1;havoc test_#t~nondet26#1;" "assume !(0 != test_~tmp___1~0#1);" "assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;havoc isPumpRunning_~retValue_acc~5#1;isPumpRunning_~retValue_acc~5#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~5#1;" "__utac_acc__Specification5_spec__2_#t~ret28#1 := isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret28#1;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;" "havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :end_inline___utac_acc__Specification5_spec__2 } true;" "assume !(0 != ~pumpRunning~0);" "assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret11#1, processEnvironment_~tmp~2#1;havoc processEnvironment_~tmp~2#1;" "assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__lowWaterSensor } true;havoc processEnvironment__wrappee__lowWaterSensor_#t~ret10#1, processEnvironment__wrappee__lowWaterSensor_~tmp~1#1;havoc processEnvironment__wrappee__lowWaterSensor_~tmp~1#1;" "assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__highWaterSensor } true;havoc processEnvironment__wrappee__highWaterSensor_#t~ret9#1, processEnvironment__wrappee__highWaterSensor_~tmp~0#1;havoc processEnvironment__wrappee__highWaterSensor_~tmp~0#1;" "assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret21#1, isHighWaterLevel_~retValue_acc~6#1, isHighWaterLevel_~tmp~3#1, isHighWaterLevel_~tmp___0~0#1;havoc isHighWaterLevel_~retValue_acc~6#1;havoc isHighWaterLevel_~tmp~3#1;havoc isHighWaterLevel_~tmp___0~0#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;" "assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~2#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~2#1;" "isHighWaterLevel_#t~ret21#1 := isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~3#1 := isHighWaterLevel_#t~ret21#1;havoc isHighWaterLevel_#t~ret21#1;" "assume 0 != isHighWaterLevel_~tmp~3#1;isHighWaterLevel_~tmp___0~0#1 := 0;" "isHighWaterLevel_~retValue_acc~6#1 := isHighWaterLevel_~tmp___0~0#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~6#1;" "processEnvironment__wrappee__highWaterSensor_#t~ret9#1 := isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret21#1, isHighWaterLevel_~retValue_acc~6#1, isHighWaterLevel_~tmp~3#1, isHighWaterLevel_~tmp___0~0#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment__wrappee__highWaterSensor_~tmp~0#1 := processEnvironment__wrappee__highWaterSensor_#t~ret9#1;havoc processEnvironment__wrappee__highWaterSensor_#t~ret9#1;" "assume !(0 != processEnvironment__wrappee__highWaterSensor_~tmp~0#1);assume { :begin_inline_processEnvironment__wrappee__base } true;" "assume { :end_inline_processEnvironment__wrappee__base } true;" "havoc processEnvironment__wrappee__highWaterSensor_#t~ret9#1, processEnvironment__wrappee__highWaterSensor_~tmp~0#1;assume { :end_inline_processEnvironment__wrappee__highWaterSensor } true;" "havoc processEnvironment__wrappee__lowWaterSensor_#t~ret10#1, processEnvironment__wrappee__lowWaterSensor_~tmp~1#1;assume { :end_inline_processEnvironment__wrappee__lowWaterSensor } true;" "havoc processEnvironment_#t~ret11#1, processEnvironment_~tmp~2#1;assume { :end_inline_processEnvironment } true;" "assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;havoc getWaterLevel_~retValue_acc~1#1;getWaterLevel_~retValue_acc~1#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~1#1;" "__utac_acc__Specification5_spec__3_#t~ret29#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret29#1;havoc __utac_acc__Specification5_spec__3_#t~ret29#1;" "assume !(2 != __utac_acc__Specification5_spec__3_~tmp~6#1);" "havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :end_inline___utac_acc__Specification5_spec__3 } true;" "assume { :end_inline_timeShift } true;" [2024-11-12 21:41:41,564 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,564 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 3 times [2024-11-12 21:41:41,564 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,564 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1238922063] [2024-11-12 21:41:41,564 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,564 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:41,570 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,571 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:41,574 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,577 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:41,577 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,577 INFO L85 PathProgramCache]: Analyzing trace with hash -2094310346, now seen corresponding path program 1 times [2024-11-12 21:41:41,577 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,578 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1513437046] [2024-11-12 21:41:41,578 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,578 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:41,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-12 21:41:41,635 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-12 21:41:41,635 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1513437046] [2024-11-12 21:41:41,635 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1513437046] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-12 21:41:41,636 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1473634883] [2024-11-12 21:41:41,636 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,636 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-12 21:41:41,636 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-12 21:41:41,638 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-12 21:41:41,645 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2024-11-12 21:41:41,689 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-12 21:41:41,689 INFO L256 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 5 conjuncts are in the unsatisfiable core [2024-11-12 21:41:41,691 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-12 21:41:41,730 INFO L312 TraceCheckSpWp]: Computing backward predicates... [2024-11-12 21:41:41,757 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1473634883] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-12 21:41:41,757 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-12 21:41:41,757 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5, 5] total 8 [2024-11-12 21:41:41,758 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [921357467] [2024-11-12 21:41:41,758 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-12 21:41:41,758 INFO L764 eck$LassoCheckResult]: loop already infeasible [2024-11-12 21:41:41,758 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-12 21:41:41,759 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2024-11-12 21:41:41,759 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=16, Invalid=40, Unknown=0, NotChecked=0, Total=56 [2024-11-12 21:41:41,759 INFO L87 Difference]: Start difference. First operand 348 states and 442 transitions. cyclomatic complexity: 97 Second operand has 8 states, 8 states have (on average 5.625) internal successors, (45), 8 states have internal predecessors, (45), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:41,915 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-12 21:41:41,915 INFO L93 Difference]: Finished difference Result 685 states and 852 transitions. [2024-11-12 21:41:41,915 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 685 states and 852 transitions. [2024-11-12 21:41:41,918 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 487 [2024-11-12 21:41:41,920 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 685 states to 685 states and 852 transitions. [2024-11-12 21:41:41,920 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 685 [2024-11-12 21:41:41,921 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 685 [2024-11-12 21:41:41,921 INFO L73 IsDeterministic]: Start isDeterministic. Operand 685 states and 852 transitions. [2024-11-12 21:41:41,922 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-11-12 21:41:41,922 INFO L218 hiAutomatonCegarLoop]: Abstraction has 685 states and 852 transitions. [2024-11-12 21:41:41,922 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 685 states and 852 transitions. [2024-11-12 21:41:41,942 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 685 to 685. [2024-11-12 21:41:41,943 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 685 states, 685 states have (on average 1.243795620437956) internal successors, (852), 684 states have internal predecessors, (852), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-12 21:41:41,944 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 685 states to 685 states and 852 transitions. [2024-11-12 21:41:41,944 INFO L240 hiAutomatonCegarLoop]: Abstraction has 685 states and 852 transitions. [2024-11-12 21:41:41,944 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-12 21:41:41,945 INFO L426 stractBuchiCegarLoop]: Abstraction has 685 states and 852 transitions. [2024-11-12 21:41:41,945 INFO L333 stractBuchiCegarLoop]: ======== Iteration 4 ============ [2024-11-12 21:41:41,945 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 685 states and 852 transitions. [2024-11-12 21:41:41,947 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 487 [2024-11-12 21:41:41,947 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-12 21:41:41,947 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-12 21:41:41,948 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:41,949 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-12 21:41:41,949 INFO L747 eck$LassoCheckResult]: Stem: "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(31, 2);call #Ultimate.allocInit(12, 3);call #Ultimate.allocInit(30, 4);call #Ultimate.allocInit(9, 5);call #Ultimate.allocInit(21, 6);call #Ultimate.allocInit(30, 7);call #Ultimate.allocInit(9, 8);call #Ultimate.allocInit(21, 9);call #Ultimate.allocInit(30, 10);call #Ultimate.allocInit(9, 11);call #Ultimate.allocInit(25, 12);call #Ultimate.allocInit(30, 13);call #Ultimate.allocInit(9, 14);call #Ultimate.allocInit(25, 15);~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~cleanupTimeShifts~0 := 4;" "assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~13#1, main_~tmp~10#1;havoc main_~retValue_acc~13#1;havoc main_~tmp~10#1;assume { :begin_inline_select_helpers } true;" "assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true;" "assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;havoc valid_product_~retValue_acc~9#1;valid_product_~retValue_acc~9#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~9#1;" "main_#t~ret54#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~9#1;assume { :end_inline_valid_product } true;main_~tmp~10#1 := main_#t~ret54#1;havoc main_#t~ret54#1;" "assume 0 != main_~tmp~10#1;assume { :begin_inline_setup } true;" "assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0;" "assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_#t~nondet26#1, test_~splverifierCounter~0#1, test_~tmp~5#1, test_~tmp___0~2#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~5#1;havoc test_~tmp___0~2#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0;" [2024-11-12 21:41:41,949 INFO L749 eck$LassoCheckResult]: Loop: "assume !false;" "assume test_~splverifierCounter~0#1 < 4;" "havoc test_#t~nondet23#1;test_~tmp~5#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1;" "assume !(0 != test_~tmp~5#1);" "havoc test_#t~nondet24#1;test_~tmp___0~2#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1;" "assume !(0 != test_~tmp___0~2#1);" "havoc test_#t~nondet25#1;test_~tmp___2~0#1 := test_#t~nondet25#1;havoc test_#t~nondet25#1;" "assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1;" "assume { :end_inline_startSystem } true;" "assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;havoc isPumpRunning_~retValue_acc~5#1;isPumpRunning_~retValue_acc~5#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~5#1;" "__utac_acc__Specification5_spec__2_#t~ret28#1 := isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret28#1;havoc __utac_acc__Specification5_spec__2_#t~ret28#1;" "havoc __utac_acc__Specification5_spec__2_#t~ret28#1;assume { :end_inline___utac_acc__Specification5_spec__2 } true;" "assume !(0 != ~pumpRunning~0);" "assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret11#1, processEnvironment_~tmp~2#1;havoc processEnvironment_~tmp~2#1;" "assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__lowWaterSensor } true;havoc processEnvironment__wrappee__lowWaterSensor_#t~ret10#1, processEnvironment__wrappee__lowWaterSensor_~tmp~1#1;havoc processEnvironment__wrappee__lowWaterSensor_~tmp~1#1;" "assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__highWaterSensor } true;havoc processEnvironment__wrappee__highWaterSensor_#t~ret9#1, processEnvironment__wrappee__highWaterSensor_~tmp~0#1;havoc processEnvironment__wrappee__highWaterSensor_~tmp~0#1;" "assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret21#1, isHighWaterLevel_~retValue_acc~6#1, isHighWaterLevel_~tmp~3#1, isHighWaterLevel_~tmp___0~0#1;havoc isHighWaterLevel_~retValue_acc~6#1;havoc isHighWaterLevel_~tmp~3#1;havoc isHighWaterLevel_~tmp___0~0#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;" "assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~2#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~2#1;" "isHighWaterLevel_#t~ret21#1 := isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~3#1 := isHighWaterLevel_#t~ret21#1;havoc isHighWaterLevel_#t~ret21#1;" "assume 0 != isHighWaterLevel_~tmp~3#1;isHighWaterLevel_~tmp___0~0#1 := 0;" "isHighWaterLevel_~retValue_acc~6#1 := isHighWaterLevel_~tmp___0~0#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~6#1;" "processEnvironment__wrappee__highWaterSensor_#t~ret9#1 := isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret21#1, isHighWaterLevel_~retValue_acc~6#1, isHighWaterLevel_~tmp~3#1, isHighWaterLevel_~tmp___0~0#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment__wrappee__highWaterSensor_~tmp~0#1 := processEnvironment__wrappee__highWaterSensor_#t~ret9#1;havoc processEnvironment__wrappee__highWaterSensor_#t~ret9#1;" "assume !(0 != processEnvironment__wrappee__highWaterSensor_~tmp~0#1);assume { :begin_inline_processEnvironment__wrappee__base } true;" "assume { :end_inline_processEnvironment__wrappee__base } true;" "havoc processEnvironment__wrappee__highWaterSensor_#t~ret9#1, processEnvironment__wrappee__highWaterSensor_~tmp~0#1;assume { :end_inline_processEnvironment__wrappee__highWaterSensor } true;" "havoc processEnvironment__wrappee__lowWaterSensor_#t~ret10#1, processEnvironment__wrappee__lowWaterSensor_~tmp~1#1;assume { :end_inline_processEnvironment__wrappee__lowWaterSensor } true;" "havoc processEnvironment_#t~ret11#1, processEnvironment_~tmp~2#1;assume { :end_inline_processEnvironment } true;" "assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;havoc getWaterLevel_~retValue_acc~1#1;getWaterLevel_~retValue_acc~1#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~1#1;" "__utac_acc__Specification5_spec__3_#t~ret29#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret29#1;havoc __utac_acc__Specification5_spec__3_#t~ret29#1;" "assume 2 != __utac_acc__Specification5_spec__3_~tmp~6#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;havoc isPumpRunning_~retValue_acc~5#1;isPumpRunning_~retValue_acc~5#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~5#1;" "__utac_acc__Specification5_spec__3_#t~ret30#1 := isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~5#1;assume { :end_inline_isPumpRunning } true;__utac_acc__Specification5_spec__3_~tmp___0~3#1 := __utac_acc__Specification5_spec__3_#t~ret30#1;havoc __utac_acc__Specification5_spec__3_#t~ret30#1;" "assume !(0 != __utac_acc__Specification5_spec__3_~tmp___0~3#1);" "havoc __utac_acc__Specification5_spec__3_#t~ret29#1, __utac_acc__Specification5_spec__3_#t~ret30#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~3#1;assume { :end_inline___utac_acc__Specification5_spec__3 } true;" "assume { :end_inline_timeShift } true;" [2024-11-12 21:41:41,950 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,950 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 4 times [2024-11-12 21:41:41,950 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,953 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [995968016] [2024-11-12 21:41:41,954 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,954 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:41,963 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,963 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:41,967 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,972 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:41,974 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,974 INFO L85 PathProgramCache]: Analyzing trace with hash 1576575199, now seen corresponding path program 1 times [2024-11-12 21:41:41,974 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,975 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [427923696] [2024-11-12 21:41:41,975 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,975 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:41,983 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,987 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:41,990 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:41,996 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:41,997 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-12 21:41:41,997 INFO L85 PathProgramCache]: Analyzing trace with hash -657241720, now seen corresponding path program 1 times [2024-11-12 21:41:41,997 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-12 21:41:41,998 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1497558049] [2024-11-12 21:41:41,998 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-12 21:41:41,999 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-12 21:41:42,010 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:42,010 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:42,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:42,018 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-12 21:41:42,716 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:42,716 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-12 21:41:42,724 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-12 21:41:42,771 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 12.11 09:41:42 BoogieIcfgContainer [2024-11-12 21:41:42,772 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2024-11-12 21:41:42,772 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-12 21:41:42,772 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-12 21:41:42,772 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-12 21:41:42,773 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 09:41:40" (3/4) ... [2024-11-12 21:41:42,774 INFO L139 WitnessPrinter]: Generating witness for non-termination counterexample [2024-11-12 21:41:42,809 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-11-12 21:41:42,809 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-12 21:41:42,809 INFO L158 Benchmark]: Toolchain (without parser) took 3748.32ms. Allocated memory was 169.9MB in the beginning and 262.1MB in the end (delta: 92.3MB). Free memory was 99.5MB in the beginning and 199.0MB in the end (delta: -99.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-12 21:41:42,810 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 169.9MB. Free memory is still 128.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-12 21:41:42,810 INFO L158 Benchmark]: CACSL2BoogieTranslator took 452.82ms. Allocated memory is still 169.9MB. Free memory was 99.3MB in the beginning and 127.5MB in the end (delta: -28.2MB). Peak memory consumption was 10.2MB. Max. memory is 16.1GB. [2024-11-12 21:41:42,810 INFO L158 Benchmark]: Boogie Procedure Inliner took 72.25ms. Allocated memory is still 169.9MB. Free memory was 127.5MB in the beginning and 122.8MB in the end (delta: 4.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-12 21:41:42,810 INFO L158 Benchmark]: Boogie Preprocessor took 52.48ms. Allocated memory is still 169.9MB. Free memory was 122.8MB in the beginning and 117.8MB in the end (delta: 5.0MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-11-12 21:41:42,811 INFO L158 Benchmark]: RCFGBuilder took 670.06ms. Allocated memory is still 169.9MB. Free memory was 117.8MB in the beginning and 75.9MB in the end (delta: 41.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-12 21:41:42,811 INFO L158 Benchmark]: BuchiAutomizer took 2456.74ms. Allocated memory was 169.9MB in the beginning and 262.1MB in the end (delta: 92.3MB). Free memory was 75.1MB in the beginning and 202.2MB in the end (delta: -127.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-12 21:41:42,811 INFO L158 Benchmark]: Witness Printer took 37.01ms. Allocated memory is still 262.1MB. Free memory was 202.2MB in the beginning and 199.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-12 21:41:42,812 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.18ms. Allocated memory is still 169.9MB. Free memory is still 128.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 452.82ms. Allocated memory is still 169.9MB. Free memory was 99.3MB in the beginning and 127.5MB in the end (delta: -28.2MB). Peak memory consumption was 10.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 72.25ms. Allocated memory is still 169.9MB. Free memory was 127.5MB in the beginning and 122.8MB in the end (delta: 4.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 52.48ms. Allocated memory is still 169.9MB. Free memory was 122.8MB in the beginning and 117.8MB in the end (delta: 5.0MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * RCFGBuilder took 670.06ms. Allocated memory is still 169.9MB. Free memory was 117.8MB in the beginning and 75.9MB in the end (delta: 41.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * BuchiAutomizer took 2456.74ms. Allocated memory was 169.9MB in the beginning and 262.1MB in the end (delta: 92.3MB). Free memory was 75.1MB in the beginning and 202.2MB in the end (delta: -127.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 37.01ms. Allocated memory is still 262.1MB. Free memory was 202.2MB in the beginning and 199.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 49]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Environment.i","") [49] - GenericResultAtLocation [Line: 160]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"MinePump.i","") [160] - GenericResultAtLocation [Line: 418]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"scenario.i","") [418] - GenericResultAtLocation [Line: 488]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"featureselect.i","") [488] - GenericResultAtLocation [Line: 526]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"wsllib_check.i","") [526] - GenericResultAtLocation [Line: 535]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Specification5_spec.i","") [535] - GenericResultAtLocation [Line: 584]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"libacc.i","") [584] - GenericResultAtLocation [Line: 950]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Test.i","") [950] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 3 terminating modules (3 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.3 modules have a trivial ranking function, the largest among these consists of 8 locations. The remainder module has 685 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.3s and 4 iterations. TraceHistogramMax:1. Analysis of lassos took 1.7s. Construction of modules took 0.1s. Büchi inclusion checks took 0.3s. Highest rank in rank-based complementation 0. Minimization of det autom 3. Minimization of nondet autom 0. Automata minimization 0.1s AutomataMinimizationTime, 3 MinimizatonAttempts, 265 StatesRemovedByMinimization, 1 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 1161 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 1161 mSDsluCounter, 4201 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 3210 mSDsCounter, 79 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 257 IncrementalHoareTripleChecker+Invalid, 336 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 79 mSolverCounterUnsat, 991 mSDtfsCounter, 257 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT0 conc1 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s InitialAbstractionConstructionTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - LassoShapedNonTerminationArgument [Line: 430]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite program execution. Stem: [L58] int waterLevel = 1; [L59] int methaneLevelCritical = 0; [L168] int pumpRunning = 0; [L169] int systemActive = 1; [L536] int switchedOnBeforeTS ; [L754] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L951] int cleanupTimeShifts = 4; VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] [L1025] int retValue_acc ; [L1026] int tmp ; [L1030] FCALL select_helpers() [L1031] FCALL select_features() [L1032] CALL, EXPR valid_product() [L518] int retValue_acc ; [L521] retValue_acc = 1 [L522] return (retValue_acc); VAL [\result=1, cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] [L1032] RET, EXPR valid_product() [L1032] tmp = valid_product() [L1034] COND TRUE \read(tmp) [L1036] FCALL setup() [L1037] CALL runTest() [L1018] CALL __utac_acc__Specification5_spec__1() [L541] switchedOnBeforeTS = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] [L1018] RET __utac_acc__Specification5_spec__1() [L1019] CALL test() [L421] int splverifierCounter ; [L422] int tmp ; [L423] int tmp___0 ; [L424] int tmp___1 ; [L425] int tmp___2 ; [L428] splverifierCounter = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, splverifierCounter=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] Loop: [L430] COND TRUE 1 [L432] COND TRUE splverifierCounter < 4 [L438] tmp = __VERIFIER_nondet_int() [L440] COND FALSE !(\read(tmp)) [L448] tmp___0 = __VERIFIER_nondet_int() [L450] COND FALSE !(\read(tmp___0)) [L458] tmp___2 = __VERIFIER_nondet_int() [L460] COND TRUE \read(tmp___2) [L462] CALL startSystem() [L414] systemActive = 1 [L462] RET startSystem() [L477] CALL timeShift() [L178] CALL __utac_acc__Specification5_spec__2() [L550] CALL, EXPR isPumpRunning() [L313] int retValue_acc ; [L316] retValue_acc = pumpRunning [L317] return (retValue_acc); [L550] RET, EXPR isPumpRunning() [L550] switchedOnBeforeTS = isPumpRunning() [L178] RET __utac_acc__Specification5_spec__2() [L180] COND FALSE !(\read(pumpRunning)) [L187] COND TRUE \read(systemActive) [L189] CALL processEnvironment() [L261] int tmp ; [L264] COND FALSE !(\read(pumpRunning)) [L279] CALL processEnvironment__wrappee__lowWaterSensor() [L235] int tmp ; [L238] COND FALSE !(\read(pumpRunning)) [L253] CALL processEnvironment__wrappee__highWaterSensor() [L209] int tmp ; [L212] COND TRUE ! pumpRunning [L214] CALL, EXPR isHighWaterLevel() [L358] int retValue_acc ; [L359] int tmp ; [L360] int tmp___0 ; [L364] CALL, EXPR isHighWaterSensorDry() [L138] int retValue_acc ; [L141] COND TRUE waterLevel < 2 [L142] retValue_acc = 1 [L143] return (retValue_acc); [L364] RET, EXPR isHighWaterSensorDry() [L364] tmp = isHighWaterSensorDry() [L366] COND TRUE \read(tmp) [L367] tmp___0 = 0 [L371] retValue_acc = tmp___0 [L372] return (retValue_acc); [L214] RET, EXPR isHighWaterLevel() [L214] tmp = isHighWaterLevel() [L216] COND FALSE !(\read(tmp)) [L222] FCALL processEnvironment__wrappee__base() [L253] RET processEnvironment__wrappee__highWaterSensor() [L279] RET processEnvironment__wrappee__lowWaterSensor() [L189] RET processEnvironment() [L195] CALL __utac_acc__Specification5_spec__3() [L556] int tmp ; [L557] int tmp___0 ; [L561] CALL, EXPR getWaterLevel() [L129] int retValue_acc ; [L132] retValue_acc = waterLevel [L133] return (retValue_acc); [L561] RET, EXPR getWaterLevel() [L561] tmp = getWaterLevel() [L563] COND TRUE tmp != 2 [L565] CALL, EXPR isPumpRunning() [L313] int retValue_acc ; [L316] retValue_acc = pumpRunning [L317] return (retValue_acc); [L565] RET, EXPR isPumpRunning() [L565] tmp___0 = isPumpRunning() [L567] COND FALSE !(\read(tmp___0)) [L195] RET __utac_acc__Specification5_spec__3() [L477] RET timeShift() End of lasso representation. - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 430]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L58] int waterLevel = 1; [L59] int methaneLevelCritical = 0; [L168] int pumpRunning = 0; [L169] int systemActive = 1; [L536] int switchedOnBeforeTS ; [L754] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L951] int cleanupTimeShifts = 4; VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] [L1025] int retValue_acc ; [L1026] int tmp ; [L1030] FCALL select_helpers() [L1031] FCALL select_features() [L1032] CALL, EXPR valid_product() [L518] int retValue_acc ; [L521] retValue_acc = 1 [L522] return (retValue_acc); VAL [\result=1, cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] [L1032] RET, EXPR valid_product() [L1032] tmp = valid_product() [L1034] COND TRUE \read(tmp) [L1036] FCALL setup() [L1037] CALL runTest() [L1018] CALL __utac_acc__Specification5_spec__1() [L541] switchedOnBeforeTS = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] [L1018] RET __utac_acc__Specification5_spec__1() [L1019] CALL test() [L421] int splverifierCounter ; [L422] int tmp ; [L423] int tmp___0 ; [L424] int tmp___1 ; [L425] int tmp___2 ; [L428] splverifierCounter = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, splverifierCounter=0, switchedOnBeforeTS=0, systemActive=1, waterLevel=1] Loop: [L430] COND TRUE 1 [L432] COND TRUE splverifierCounter < 4 [L438] tmp = __VERIFIER_nondet_int() [L440] COND FALSE !(\read(tmp)) [L448] tmp___0 = __VERIFIER_nondet_int() [L450] COND FALSE !(\read(tmp___0)) [L458] tmp___2 = __VERIFIER_nondet_int() [L460] COND TRUE \read(tmp___2) [L462] CALL startSystem() [L414] systemActive = 1 [L462] RET startSystem() [L477] CALL timeShift() [L178] CALL __utac_acc__Specification5_spec__2() [L550] CALL, EXPR isPumpRunning() [L313] int retValue_acc ; [L316] retValue_acc = pumpRunning [L317] return (retValue_acc); [L550] RET, EXPR isPumpRunning() [L550] switchedOnBeforeTS = isPumpRunning() [L178] RET __utac_acc__Specification5_spec__2() [L180] COND FALSE !(\read(pumpRunning)) [L187] COND TRUE \read(systemActive) [L189] CALL processEnvironment() [L261] int tmp ; [L264] COND FALSE !(\read(pumpRunning)) [L279] CALL processEnvironment__wrappee__lowWaterSensor() [L235] int tmp ; [L238] COND FALSE !(\read(pumpRunning)) [L253] CALL processEnvironment__wrappee__highWaterSensor() [L209] int tmp ; [L212] COND TRUE ! pumpRunning [L214] CALL, EXPR isHighWaterLevel() [L358] int retValue_acc ; [L359] int tmp ; [L360] int tmp___0 ; [L364] CALL, EXPR isHighWaterSensorDry() [L138] int retValue_acc ; [L141] COND TRUE waterLevel < 2 [L142] retValue_acc = 1 [L143] return (retValue_acc); [L364] RET, EXPR isHighWaterSensorDry() [L364] tmp = isHighWaterSensorDry() [L366] COND TRUE \read(tmp) [L367] tmp___0 = 0 [L371] retValue_acc = tmp___0 [L372] return (retValue_acc); [L214] RET, EXPR isHighWaterLevel() [L214] tmp = isHighWaterLevel() [L216] COND FALSE !(\read(tmp)) [L222] FCALL processEnvironment__wrappee__base() [L253] RET processEnvironment__wrappee__highWaterSensor() [L279] RET processEnvironment__wrappee__lowWaterSensor() [L189] RET processEnvironment() [L195] CALL __utac_acc__Specification5_spec__3() [L556] int tmp ; [L557] int tmp___0 ; [L561] CALL, EXPR getWaterLevel() [L129] int retValue_acc ; [L132] retValue_acc = waterLevel [L133] return (retValue_acc); [L561] RET, EXPR getWaterLevel() [L561] tmp = getWaterLevel() [L563] COND TRUE tmp != 2 [L565] CALL, EXPR isPumpRunning() [L313] int retValue_acc ; [L316] retValue_acc = pumpRunning [L317] return (retValue_acc); [L565] RET, EXPR isPumpRunning() [L565] tmp___0 = isPumpRunning() [L567] COND FALSE !(\read(tmp___0)) [L195] RET __utac_acc__Specification5_spec__3() [L477] RET timeShift() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2024-11-12 21:41:42,837 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2024-11-12 21:41:43,037 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-11-12 21:41:43,238 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-11-12 21:41:43,442 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... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM)