./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/product-lines/minepump_spec3_product33.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 9bd2c7ff Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/product-lines/minepump_spec3_product33.cil.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu --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 e2e0ba6a085074e8295b6882a51ff57a646359fc725b3e12397ae540b49c1d93 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 07:35:41,923 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 07:35:42,048 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/config/svcomp-Termination-32bit-Automizer_Default.epf [2023-11-19 07:35:42,061 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 07:35:42,061 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-19 07:35:42,104 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 07:35:42,110 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-19 07:35:42,111 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-19 07:35:42,112 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 07:35:42,114 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 07:35:42,114 INFO L153 SettingsManager]: * Use SBE=true [2023-11-19 07:35:42,115 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2023-11-19 07:35:42,116 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2023-11-19 07:35:42,116 INFO L153 SettingsManager]: * Use old map elimination=false [2023-11-19 07:35:42,117 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2023-11-19 07:35:42,117 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2023-11-19 07:35:42,118 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2023-11-19 07:35:42,119 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 07:35:42,119 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2023-11-19 07:35:42,120 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 07:35:42,120 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 07:35:42,121 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 07:35:42,122 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 07:35:42,122 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2023-11-19 07:35:42,123 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2023-11-19 07:35:42,123 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2023-11-19 07:35:42,124 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 07:35:42,124 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 07:35:42,124 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 07:35:42,125 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2023-11-19 07:35:42,125 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 07:35:42,126 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 07:35:42,126 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-19 07:35:42,127 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 07:35:42,127 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-19 07:35:42,128 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2023-11-19 07:35:42,128 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu 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 -> e2e0ba6a085074e8295b6882a51ff57a646359fc725b3e12397ae540b49c1d93 [2023-11-19 07:35:42,417 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 07:35:42,448 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 07:35:42,453 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 07:35:42,454 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 07:35:42,455 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 07:35:42,456 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/../../sv-benchmarks/c/product-lines/minepump_spec3_product33.cil.c [2023-11-19 07:35:45,759 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 07:35:46,020 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 07:35:46,021 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/sv-benchmarks/c/product-lines/minepump_spec3_product33.cil.c [2023-11-19 07:35:46,040 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/data/e4ef6ab6c/90f9a325cfee443b98fa3e9cd2055fbf/FLAG493d636b9 [2023-11-19 07:35:46,055 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/data/e4ef6ab6c/90f9a325cfee443b98fa3e9cd2055fbf [2023-11-19 07:35:46,057 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 07:35:46,059 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 07:35:46,061 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 07:35:46,061 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 07:35:46,067 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 07:35:46,068 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,069 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3655107 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46, skipping insertion in model container [2023-11-19 07:35:46,069 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,119 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 07:35:46,440 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:35:46,460 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 07:35:46,471 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Environment.i","") [49] [2023-11-19 07:35:46,472 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Test.i","") [150] [2023-11-19 07:35:46,473 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"libacc.i","") [252] [2023-11-19 07:35:46,473 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"wsllib_check.i","") [618] [2023-11-19 07:35:46,474 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"scenario.i","") [627] [2023-11-19 07:35:46,474 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"MinePump.i","") [692] [2023-11-19 07:35:46,474 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Specification3_spec.i","") [848] [2023-11-19 07:35:46,474 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"featureselect.i","") [882] [2023-11-19 07:35:46,532 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 07:35:46,554 INFO L206 MainTranslator]: Completed translation [2023-11-19 07:35:46,555 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46 WrapperNode [2023-11-19 07:35:46,555 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 07:35:46,557 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 07:35:46,557 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 07:35:46,557 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 07:35:46,566 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,582 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,635 INFO L138 Inliner]: procedures = 52, calls = 95, calls flagged for inlining = 48, calls inlined = 53, statements flattened = 372 [2023-11-19 07:35:46,639 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 07:35:46,639 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 07:35:46,640 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 07:35:46,640 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 07:35:46,653 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,653 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,672 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,672 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,680 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,686 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,689 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,691 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,695 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 07:35:46,696 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 07:35:46,696 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 07:35:46,696 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 07:35:46,697 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (1/1) ... [2023-11-19 07:35:46,708 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-11-19 07:35:46,736 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/z3 [2023-11-19 07:35:46,749 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2023-11-19 07:35:46,752 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2023-11-19 07:35:46,785 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 07:35:46,800 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 07:35:46,800 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 07:35:46,800 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 07:35:46,893 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 07:35:46,895 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 07:35:47,284 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 07:35:47,295 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 07:35:47,295 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-19 07:35:47,300 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 07:35:47 BoogieIcfgContainer [2023-11-19 07:35:47,300 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 07:35:47,302 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2023-11-19 07:35:47,302 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2023-11-19 07:35:47,306 INFO L274 PluginConnector]: BuchiAutomizer initialized [2023-11-19 07:35:47,307 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-11-19 07:35:47,307 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.11 07:35:46" (1/3) ... [2023-11-19 07:35:47,309 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7f89b0d5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.11 07:35:47, skipping insertion in model container [2023-11-19 07:35:47,309 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-11-19 07:35:47,309 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 07:35:46" (2/3) ... [2023-11-19 07:35:47,310 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7f89b0d5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.11 07:35:47, skipping insertion in model container [2023-11-19 07:35:47,310 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-11-19 07:35:47,310 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 07:35:47" (3/3) ... [2023-11-19 07:35:47,312 INFO L332 chiAutomizerObserver]: Analyzing ICFG minepump_spec3_product33.cil.c [2023-11-19 07:35:47,380 INFO L303 stractBuchiCegarLoop]: Interprodecural is true [2023-11-19 07:35:47,380 INFO L304 stractBuchiCegarLoop]: Hoare is false [2023-11-19 07:35:47,380 INFO L305 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2023-11-19 07:35:47,381 INFO L306 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2023-11-19 07:35:47,381 INFO L307 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2023-11-19 07:35:47,381 INFO L308 stractBuchiCegarLoop]: Difference is false [2023-11-19 07:35:47,381 INFO L309 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2023-11-19 07:35:47,381 INFO L313 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2023-11-19 07:35:47,388 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 114 states, 113 states have (on average 1.3805309734513274) internal successors, (156), 113 states have internal predecessors, (156), 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) [2023-11-19 07:35:47,415 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 72 [2023-11-19 07:35:47,415 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:47,415 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:47,424 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:47,424 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:47,424 INFO L335 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2023-11-19 07:35:47,425 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 114 states, 113 states have (on average 1.3805309734513274) internal successors, (156), 113 states have internal predecessors, (156), 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) [2023-11-19 07:35:47,433 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 72 [2023-11-19 07:35:47,434 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:47,434 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:47,435 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:47,435 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:47,441 INFO L748 eck$LassoCheckResult]: Stem: 32#$Ultimate##0true assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 43#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret9#1, main_~retValue_acc~3#1, main_~tmp~0#1;havoc main_~retValue_acc~3#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 25#select_helpers_returnLabel#1true assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 98#select_features_returnLabel#1true assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;havoc valid_product_~retValue_acc~11#1;valid_product_~retValue_acc~11#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~11#1; 89#valid_product_returnLabel#1true main_#t~ret9#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret9#1;havoc main_#t~ret9#1; 28#L239true assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 76#setup_returnLabel#1true assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet33#1, test_#t~nondet34#1, test_#t~nondet35#1, test_#t~nondet36#1, test_~splverifierCounter~0#1, test_~tmp~4#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~4#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 15#L638-2true [2023-11-19 07:35:47,442 INFO L750 eck$LassoCheckResult]: Loop: 15#L638-2true assume !false; 37#L639true assume test_~splverifierCounter~0#1 < 4; 33#L640true havoc test_#t~nondet33#1;test_~tmp~4#1 := test_#t~nondet33#1;havoc test_#t~nondet33#1; 114#L648true assume !(0 != test_~tmp~4#1); 13#L648-2true havoc test_#t~nondet34#1;test_~tmp___0~0#1 := test_#t~nondet34#1;havoc test_#t~nondet34#1; 26#L658true assume !(0 != test_~tmp___0~0#1); 99#L658-2true havoc test_#t~nondet35#1;test_~tmp___2~0#1 := test_#t~nondet35#1;havoc test_#t~nondet35#1; 34#L668true assume 0 != test_~tmp___2~0#1; 57#L674-2true assume { :begin_inline_timeShift } true; 60#L704true assume !(0 != ~pumpRunning~0); 46#L704-2true assume !(0 != ~systemActive~0); 102#L711-1true assume { :begin_inline___utac_acc__Specification3_spec__1 } true;havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;havoc __utac_acc__Specification3_spec__1_~tmp~7#1;havoc __utac_acc__Specification3_spec__1_~tmp___0~2#1;havoc __utac_acc__Specification3_spec__1_~tmp___1~1#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; 111#isMethaneLevelCritical_returnLabel#1true __utac_acc__Specification3_spec__1_#t~ret48#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;__utac_acc__Specification3_spec__1_~tmp~7#1 := __utac_acc__Specification3_spec__1_#t~ret48#1;havoc __utac_acc__Specification3_spec__1_#t~ret48#1; 81#L858true assume 0 != __utac_acc__Specification3_spec__1_~tmp~7#1; 80#L864-1true havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;assume { :end_inline___utac_acc__Specification3_spec__1 } true; 70#timeShift_returnLabel#1true assume { :end_inline_timeShift } true; 15#L638-2true [2023-11-19 07:35:47,449 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:47,450 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 1 times [2023-11-19 07:35:47,461 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:47,461 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [559073820] [2023-11-19 07:35:47,462 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:47,463 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:47,602 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:47,602 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:47,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:47,666 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:47,669 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:47,670 INFO L85 PathProgramCache]: Analyzing trace with hash -680982058, now seen corresponding path program 1 times [2023-11-19 07:35:47,670 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:47,670 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1960948690] [2023-11-19 07:35:47,670 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:47,671 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:47,701 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:47,702 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:47,709 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:47,721 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:47,723 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:47,723 INFO L85 PathProgramCache]: Analyzing trace with hash 674437018, now seen corresponding path program 1 times [2023-11-19 07:35:47,724 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:47,724 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [59176358] [2023-11-19 07:35:47,724 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:47,725 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:47,767 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 07:35:47,990 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 07:35:47,991 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-19 07:35:47,991 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [59176358] [2023-11-19 07:35:47,992 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [59176358] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 07:35:47,992 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 07:35:47,992 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2023-11-19 07:35:47,993 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [464638600] [2023-11-19 07:35:47,994 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 07:35:48,113 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-19 07:35:48,146 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2023-11-19 07:35:48,147 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2023-11-19 07:35:48,149 INFO L87 Difference]: Start difference. First operand has 114 states, 113 states have (on average 1.3805309734513274) internal successors, (156), 113 states have internal predecessors, (156), 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 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 5 states have internal predecessors, (23), 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) [2023-11-19 07:35:48,227 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 07:35:48,230 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2023-11-19 07:35:48,232 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 139 transitions. [2023-11-19 07:35:48,237 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 66 [2023-11-19 07:35:48,248 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 98 states and 129 transitions. [2023-11-19 07:35:48,252 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2023-11-19 07:35:48,253 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2023-11-19 07:35:48,254 INFO L73 IsDeterministic]: Start isDeterministic. Operand 98 states and 129 transitions. [2023-11-19 07:35:48,255 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-19 07:35:48,256 INFO L218 hiAutomatonCegarLoop]: Abstraction has 98 states and 129 transitions. [2023-11-19 07:35:48,289 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 98 states and 129 transitions. [2023-11-19 07:35:48,302 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 98 to 98. [2023-11-19 07:35:48,304 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 98 states, 98 states have (on average 1.316326530612245) internal successors, (129), 97 states have internal predecessors, (129), 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) [2023-11-19 07:35:48,306 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 98 states to 98 states and 129 transitions. [2023-11-19 07:35:48,307 INFO L240 hiAutomatonCegarLoop]: Abstraction has 98 states and 129 transitions. [2023-11-19 07:35:48,308 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-11-19 07:35:48,312 INFO L428 stractBuchiCegarLoop]: Abstraction has 98 states and 129 transitions. [2023-11-19 07:35:48,312 INFO L335 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2023-11-19 07:35:48,313 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 98 states and 129 transitions. [2023-11-19 07:35:48,315 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 66 [2023-11-19 07:35:48,315 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:48,315 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:48,316 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:48,316 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] [2023-11-19 07:35:48,316 INFO L748 eck$LassoCheckResult]: Stem: 283#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 284#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret9#1, main_~retValue_acc~3#1, main_~tmp~0#1;havoc main_~retValue_acc~3#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 275#select_helpers_returnLabel#1 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 276#select_features_returnLabel#1 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;havoc valid_product_~retValue_acc~11#1;valid_product_~retValue_acc~11#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~11#1; 332#valid_product_returnLabel#1 main_#t~ret9#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret9#1;havoc main_#t~ret9#1; 278#L239 assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 279#setup_returnLabel#1 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet33#1, test_#t~nondet34#1, test_#t~nondet35#1, test_#t~nondet36#1, test_~splverifierCounter~0#1, test_~tmp~4#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~4#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 257#L638-2 [2023-11-19 07:35:48,317 INFO L750 eck$LassoCheckResult]: Loop: 257#L638-2 assume !false; 258#L639 assume test_~splverifierCounter~0#1 < 4; 285#L640 havoc test_#t~nondet33#1;test_~tmp~4#1 := test_#t~nondet33#1;havoc test_#t~nondet33#1; 286#L648 assume !(0 != test_~tmp~4#1); 253#L648-2 havoc test_#t~nondet34#1;test_~tmp___0~0#1 := test_#t~nondet34#1;havoc test_#t~nondet34#1; 254#L658 assume !(0 != test_~tmp___0~0#1); 247#L658-2 havoc test_#t~nondet35#1;test_~tmp___2~0#1 := test_#t~nondet35#1;havoc test_#t~nondet35#1; 287#L668 assume 0 != test_~tmp___2~0#1; 270#L674-2 assume { :begin_inline_timeShift } true; 308#L704 assume !(0 != ~pumpRunning~0); 271#L704-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;havoc processEnvironment_~tmp~5#1; 290#L736 assume !(0 == ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__base } true; 291#processEnvironment__wrappee__base_returnLabel#2 assume { :end_inline_processEnvironment__wrappee__base } true; 250#L736-1 havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;assume { :end_inline_processEnvironment } true; 322#L711-1 assume { :begin_inline___utac_acc__Specification3_spec__1 } true;havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;havoc __utac_acc__Specification3_spec__1_~tmp~7#1;havoc __utac_acc__Specification3_spec__1_~tmp___0~2#1;havoc __utac_acc__Specification3_spec__1_~tmp___1~1#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; 335#isMethaneLevelCritical_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret48#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;__utac_acc__Specification3_spec__1_~tmp~7#1 := __utac_acc__Specification3_spec__1_#t~ret48#1;havoc __utac_acc__Specification3_spec__1_#t~ret48#1; 327#L858 assume 0 != __utac_acc__Specification3_spec__1_~tmp~7#1; 282#L864-1 havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;assume { :end_inline___utac_acc__Specification3_spec__1 } true; 321#timeShift_returnLabel#1 assume { :end_inline_timeShift } true; 257#L638-2 [2023-11-19 07:35:48,317 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,318 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 2 times [2023-11-19 07:35:48,318 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,318 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [425621824] [2023-11-19 07:35:48,318 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,319 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,329 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,330 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:48,337 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,341 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:48,342 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,342 INFO L85 PathProgramCache]: Analyzing trace with hash -232261515, now seen corresponding path program 1 times [2023-11-19 07:35:48,342 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,343 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1492073103] [2023-11-19 07:35:48,343 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,343 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 07:35:48,366 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 07:35:48,366 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-19 07:35:48,367 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1492073103] [2023-11-19 07:35:48,367 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1492073103] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 07:35:48,367 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 07:35:48,367 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-19 07:35:48,368 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [879986207] [2023-11-19 07:35:48,368 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 07:35:48,368 INFO L765 eck$LassoCheckResult]: loop already infeasible [2023-11-19 07:35:48,368 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-19 07:35:48,369 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-19 07:35:48,369 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-19 07:35:48,370 INFO L87 Difference]: Start difference. First operand 98 states and 129 transitions. cyclomatic complexity: 33 Second operand has 3 states, 3 states have (on average 6.333333333333333) internal successors, (19), 3 states have internal predecessors, (19), 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) [2023-11-19 07:35:48,423 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 07:35:48,423 INFO L93 Difference]: Finished difference Result 156 states and 200 transitions. [2023-11-19 07:35:48,423 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 156 states and 200 transitions. [2023-11-19 07:35:48,426 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 110 [2023-11-19 07:35:48,429 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 156 states to 156 states and 200 transitions. [2023-11-19 07:35:48,429 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 156 [2023-11-19 07:35:48,430 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 156 [2023-11-19 07:35:48,430 INFO L73 IsDeterministic]: Start isDeterministic. Operand 156 states and 200 transitions. [2023-11-19 07:35:48,431 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-19 07:35:48,431 INFO L218 hiAutomatonCegarLoop]: Abstraction has 156 states and 200 transitions. [2023-11-19 07:35:48,432 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 156 states and 200 transitions. [2023-11-19 07:35:48,440 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 156 to 156. [2023-11-19 07:35:48,441 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 156 states, 156 states have (on average 1.2820512820512822) internal successors, (200), 155 states have internal predecessors, (200), 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) [2023-11-19 07:35:48,443 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 156 states to 156 states and 200 transitions. [2023-11-19 07:35:48,443 INFO L240 hiAutomatonCegarLoop]: Abstraction has 156 states and 200 transitions. [2023-11-19 07:35:48,444 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-19 07:35:48,444 INFO L428 stractBuchiCegarLoop]: Abstraction has 156 states and 200 transitions. [2023-11-19 07:35:48,445 INFO L335 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2023-11-19 07:35:48,445 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 156 states and 200 transitions. [2023-11-19 07:35:48,447 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 110 [2023-11-19 07:35:48,447 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:48,447 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:48,448 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:48,448 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] [2023-11-19 07:35:48,448 INFO L748 eck$LassoCheckResult]: Stem: 544#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 545#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret9#1, main_~retValue_acc~3#1, main_~tmp~0#1;havoc main_~retValue_acc~3#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 536#select_helpers_returnLabel#1 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 537#select_features_returnLabel#1 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;havoc valid_product_~retValue_acc~11#1;valid_product_~retValue_acc~11#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~11#1; 599#valid_product_returnLabel#1 main_#t~ret9#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret9#1;havoc main_#t~ret9#1; 539#L239 assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 540#setup_returnLabel#1 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet33#1, test_#t~nondet34#1, test_#t~nondet35#1, test_#t~nondet36#1, test_~splverifierCounter~0#1, test_~tmp~4#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~4#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 518#L638-2 [2023-11-19 07:35:48,449 INFO L750 eck$LassoCheckResult]: Loop: 518#L638-2 assume !false; 519#L639 assume test_~splverifierCounter~0#1 < 4; 546#L640 havoc test_#t~nondet33#1;test_~tmp~4#1 := test_#t~nondet33#1;havoc test_#t~nondet33#1; 547#L648 assume !(0 != test_~tmp~4#1); 514#L648-2 havoc test_#t~nondet34#1;test_~tmp___0~0#1 := test_#t~nondet34#1;havoc test_#t~nondet34#1; 515#L658 assume !(0 != test_~tmp___0~0#1); 507#L658-2 havoc test_#t~nondet35#1;test_~tmp___2~0#1 := test_#t~nondet35#1;havoc test_#t~nondet35#1; 548#L668 assume 0 != test_~tmp___2~0#1; 531#L674-2 assume { :begin_inline_timeShift } true; 571#L704 assume !(0 != ~pumpRunning~0); 560#L704-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;havoc processEnvironment_~tmp~5#1; 551#L736 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;havoc isHighWaterLevel_~retValue_acc~9#1;havoc isHighWaterLevel_~tmp~6#1;havoc isHighWaterLevel_~tmp___0~1#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;havoc isHighWaterSensorDry_~retValue_acc~2#1; 552#L140 assume !(~waterLevel~0 < 2);isHighWaterSensorDry_~retValue_acc~2#1 := 0;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~2#1; 528#isHighWaterSensorDry_returnLabel#1 isHighWaterLevel_#t~ret47#1 := isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~6#1 := isHighWaterLevel_#t~ret47#1;havoc isHighWaterLevel_#t~ret47#1; 529#L838 assume 0 != isHighWaterLevel_~tmp~6#1;isHighWaterLevel_~tmp___0~1#1 := 0; 549#L838-2 isHighWaterLevel_~retValue_acc~9#1 := isHighWaterLevel_~tmp___0~1#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~9#1; 602#isHighWaterLevel_returnLabel#1 processEnvironment_#t~ret37#1 := isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment_~tmp~5#1 := processEnvironment_#t~ret37#1;havoc processEnvironment_#t~ret37#1; 566#L740 assume !(0 != processEnvironment_~tmp~5#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 522#processEnvironment__wrappee__base_returnLabel#1 assume { :end_inline_processEnvironment__wrappee__base } true; 523#L736-1 havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;assume { :end_inline_processEnvironment } true; 586#L711-1 assume { :begin_inline___utac_acc__Specification3_spec__1 } true;havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;havoc __utac_acc__Specification3_spec__1_~tmp~7#1;havoc __utac_acc__Specification3_spec__1_~tmp___0~2#1;havoc __utac_acc__Specification3_spec__1_~tmp___1~1#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; 604#isMethaneLevelCritical_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret48#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;__utac_acc__Specification3_spec__1_~tmp~7#1 := __utac_acc__Specification3_spec__1_#t~ret48#1;havoc __utac_acc__Specification3_spec__1_#t~ret48#1; 592#L858 assume 0 != __utac_acc__Specification3_spec__1_~tmp~7#1; 543#L864-1 havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;assume { :end_inline___utac_acc__Specification3_spec__1 } true; 585#timeShift_returnLabel#1 assume { :end_inline_timeShift } true; 518#L638-2 [2023-11-19 07:35:48,449 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,450 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 3 times [2023-11-19 07:35:48,450 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,450 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2048833172] [2023-11-19 07:35:48,450 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,451 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,460 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:48,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,470 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:48,471 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,471 INFO L85 PathProgramCache]: Analyzing trace with hash -1748480961, now seen corresponding path program 1 times [2023-11-19 07:35:48,471 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,471 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2008033848] [2023-11-19 07:35:48,471 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,472 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,479 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 07:35:48,517 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 07:35:48,517 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-19 07:35:48,517 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2008033848] [2023-11-19 07:35:48,517 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2008033848] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 07:35:48,518 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 07:35:48,518 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2023-11-19 07:35:48,518 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [431037383] [2023-11-19 07:35:48,518 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 07:35:48,519 INFO L765 eck$LassoCheckResult]: loop already infeasible [2023-11-19 07:35:48,519 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-19 07:35:48,519 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-19 07:35:48,519 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-19 07:35:48,520 INFO L87 Difference]: Start difference. First operand 156 states and 200 transitions. cyclomatic complexity: 46 Second operand has 4 states, 4 states have (on average 6.25) internal successors, (25), 4 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) [2023-11-19 07:35:48,599 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 07:35:48,599 INFO L93 Difference]: Finished difference Result 308 states and 390 transitions. [2023-11-19 07:35:48,600 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 308 states and 390 transitions. [2023-11-19 07:35:48,603 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 222 [2023-11-19 07:35:48,607 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 308 states to 308 states and 390 transitions. [2023-11-19 07:35:48,607 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 308 [2023-11-19 07:35:48,608 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 308 [2023-11-19 07:35:48,608 INFO L73 IsDeterministic]: Start isDeterministic. Operand 308 states and 390 transitions. [2023-11-19 07:35:48,610 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-19 07:35:48,611 INFO L218 hiAutomatonCegarLoop]: Abstraction has 308 states and 390 transitions. [2023-11-19 07:35:48,612 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 308 states and 390 transitions. [2023-11-19 07:35:48,634 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 308 to 162. [2023-11-19 07:35:48,635 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 162 states, 162 states have (on average 1.271604938271605) internal successors, (206), 161 states have internal predecessors, (206), 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) [2023-11-19 07:35:48,636 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 162 states to 162 states and 206 transitions. [2023-11-19 07:35:48,637 INFO L240 hiAutomatonCegarLoop]: Abstraction has 162 states and 206 transitions. [2023-11-19 07:35:48,641 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-11-19 07:35:48,643 INFO L428 stractBuchiCegarLoop]: Abstraction has 162 states and 206 transitions. [2023-11-19 07:35:48,643 INFO L335 stractBuchiCegarLoop]: ======== Iteration 4 ============ [2023-11-19 07:35:48,644 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 162 states and 206 transitions. [2023-11-19 07:35:48,646 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 114 [2023-11-19 07:35:48,646 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:48,646 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:48,648 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:48,649 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] [2023-11-19 07:35:48,649 INFO L748 eck$LassoCheckResult]: Stem: 1016#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 1017#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret9#1, main_~retValue_acc~3#1, main_~tmp~0#1;havoc main_~retValue_acc~3#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 1008#select_helpers_returnLabel#1 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 1009#select_features_returnLabel#1 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;havoc valid_product_~retValue_acc~11#1;valid_product_~retValue_acc~11#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~11#1; 1076#valid_product_returnLabel#1 main_#t~ret9#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret9#1;havoc main_#t~ret9#1; 1011#L239 assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 1012#setup_returnLabel#1 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet33#1, test_#t~nondet34#1, test_#t~nondet35#1, test_#t~nondet36#1, test_~splverifierCounter~0#1, test_~tmp~4#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~4#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 990#L638-2 [2023-11-19 07:35:48,649 INFO L750 eck$LassoCheckResult]: Loop: 990#L638-2 assume !false; 991#L639 assume test_~splverifierCounter~0#1 < 4; 1024#L640 havoc test_#t~nondet33#1;test_~tmp~4#1 := test_#t~nondet33#1;havoc test_#t~nondet33#1; 1132#L648 assume !(0 != test_~tmp~4#1); 1130#L648-2 havoc test_#t~nondet34#1;test_~tmp___0~0#1 := test_#t~nondet34#1;havoc test_#t~nondet34#1; 1128#L658 assume !(0 != test_~tmp___0~0#1); 1126#L658-2 havoc test_#t~nondet35#1;test_~tmp___2~0#1 := test_#t~nondet35#1;havoc test_#t~nondet35#1; 1020#L668 assume 0 != test_~tmp___2~0#1; 1003#L674-2 assume { :begin_inline_timeShift } true; 1047#L704 assume !(0 != ~pumpRunning~0); 1036#L704-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;havoc processEnvironment_~tmp~5#1; 1025#L736 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;havoc isHighWaterLevel_~retValue_acc~9#1;havoc isHighWaterLevel_~tmp~6#1;havoc isHighWaterLevel_~tmp___0~1#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;havoc isHighWaterSensorDry_~retValue_acc~2#1; 1026#L140 assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~2#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~2#1; 1000#isHighWaterSensorDry_returnLabel#1 isHighWaterLevel_#t~ret47#1 := isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~6#1 := isHighWaterLevel_#t~ret47#1;havoc isHighWaterLevel_#t~ret47#1; 1001#L838 assume 0 != isHighWaterLevel_~tmp~6#1;isHighWaterLevel_~tmp___0~1#1 := 0; 1022#L838-2 isHighWaterLevel_~retValue_acc~9#1 := isHighWaterLevel_~tmp___0~1#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~9#1; 1079#isHighWaterLevel_returnLabel#1 processEnvironment_#t~ret37#1 := isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment_~tmp~5#1 := processEnvironment_#t~ret37#1;havoc processEnvironment_#t~ret37#1; 1042#L740 assume !(0 != processEnvironment_~tmp~5#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 994#processEnvironment__wrappee__base_returnLabel#1 assume { :end_inline_processEnvironment__wrappee__base } true; 995#L736-1 havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;assume { :end_inline_processEnvironment } true; 1063#L711-1 assume { :begin_inline___utac_acc__Specification3_spec__1 } true;havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;havoc __utac_acc__Specification3_spec__1_~tmp~7#1;havoc __utac_acc__Specification3_spec__1_~tmp___0~2#1;havoc __utac_acc__Specification3_spec__1_~tmp___1~1#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; 1082#isMethaneLevelCritical_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret48#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;__utac_acc__Specification3_spec__1_~tmp~7#1 := __utac_acc__Specification3_spec__1_#t~ret48#1;havoc __utac_acc__Specification3_spec__1_#t~ret48#1; 1069#L858 assume 0 != __utac_acc__Specification3_spec__1_~tmp~7#1; 1015#L864-1 havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;assume { :end_inline___utac_acc__Specification3_spec__1 } true; 1062#timeShift_returnLabel#1 assume { :end_inline_timeShift } true; 990#L638-2 [2023-11-19 07:35:48,650 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,650 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 4 times [2023-11-19 07:35:48,650 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,651 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [21934392] [2023-11-19 07:35:48,651 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,651 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,676 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,676 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:48,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,696 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:48,697 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,697 INFO L85 PathProgramCache]: Analyzing trace with hash -1161674947, now seen corresponding path program 1 times [2023-11-19 07:35:48,698 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,698 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1641056025] [2023-11-19 07:35:48,698 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,699 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,708 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,709 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:48,713 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:48,717 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:48,717 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:48,718 INFO L85 PathProgramCache]: Analyzing trace with hash 1882287609, now seen corresponding path program 1 times [2023-11-19 07:35:48,718 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:48,718 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1039689209] [2023-11-19 07:35:48,718 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:48,719 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:48,730 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 07:35:48,799 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 07:35:48,799 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-19 07:35:48,799 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1039689209] [2023-11-19 07:35:48,800 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1039689209] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 07:35:48,800 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 07:35:48,800 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2023-11-19 07:35:48,800 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1056582796] [2023-11-19 07:35:48,800 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 07:35:48,995 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-19 07:35:48,995 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-19 07:35:48,996 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2023-11-19 07:35:48,996 INFO L87 Difference]: Start difference. First operand 162 states and 206 transitions. cyclomatic complexity: 46 Second operand has 5 states, 5 states have (on average 6.4) internal successors, (32), 4 states have internal predecessors, (32), 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) [2023-11-19 07:35:49,097 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 07:35:49,098 INFO L93 Difference]: Finished difference Result 414 states and 521 transitions. [2023-11-19 07:35:49,098 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 414 states and 521 transitions. [2023-11-19 07:35:49,105 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 296 [2023-11-19 07:35:49,110 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 414 states to 414 states and 521 transitions. [2023-11-19 07:35:49,110 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 414 [2023-11-19 07:35:49,111 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 414 [2023-11-19 07:35:49,112 INFO L73 IsDeterministic]: Start isDeterministic. Operand 414 states and 521 transitions. [2023-11-19 07:35:49,119 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-19 07:35:49,119 INFO L218 hiAutomatonCegarLoop]: Abstraction has 414 states and 521 transitions. [2023-11-19 07:35:49,123 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 414 states and 521 transitions. [2023-11-19 07:35:49,148 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 414 to 317. [2023-11-19 07:35:49,149 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 317 states, 317 states have (on average 1.252365930599369) internal successors, (397), 316 states have internal predecessors, (397), 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) [2023-11-19 07:35:49,152 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 317 states to 317 states and 397 transitions. [2023-11-19 07:35:49,153 INFO L240 hiAutomatonCegarLoop]: Abstraction has 317 states and 397 transitions. [2023-11-19 07:35:49,157 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-11-19 07:35:49,158 INFO L428 stractBuchiCegarLoop]: Abstraction has 317 states and 397 transitions. [2023-11-19 07:35:49,158 INFO L335 stractBuchiCegarLoop]: ======== Iteration 5 ============ [2023-11-19 07:35:49,159 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 317 states and 397 transitions. [2023-11-19 07:35:49,161 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 228 [2023-11-19 07:35:49,161 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:49,161 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:49,162 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:49,162 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] [2023-11-19 07:35:49,162 INFO L748 eck$LassoCheckResult]: Stem: 1607#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 1608#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret9#1, main_~retValue_acc~3#1, main_~tmp~0#1;havoc main_~retValue_acc~3#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 1598#select_helpers_returnLabel#1 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 1599#select_features_returnLabel#1 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;havoc valid_product_~retValue_acc~11#1;valid_product_~retValue_acc~11#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~11#1; 1673#valid_product_returnLabel#1 main_#t~ret9#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret9#1;havoc main_#t~ret9#1; 1602#L239 assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 1603#setup_returnLabel#1 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet33#1, test_#t~nondet34#1, test_#t~nondet35#1, test_#t~nondet36#1, test_~splverifierCounter~0#1, test_~tmp~4#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~4#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 1580#L638-2 [2023-11-19 07:35:49,163 INFO L750 eck$LassoCheckResult]: Loop: 1580#L638-2 assume !false; 1581#L639 assume test_~splverifierCounter~0#1 < 4; 1609#L640 havoc test_#t~nondet33#1;test_~tmp~4#1 := test_#t~nondet33#1;havoc test_#t~nondet33#1; 1610#L648 assume !(0 != test_~tmp~4#1); 1576#L648-2 havoc test_#t~nondet34#1;test_~tmp___0~0#1 := test_#t~nondet34#1;havoc test_#t~nondet34#1; 1577#L658 assume !(0 != test_~tmp___0~0#1); 1601#L658-2 havoc test_#t~nondet35#1;test_~tmp___2~0#1 := test_#t~nondet35#1;havoc test_#t~nondet35#1; 1611#L668 assume 0 != test_~tmp___2~0#1; 1593#L674-2 assume { :begin_inline_timeShift } true; 1641#L704 assume !(0 != ~pumpRunning~0); 1628#L704-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;havoc processEnvironment_~tmp~5#1; 1629#L736 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;havoc isHighWaterLevel_~retValue_acc~9#1;havoc isHighWaterLevel_~tmp~6#1;havoc isHighWaterLevel_~tmp___0~1#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;havoc isHighWaterSensorDry_~retValue_acc~2#1; 1835#L140 assume !(~waterLevel~0 < 2);isHighWaterSensorDry_~retValue_acc~2#1 := 0;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~2#1; 1833#isHighWaterSensorDry_returnLabel#1 isHighWaterLevel_#t~ret47#1 := isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~6#1 := isHighWaterLevel_#t~ret47#1;havoc isHighWaterLevel_#t~ret47#1; 1832#L838 assume !(0 != isHighWaterLevel_~tmp~6#1);isHighWaterLevel_~tmp___0~1#1 := 1; 1678#L838-2 isHighWaterLevel_~retValue_acc~9#1 := isHighWaterLevel_~tmp___0~1#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~9#1; 1679#isHighWaterLevel_returnLabel#1 processEnvironment_#t~ret37#1 := isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment_~tmp~5#1 := processEnvironment_#t~ret37#1;havoc processEnvironment_#t~ret37#1; 1636#L740 assume !(0 != processEnvironment_~tmp~5#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 1584#processEnvironment__wrappee__base_returnLabel#1 assume { :end_inline_processEnvironment__wrappee__base } true; 1585#L736-1 havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;assume { :end_inline_processEnvironment } true; 1658#L711-1 assume { :begin_inline___utac_acc__Specification3_spec__1 } true;havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;havoc __utac_acc__Specification3_spec__1_~tmp~7#1;havoc __utac_acc__Specification3_spec__1_~tmp___0~2#1;havoc __utac_acc__Specification3_spec__1_~tmp___1~1#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; 1681#isMethaneLevelCritical_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret48#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;__utac_acc__Specification3_spec__1_~tmp~7#1 := __utac_acc__Specification3_spec__1_#t~ret48#1;havoc __utac_acc__Specification3_spec__1_#t~ret48#1; 1664#L858 assume !(0 != __utac_acc__Specification3_spec__1_~tmp~7#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; 1655#getWaterLevel_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret49#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification3_spec__1_~tmp___0~2#1 := __utac_acc__Specification3_spec__1_#t~ret49#1;havoc __utac_acc__Specification3_spec__1_#t~ret49#1; 1656#L864 assume !(2 == __utac_acc__Specification3_spec__1_~tmp___0~2#1); 1606#L864-1 havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;assume { :end_inline___utac_acc__Specification3_spec__1 } true; 1657#timeShift_returnLabel#1 assume { :end_inline_timeShift } true; 1580#L638-2 [2023-11-19 07:35:49,163 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:49,163 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 5 times [2023-11-19 07:35:49,163 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:49,164 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2026261088] [2023-11-19 07:35:49,164 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:49,164 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:49,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,175 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:49,182 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,187 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:49,188 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:49,188 INFO L85 PathProgramCache]: Analyzing trace with hash -1543604842, now seen corresponding path program 1 times [2023-11-19 07:35:49,192 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:49,193 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1687019088] [2023-11-19 07:35:49,193 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:49,193 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:49,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 07:35:49,312 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 07:35:49,312 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-19 07:35:49,312 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1687019088] [2023-11-19 07:35:49,312 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1687019088] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-19 07:35:49,312 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-19 07:35:49,313 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2023-11-19 07:35:49,313 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1117829240] [2023-11-19 07:35:49,313 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-19 07:35:49,313 INFO L765 eck$LassoCheckResult]: loop already infeasible [2023-11-19 07:35:49,314 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-19 07:35:49,314 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-19 07:35:49,314 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2023-11-19 07:35:49,314 INFO L87 Difference]: Start difference. First operand 317 states and 397 transitions. cyclomatic complexity: 83 Second operand has 5 states, 5 states have (on average 5.4) internal successors, (27), 5 states have internal predecessors, (27), 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) [2023-11-19 07:35:49,399 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-19 07:35:49,400 INFO L93 Difference]: Finished difference Result 499 states and 619 transitions. [2023-11-19 07:35:49,400 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 499 states and 619 transitions. [2023-11-19 07:35:49,404 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 360 [2023-11-19 07:35:49,409 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 499 states to 499 states and 619 transitions. [2023-11-19 07:35:49,409 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 499 [2023-11-19 07:35:49,410 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 499 [2023-11-19 07:35:49,410 INFO L73 IsDeterministic]: Start isDeterministic. Operand 499 states and 619 transitions. [2023-11-19 07:35:49,411 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-19 07:35:49,411 INFO L218 hiAutomatonCegarLoop]: Abstraction has 499 states and 619 transitions. [2023-11-19 07:35:49,411 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 499 states and 619 transitions. [2023-11-19 07:35:49,428 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 499 to 335. [2023-11-19 07:35:49,429 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 335 states, 335 states have (on average 1.2388059701492538) internal successors, (415), 334 states have internal predecessors, (415), 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) [2023-11-19 07:35:49,430 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 335 states to 335 states and 415 transitions. [2023-11-19 07:35:49,431 INFO L240 hiAutomatonCegarLoop]: Abstraction has 335 states and 415 transitions. [2023-11-19 07:35:49,431 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-11-19 07:35:49,434 INFO L428 stractBuchiCegarLoop]: Abstraction has 335 states and 415 transitions. [2023-11-19 07:35:49,435 INFO L335 stractBuchiCegarLoop]: ======== Iteration 6 ============ [2023-11-19 07:35:49,435 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 335 states and 415 transitions. [2023-11-19 07:35:49,437 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 240 [2023-11-19 07:35:49,437 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2023-11-19 07:35:49,437 INFO L119 BuchiIsEmpty]: Starting construction of run [2023-11-19 07:35:49,439 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2023-11-19 07:35:49,439 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] [2023-11-19 07:35:49,440 INFO L748 eck$LassoCheckResult]: Stem: 2439#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 2440#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret9#1, main_~retValue_acc~3#1, main_~tmp~0#1;havoc main_~retValue_acc~3#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 2428#select_helpers_returnLabel#1 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 2429#select_features_returnLabel#1 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;havoc valid_product_~retValue_acc~11#1;valid_product_~retValue_acc~11#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~11#1; 2510#valid_product_returnLabel#1 main_#t~ret9#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~11#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret9#1;havoc main_#t~ret9#1; 2432#L239 assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 2433#setup_returnLabel#1 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet33#1, test_#t~nondet34#1, test_#t~nondet35#1, test_#t~nondet36#1, test_~splverifierCounter~0#1, test_~tmp~4#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~4#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 2409#L638-2 [2023-11-19 07:35:49,441 INFO L750 eck$LassoCheckResult]: Loop: 2409#L638-2 assume !false; 2410#L639 assume test_~splverifierCounter~0#1 < 4; 2437#L640 havoc test_#t~nondet33#1;test_~tmp~4#1 := test_#t~nondet33#1;havoc test_#t~nondet33#1; 2438#L648 assume !(0 != test_~tmp~4#1); 2698#L648-2 havoc test_#t~nondet34#1;test_~tmp___0~0#1 := test_#t~nondet34#1;havoc test_#t~nondet34#1; 2430#L658 assume !(0 != test_~tmp___0~0#1); 2398#L658-2 havoc test_#t~nondet35#1;test_~tmp___2~0#1 := test_#t~nondet35#1;havoc test_#t~nondet35#1; 2695#L668 assume 0 != test_~tmp___2~0#1; 2472#L674-2 assume { :begin_inline_timeShift } true; 2473#L704 assume !(0 != ~pumpRunning~0); 2690#L704-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;havoc processEnvironment_~tmp~5#1; 2678#L736 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;havoc isHighWaterLevel_~retValue_acc~9#1;havoc isHighWaterLevel_~tmp~6#1;havoc isHighWaterLevel_~tmp___0~1#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;havoc isHighWaterSensorDry_~retValue_acc~2#1; 2676#L140 assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~2#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~2#1; 2677#isHighWaterSensorDry_returnLabel#1 isHighWaterLevel_#t~ret47#1 := isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~2#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~6#1 := isHighWaterLevel_#t~ret47#1;havoc isHighWaterLevel_#t~ret47#1; 2558#L838 assume 0 != isHighWaterLevel_~tmp~6#1;isHighWaterLevel_~tmp___0~1#1 := 0; 2516#L838-2 isHighWaterLevel_~retValue_acc~9#1 := isHighWaterLevel_~tmp___0~1#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~9#1; 2517#isHighWaterLevel_returnLabel#1 processEnvironment_#t~ret37#1 := isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret47#1, isHighWaterLevel_~retValue_acc~9#1, isHighWaterLevel_~tmp~6#1, isHighWaterLevel_~tmp___0~1#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment_~tmp~5#1 := processEnvironment_#t~ret37#1;havoc processEnvironment_#t~ret37#1; 2546#L740 assume !(0 != processEnvironment_~tmp~5#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 2671#processEnvironment__wrappee__base_returnLabel#1 assume { :end_inline_processEnvironment__wrappee__base } true; 2684#L736-1 havoc processEnvironment_#t~ret37#1, processEnvironment_~tmp~5#1;assume { :end_inline_processEnvironment } true; 2683#L711-1 assume { :begin_inline___utac_acc__Specification3_spec__1 } true;havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;havoc __utac_acc__Specification3_spec__1_~tmp~7#1;havoc __utac_acc__Specification3_spec__1_~tmp___0~2#1;havoc __utac_acc__Specification3_spec__1_~tmp___1~1#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; 2682#isMethaneLevelCritical_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret48#1 := isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~0#1;assume { :end_inline_isMethaneLevelCritical } true;__utac_acc__Specification3_spec__1_~tmp~7#1 := __utac_acc__Specification3_spec__1_#t~ret48#1;havoc __utac_acc__Specification3_spec__1_#t~ret48#1; 2500#L858 assume !(0 != __utac_acc__Specification3_spec__1_~tmp~7#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; 2501#getWaterLevel_returnLabel#1 __utac_acc__Specification3_spec__1_#t~ret49#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~1#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification3_spec__1_~tmp___0~2#1 := __utac_acc__Specification3_spec__1_#t~ret49#1;havoc __utac_acc__Specification3_spec__1_#t~ret49#1; 2525#L864 assume !(2 == __utac_acc__Specification3_spec__1_~tmp___0~2#1); 2435#L864-1 havoc __utac_acc__Specification3_spec__1_#t~ret48#1, __utac_acc__Specification3_spec__1_#t~ret49#1, __utac_acc__Specification3_spec__1_#t~ret50#1, __utac_acc__Specification3_spec__1_~tmp~7#1, __utac_acc__Specification3_spec__1_~tmp___0~2#1, __utac_acc__Specification3_spec__1_~tmp___1~1#1;assume { :end_inline___utac_acc__Specification3_spec__1 } true; 2489#timeShift_returnLabel#1 assume { :end_inline_timeShift } true; 2409#L638-2 [2023-11-19 07:35:49,441 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:49,441 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 6 times [2023-11-19 07:35:49,442 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:49,442 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1048509593] [2023-11-19 07:35:49,442 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:49,442 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:49,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,453 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:49,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,471 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:49,472 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:49,472 INFO L85 PathProgramCache]: Analyzing trace with hash 323064850, now seen corresponding path program 1 times [2023-11-19 07:35:49,472 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:49,473 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [92462591] [2023-11-19 07:35:49,473 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:49,473 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:49,486 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,487 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:49,490 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,493 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:49,494 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 07:35:49,494 INFO L85 PathProgramCache]: Analyzing trace with hash 698352590, now seen corresponding path program 1 times [2023-11-19 07:35:49,500 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-19 07:35:49,500 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [994147976] [2023-11-19 07:35:49,500 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-19 07:35:49,500 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 07:35:49,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,526 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:49,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:49,547 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-19 07:35:50,664 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:50,665 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 07:35:50,672 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 07:35:50,717 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.11 07:35:50 BoogieIcfgContainer [2023-11-19 07:35:50,717 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2023-11-19 07:35:50,718 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 07:35:50,718 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 07:35:50,718 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 07:35:50,719 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 07:35:47" (3/4) ... [2023-11-19 07:35:50,720 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2023-11-19 07:35:50,789 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/witness.graphml [2023-11-19 07:35:50,789 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 07:35:50,790 INFO L158 Benchmark]: Toolchain (without parser) took 4730.73ms. Allocated memory was 130.0MB in the beginning and 188.7MB in the end (delta: 58.7MB). Free memory was 86.6MB in the beginning and 155.7MB in the end (delta: -69.1MB). Peak memory consumption was 71.4MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,790 INFO L158 Benchmark]: CDTParser took 0.71ms. Allocated memory is still 130.0MB. Free memory was 83.5MB in the beginning and 83.2MB in the end (delta: 267.8kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,791 INFO L158 Benchmark]: CACSL2BoogieTranslator took 495.09ms. Allocated memory is still 130.0MB. Free memory was 86.6MB in the beginning and 68.0MB in the end (delta: 18.6MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,791 INFO L158 Benchmark]: Boogie Procedure Inliner took 82.09ms. Allocated memory is still 130.0MB. Free memory was 68.0MB in the beginning and 65.1MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,792 INFO L158 Benchmark]: Boogie Preprocessor took 55.49ms. Allocated memory is still 130.0MB. Free memory was 65.1MB in the beginning and 63.3MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,792 INFO L158 Benchmark]: RCFGBuilder took 604.82ms. Allocated memory was 130.0MB in the beginning and 157.3MB in the end (delta: 27.3MB). Free memory was 63.3MB in the beginning and 115.3MB in the end (delta: -51.9MB). Peak memory consumption was 12.7MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,793 INFO L158 Benchmark]: BuchiAutomizer took 3416.00ms. Allocated memory is still 157.3MB. Free memory was 115.3MB in the beginning and 47.4MB in the end (delta: 67.8MB). Peak memory consumption was 67.1MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,793 INFO L158 Benchmark]: Witness Printer took 71.20ms. Allocated memory was 157.3MB in the beginning and 188.7MB in the end (delta: 31.5MB). Free memory was 47.4MB in the beginning and 155.7MB in the end (delta: -108.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 07:35:50,796 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.71ms. Allocated memory is still 130.0MB. Free memory was 83.5MB in the beginning and 83.2MB in the end (delta: 267.8kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 495.09ms. Allocated memory is still 130.0MB. Free memory was 86.6MB in the beginning and 68.0MB in the end (delta: 18.6MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 82.09ms. Allocated memory is still 130.0MB. Free memory was 68.0MB in the beginning and 65.1MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 55.49ms. Allocated memory is still 130.0MB. Free memory was 65.1MB in the beginning and 63.3MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 604.82ms. Allocated memory was 130.0MB in the beginning and 157.3MB in the end (delta: 27.3MB). Free memory was 63.3MB in the beginning and 115.3MB in the end (delta: -51.9MB). Peak memory consumption was 12.7MB. Max. memory is 16.1GB. * BuchiAutomizer took 3416.00ms. Allocated memory is still 157.3MB. Free memory was 115.3MB in the beginning and 47.4MB in the end (delta: 67.8MB). Peak memory consumption was 67.1MB. Max. memory is 16.1GB. * Witness Printer took 71.20ms. Allocated memory was 157.3MB in the beginning and 188.7MB in the end (delta: 31.5MB). Free memory was 47.4MB in the beginning and 155.7MB in the end (delta: -108.3MB). Peak memory consumption was 4.2MB. 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: 150]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Test.i","") [150] - GenericResultAtLocation [Line: 252]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"libacc.i","") [252] - GenericResultAtLocation [Line: 618]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"wsllib_check.i","") [618] - GenericResultAtLocation [Line: 627]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"scenario.i","") [627] - GenericResultAtLocation [Line: 692]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"MinePump.i","") [692] - GenericResultAtLocation [Line: 848]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Specification3_spec.i","") [848] - GenericResultAtLocation [Line: 882]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"featureselect.i","") [882] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 5 terminating modules (5 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.5 modules have a trivial ranking function, the largest among these consists of 6 locations. The remainder module has 335 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.3s and 6 iterations. TraceHistogramMax:1. Analysis of lassos took 2.5s. Construction of modules took 0.1s. Büchi inclusion checks took 0.5s. Highest rank in rank-based complementation 0. Minimization of det autom 5. Minimization of nondet autom 0. Automata minimization 0.1s AutomataMinimizationTime, 5 MinimizatonAttempts, 407 StatesRemovedByMinimization, 3 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, 1005 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 1005 mSDsluCounter, 2149 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1298 mSDsCounter, 46 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 175 IncrementalHoareTripleChecker+Invalid, 221 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 46 mSolverCounterUnsat, 851 mSDtfsCounter, 175 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc2 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: 638]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite program execution. Stem: [L57] int waterLevel = 1; [L58] int methaneLevelCritical = 0; [L151] int cleanupTimeShifts = 4; [L422] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L696] int pumpRunning = 0; [L697] int systemActive = 1; VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, systemActive=1, waterLevel=1] [L230] int retValue_acc ; [L231] int tmp ; [L235] FCALL select_helpers() [L236] FCALL select_features() [L237] CALL, EXPR valid_product() [L909] int retValue_acc ; [L912] retValue_acc = 1 [L913] return (retValue_acc); VAL [\result=1, cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, retValue_acc=1, systemActive=1, waterLevel=1] [L237] RET, EXPR valid_product() [L237] tmp = valid_product() [L239] COND TRUE \read(tmp) [L241] FCALL setup() [L242] CALL runTest() [L221] CALL test() [L629] int splverifierCounter ; [L630] int tmp ; [L631] int tmp___0 ; [L632] int tmp___1 ; [L633] int tmp___2 ; [L636] splverifierCounter = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, splverifierCounter=0, systemActive=1, waterLevel=1] Loop: [L638] COND TRUE 1 [L640] COND TRUE splverifierCounter < 4 [L646] tmp = __VERIFIER_nondet_int() [L648] COND FALSE !(\read(tmp)) [L656] tmp___0 = __VERIFIER_nondet_int() [L658] COND FALSE !(\read(tmp___0)) [L666] tmp___2 = __VERIFIER_nondet_int() [L668] COND TRUE \read(tmp___2) [L681] CALL timeShift() [L704] COND FALSE !(\read(pumpRunning)) [L711] COND TRUE \read(systemActive) [L713] CALL processEnvironment() [L733] int tmp ; [L736] COND TRUE ! pumpRunning [L738] CALL, EXPR isHighWaterLevel() [L830] int retValue_acc ; [L831] int tmp ; [L832] int tmp___0 ; [L836] CALL, EXPR isHighWaterSensorDry() [L137] int retValue_acc ; [L140] COND TRUE waterLevel < 2 [L141] retValue_acc = 1 [L142] return (retValue_acc); [L836] RET, EXPR isHighWaterSensorDry() [L836] tmp = isHighWaterSensorDry() [L838] COND TRUE \read(tmp) [L839] tmp___0 = 0 [L843] retValue_acc = tmp___0 [L844] return (retValue_acc); [L738] RET, EXPR isHighWaterLevel() [L738] tmp = isHighWaterLevel() [L740] COND FALSE !(\read(tmp)) [L746] FCALL processEnvironment__wrappee__base() [L713] RET processEnvironment() [L719] CALL __utac_acc__Specification3_spec__1() [L850] int tmp ; [L851] int tmp___0 ; [L852] int tmp___1 ; [L856] CALL, EXPR isMethaneLevelCritical() [L96] int retValue_acc ; [L99] retValue_acc = methaneLevelCritical [L100] return (retValue_acc); [L856] RET, EXPR isMethaneLevelCritical() [L856] tmp = isMethaneLevelCritical() [L858] COND FALSE !(\read(tmp)) [L862] CALL, EXPR getWaterLevel() [L128] int retValue_acc ; [L131] retValue_acc = waterLevel [L132] return (retValue_acc); [L862] RET, EXPR getWaterLevel() [L862] tmp___0 = getWaterLevel() [L864] COND FALSE !(tmp___0 == 2) [L719] RET __utac_acc__Specification3_spec__1() [L681] RET timeShift() End of lasso representation. - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 638]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L57] int waterLevel = 1; [L58] int methaneLevelCritical = 0; [L151] int cleanupTimeShifts = 4; [L422] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L696] int pumpRunning = 0; [L697] int systemActive = 1; VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, systemActive=1, waterLevel=1] [L230] int retValue_acc ; [L231] int tmp ; [L235] FCALL select_helpers() [L236] FCALL select_features() [L237] CALL, EXPR valid_product() [L909] int retValue_acc ; [L912] retValue_acc = 1 [L913] return (retValue_acc); VAL [\result=1, cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, retValue_acc=1, systemActive=1, waterLevel=1] [L237] RET, EXPR valid_product() [L237] tmp = valid_product() [L239] COND TRUE \read(tmp) [L241] FCALL setup() [L242] CALL runTest() [L221] CALL test() [L629] int splverifierCounter ; [L630] int tmp ; [L631] int tmp___0 ; [L632] int tmp___1 ; [L633] int tmp___2 ; [L636] splverifierCounter = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, splverifierCounter=0, systemActive=1, waterLevel=1] Loop: [L638] COND TRUE 1 [L640] COND TRUE splverifierCounter < 4 [L646] tmp = __VERIFIER_nondet_int() [L648] COND FALSE !(\read(tmp)) [L656] tmp___0 = __VERIFIER_nondet_int() [L658] COND FALSE !(\read(tmp___0)) [L666] tmp___2 = __VERIFIER_nondet_int() [L668] COND TRUE \read(tmp___2) [L681] CALL timeShift() [L704] COND FALSE !(\read(pumpRunning)) [L711] COND TRUE \read(systemActive) [L713] CALL processEnvironment() [L733] int tmp ; [L736] COND TRUE ! pumpRunning [L738] CALL, EXPR isHighWaterLevel() [L830] int retValue_acc ; [L831] int tmp ; [L832] int tmp___0 ; [L836] CALL, EXPR isHighWaterSensorDry() [L137] int retValue_acc ; [L140] COND TRUE waterLevel < 2 [L141] retValue_acc = 1 [L142] return (retValue_acc); [L836] RET, EXPR isHighWaterSensorDry() [L836] tmp = isHighWaterSensorDry() [L838] COND TRUE \read(tmp) [L839] tmp___0 = 0 [L843] retValue_acc = tmp___0 [L844] return (retValue_acc); [L738] RET, EXPR isHighWaterLevel() [L738] tmp = isHighWaterLevel() [L740] COND FALSE !(\read(tmp)) [L746] FCALL processEnvironment__wrappee__base() [L713] RET processEnvironment() [L719] CALL __utac_acc__Specification3_spec__1() [L850] int tmp ; [L851] int tmp___0 ; [L852] int tmp___1 ; [L856] CALL, EXPR isMethaneLevelCritical() [L96] int retValue_acc ; [L99] retValue_acc = methaneLevelCritical [L100] return (retValue_acc); [L856] RET, EXPR isMethaneLevelCritical() [L856] tmp = isMethaneLevelCritical() [L858] COND FALSE !(\read(tmp)) [L862] CALL, EXPR getWaterLevel() [L128] int retValue_acc ; [L131] retValue_acc = waterLevel [L132] return (retValue_acc); [L862] RET, EXPR getWaterLevel() [L862] tmp___0 = getWaterLevel() [L864] COND FALSE !(tmp___0 == 2) [L719] RET __utac_acc__Specification3_spec__1() [L681] RET timeShift() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2023-11-19 07:35:50,862 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_59783269-fb9a-4e9d-96ca-579df49ef646/bin/uautomizer-verify-uCwYo4JHxu/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, 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)