./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/product-lines/minepump_spec5_product62.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 35987657 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/product-lines/minepump_spec5_product62.cil.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --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 34b47c00ac265c7154b048b065075686f0b0d02157935b615817b802464c404c --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-22 02:39:42,035 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-22 02:39:42,038 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-22 02:39:42,088 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-22 02:39:42,089 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-22 02:39:42,090 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-22 02:39:42,094 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-22 02:39:42,097 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-22 02:39:42,100 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-22 02:39:42,104 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-22 02:39:42,106 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-22 02:39:42,110 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-22 02:39:42,110 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-22 02:39:42,112 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-22 02:39:42,113 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-22 02:39:42,116 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-22 02:39:42,117 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-22 02:39:42,118 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-22 02:39:42,120 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-22 02:39:42,126 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-22 02:39:42,127 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-22 02:39:42,128 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-22 02:39:42,130 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-22 02:39:42,131 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-22 02:39:42,132 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-22 02:39:42,139 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-22 02:39:42,139 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-22 02:39:42,140 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-22 02:39:42,141 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-22 02:39:42,141 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-22 02:39:42,142 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-22 02:39:42,142 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-22 02:39:42,144 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-22 02:39:42,145 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-22 02:39:42,146 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-22 02:39:42,147 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-22 02:39:42,148 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-22 02:39:42,148 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-22 02:39:42,148 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-22 02:39:42,149 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-22 02:39:42,149 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-22 02:39:42,151 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-22 02:39:42,158 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2022-07-22 02:39:42,191 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-22 02:39:42,192 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-22 02:39:42,192 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-22 02:39:42,192 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-22 02:39:42,194 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-22 02:39:42,194 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-22 02:39:42,194 INFO L138 SettingsManager]: * Use SBE=true [2022-07-22 02:39:42,194 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2022-07-22 02:39:42,195 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2022-07-22 02:39:42,196 INFO L138 SettingsManager]: * Use old map elimination=false [2022-07-22 02:39:42,196 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2022-07-22 02:39:42,196 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2022-07-22 02:39:42,196 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2022-07-22 02:39:42,197 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-22 02:39:42,197 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-22 02:39:42,197 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-22 02:39:42,197 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-22 02:39:42,197 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-22 02:39:42,198 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-22 02:39:42,198 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2022-07-22 02:39:42,198 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2022-07-22 02:39:42,198 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2022-07-22 02:39:42,198 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-22 02:39:42,199 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-07-22 02:39:42,199 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2022-07-22 02:39:42,199 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-22 02:39:42,199 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2022-07-22 02:39:42,200 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-22 02:39:42,200 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-22 02:39:42,200 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-22 02:39:42,201 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-22 02:39:42,203 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-07-22 02:39:42,203 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> 34b47c00ac265c7154b048b065075686f0b0d02157935b615817b802464c404c [2022-07-22 02:39:42,516 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-22 02:39:42,539 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-22 02:39:42,542 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-22 02:39:42,543 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-22 02:39:42,544 INFO L275 PluginConnector]: CDTParser initialized [2022-07-22 02:39:42,546 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/product-lines/minepump_spec5_product62.cil.c [2022-07-22 02:39:42,602 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a4d169600/0c0e06aa3bbc4f32839ea853a12a2049/FLAG500094d54 [2022-07-22 02:39:43,088 INFO L306 CDTParser]: Found 1 translation units. [2022-07-22 02:39:43,089 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product62.cil.c [2022-07-22 02:39:43,099 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a4d169600/0c0e06aa3bbc4f32839ea853a12a2049/FLAG500094d54 [2022-07-22 02:39:43,118 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a4d169600/0c0e06aa3bbc4f32839ea853a12a2049 [2022-07-22 02:39:43,121 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-22 02:39:43,122 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-22 02:39:43,124 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-22 02:39:43,125 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-22 02:39:43,128 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-22 02:39:43,128 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,129 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@513cb219 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43, skipping insertion in model container [2022-07-22 02:39:43,129 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,136 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-22 02:39:43,185 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-22 02:39:43,497 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product62.cil.c[19180,19193] [2022-07-22 02:39:43,500 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 02:39:43,509 INFO L203 MainTranslator]: Completed pre-run [2022-07-22 02:39:43,570 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product62.cil.c[19180,19193] [2022-07-22 02:39:43,572 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 02:39:43,587 INFO L208 MainTranslator]: Completed translation [2022-07-22 02:39:43,588 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43 WrapperNode [2022-07-22 02:39:43,588 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-22 02:39:43,589 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-22 02:39:43,589 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-22 02:39:43,589 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-22 02:39:43,595 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,613 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,679 INFO L137 Inliner]: procedures = 60, calls = 164, calls flagged for inlining = 61, calls inlined = 181, statements flattened = 1296 [2022-07-22 02:39:43,680 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-22 02:39:43,680 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-22 02:39:43,681 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-22 02:39:43,681 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-22 02:39:43,688 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,693 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,699 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,700 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,718 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,745 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,748 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,753 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-22 02:39:43,768 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-22 02:39:43,768 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-22 02:39:43,768 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-22 02:39:43,769 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (1/1) ... [2022-07-22 02:39:43,782 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 02:39:43,804 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 02:39:43,825 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2022-07-22 02:39:43,833 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2022-07-22 02:39:43,862 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-07-22 02:39:43,863 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-07-22 02:39:43,863 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-22 02:39:43,863 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-22 02:39:43,958 INFO L234 CfgBuilder]: Building ICFG [2022-07-22 02:39:43,959 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-22 02:39:44,603 INFO L275 CfgBuilder]: Performing block encoding [2022-07-22 02:39:44,612 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-22 02:39:44,612 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2022-07-22 02:39:44,614 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:39:44 BoogieIcfgContainer [2022-07-22 02:39:44,615 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-22 02:39:44,616 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2022-07-22 02:39:44,616 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2022-07-22 02:39:44,618 INFO L275 PluginConnector]: BuchiAutomizer initialized [2022-07-22 02:39:44,619 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:39:44,619 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 22.07 02:39:43" (1/3) ... [2022-07-22 02:39:44,620 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4e730aea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 02:39:44, skipping insertion in model container [2022-07-22 02:39:44,620 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:39:44,620 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:39:43" (2/3) ... [2022-07-22 02:39:44,621 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4e730aea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 02:39:44, skipping insertion in model container [2022-07-22 02:39:44,621 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:39:44,621 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:39:44" (3/3) ... [2022-07-22 02:39:44,622 INFO L354 chiAutomizerObserver]: Analyzing ICFG minepump_spec5_product62.cil.c [2022-07-22 02:39:44,674 INFO L255 stractBuchiCegarLoop]: Interprodecural is true [2022-07-22 02:39:44,674 INFO L256 stractBuchiCegarLoop]: Hoare is false [2022-07-22 02:39:44,675 INFO L257 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2022-07-22 02:39:44,675 INFO L258 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2022-07-22 02:39:44,675 INFO L259 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2022-07-22 02:39:44,675 INFO L260 stractBuchiCegarLoop]: Difference is false [2022-07-22 02:39:44,675 INFO L261 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2022-07-22 02:39:44,676 INFO L265 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2022-07-22 02:39:44,680 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 329 states, 328 states have (on average 1.350609756097561) internal successors, (443), 328 states have internal predecessors, (443), 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) [2022-07-22 02:39:44,755 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 215 [2022-07-22 02:39:44,758 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:39:44,758 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:39:44,781 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:44,782 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:44,782 INFO L287 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2022-07-22 02:39:44,784 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 329 states, 328 states have (on average 1.350609756097561) internal successors, (443), 328 states have internal predecessors, (443), 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) [2022-07-22 02:39:44,805 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 215 [2022-07-22 02:39:44,811 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:39:44,811 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:39:44,813 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:44,814 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:44,822 INFO L752 eck$LassoCheckResult]: Stem: 316#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;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(13, 4);call #Ultimate.allocInit(3, 5);call write~init~int(79, 5, 0, 1);call write~init~int(110, 5, 1, 1);call write~init~int(0, 5, 2, 1);call #Ultimate.allocInit(4, 6);call write~init~int(79, 6, 0, 1);call write~init~int(102, 6, 1, 1);call write~init~int(102, 6, 2, 1);call write~init~int(0, 6, 3, 1);call #Ultimate.allocInit(7, 7);call write~init~int(44, 7, 0, 1);call write~init~int(80, 7, 1, 1);call write~init~int(117, 7, 2, 1);call write~init~int(109, 7, 3, 1);call write~init~int(112, 7, 4, 1);call write~init~int(58, 7, 5, 1);call write~init~int(0, 7, 6, 1);call #Ultimate.allocInit(3, 8);call write~init~int(79, 8, 0, 1);call write~init~int(110, 8, 1, 1);call write~init~int(0, 8, 2, 1);call #Ultimate.allocInit(4, 9);call write~init~int(79, 9, 0, 1);call write~init~int(102, 9, 1, 1);call write~init~int(102, 9, 2, 1);call write~init~int(0, 9, 3, 1);call #Ultimate.allocInit(3, 10);call write~init~int(41, 10, 0, 1);call write~init~int(32, 10, 1, 1);call write~init~int(0, 10, 2, 1);call #Ultimate.allocInit(2, 11);call write~init~int(10, 11, 0, 1);call write~init~int(0, 11, 1, 1);call #Ultimate.allocInit(30, 12);call #Ultimate.allocInit(9, 13);call #Ultimate.allocInit(21, 14);call #Ultimate.allocInit(30, 15);call #Ultimate.allocInit(9, 16);call #Ultimate.allocInit(21, 17);call #Ultimate.allocInit(30, 18);call #Ultimate.allocInit(9, 19);call #Ultimate.allocInit(25, 20);call #Ultimate.allocInit(30, 21);call #Ultimate.allocInit(9, 22);call #Ultimate.allocInit(25, 23);call #Ultimate.allocInit(13, 24);call #Ultimate.allocInit(7, 25);call write~init~int(44, 25, 0, 1);call write~init~int(77, 25, 1, 1);call write~init~int(101, 25, 2, 1);call write~init~int(116, 25, 3, 1);call write~init~int(104, 25, 4, 1);call write~init~int(58, 25, 5, 1);call write~init~int(0, 25, 6, 1);call #Ultimate.allocInit(5, 26);call write~init~int(67, 26, 0, 1);call write~init~int(82, 26, 1, 1);call write~init~int(73, 26, 2, 1);call write~init~int(84, 26, 3, 1);call write~init~int(0, 26, 4, 1);call #Ultimate.allocInit(3, 27);call write~init~int(79, 27, 0, 1);call write~init~int(75, 27, 1, 1);call write~init~int(0, 27, 2, 1);call #Ultimate.allocInit(2, 28);call write~init~int(41, 28, 0, 1);call write~init~int(0, 28, 1, 1);~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4; 205#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~11#1, main_~tmp~11#1;havoc main_~retValue_acc~11#1;havoc main_~tmp~11#1;assume { :begin_inline_select_helpers } true; 49#L1035true assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 157#L1028true assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~13#1;havoc valid_product_~retValue_acc~13#1;valid_product_~retValue_acc~13#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~13#1; 148#L1043true main_#t~ret54#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~11#1 := main_#t~ret54#1;havoc main_#t~ret54#1; 114#L990true assume 0 != main_~tmp~11#1;assume { :begin_inline_setup } true; 285#L963true assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0; 268#L322true assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet22#1, test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_~splverifierCounter~0#1, test_~tmp~7#1, test_~tmp___0~3#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~7#1;havoc test_~tmp___0~3#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 257#L378-2true [2022-07-22 02:39:44,823 INFO L754 eck$LassoCheckResult]: Loop: 257#L378-2true assume !false; 131#L379true assume test_~splverifierCounter~0#1 < 4; 247#L380true test_~tmp~7#1 := test_#t~nondet22#1;havoc test_#t~nondet22#1; 31#L388true assume !(0 != test_~tmp~7#1); 179#L388-2true test_~tmp___0~3#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1; 305#L398true assume !(0 != test_~tmp___0~3#1); 188#L398-2true test_~tmp___2~0#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1; 291#L408true assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1; 248#L310true assume { :end_inline_startSystem } true; 138#L416-2true assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret19#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~1#1;havoc isPumpRunning_~retValue_acc~1#1;isPumpRunning_~retValue_acc~1#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~1#1; 117#L227true __utac_acc__Specification5_spec__2_#t~ret19#1 := isPumpRunning_#res#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret19#1;havoc __utac_acc__Specification5_spec__2_#t~ret19#1; 193#L332true assume { :end_inline___utac_acc__Specification5_spec__2 } true; 126#L73true assume !(0 != ~pumpRunning~0); 45#L73-2true assume !(0 != ~systemActive~0); 307#L80-1true assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret20#1, __utac_acc__Specification5_spec__3_#t~ret21#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~2#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~2#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~8#1;havoc getWaterLevel_~retValue_acc~8#1;getWaterLevel_~retValue_acc~8#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~8#1; 112#L876true __utac_acc__Specification5_spec__3_#t~ret20#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret20#1;havoc __utac_acc__Specification5_spec__3_#t~ret20#1; 274#L343true assume !(2 != __utac_acc__Specification5_spec__3_~tmp~6#1); 63#L343-1true assume { :end_inline___utac_acc__Specification5_spec__3 } true; 153#L90true assume { :end_inline_timeShift } true; 257#L378-2true [2022-07-22 02:39:44,830 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:44,833 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 1 times [2022-07-22 02:39:44,841 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:44,841 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1085613670] [2022-07-22 02:39:44,842 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:44,843 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:44,980 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:44,981 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:39:45,021 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,056 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:45,060 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,060 INFO L85 PathProgramCache]: Analyzing trace with hash 1858586251, now seen corresponding path program 1 times [2022-07-22 02:39:45,061 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,062 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [357000308] [2022-07-22 02:39:45,062 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,062 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,086 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 02:39:45,152 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 02:39:45,152 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 02:39:45,153 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [357000308] [2022-07-22 02:39:45,153 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [357000308] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 02:39:45,153 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 02:39:45,154 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-07-22 02:39:45,154 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [512730041] [2022-07-22 02:39:45,155 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 02:39:45,159 INFO L769 eck$LassoCheckResult]: loop already infeasible [2022-07-22 02:39:45,160 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 02:39:45,192 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-22 02:39:45,195 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-22 02:39:45,201 INFO L87 Difference]: Start difference. First operand has 329 states, 328 states have (on average 1.350609756097561) internal successors, (443), 328 states have internal predecessors, (443), 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 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) [2022-07-22 02:39:45,288 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 02:39:45,290 INFO L93 Difference]: Finished difference Result 326 states and 430 transitions. [2022-07-22 02:39:45,292 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-22 02:39:45,296 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 326 states and 430 transitions. [2022-07-22 02:39:45,304 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 211 [2022-07-22 02:39:45,312 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 326 states to 316 states and 419 transitions. [2022-07-22 02:39:45,315 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 316 [2022-07-22 02:39:45,317 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 316 [2022-07-22 02:39:45,317 INFO L73 IsDeterministic]: Start isDeterministic. Operand 316 states and 419 transitions. [2022-07-22 02:39:45,323 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 02:39:45,323 INFO L369 hiAutomatonCegarLoop]: Abstraction has 316 states and 419 transitions. [2022-07-22 02:39:45,339 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 316 states and 419 transitions. [2022-07-22 02:39:45,369 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 316 to 316. [2022-07-22 02:39:45,370 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 316 states, 316 states have (on average 1.3259493670886076) internal successors, (419), 315 states have internal predecessors, (419), 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) [2022-07-22 02:39:45,371 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 316 states to 316 states and 419 transitions. [2022-07-22 02:39:45,371 INFO L392 hiAutomatonCegarLoop]: Abstraction has 316 states and 419 transitions. [2022-07-22 02:39:45,372 INFO L374 stractBuchiCegarLoop]: Abstraction has 316 states and 419 transitions. [2022-07-22 02:39:45,372 INFO L287 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2022-07-22 02:39:45,372 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 316 states and 419 transitions. [2022-07-22 02:39:45,374 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 211 [2022-07-22 02:39:45,374 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:39:45,374 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:39:45,374 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:45,374 INFO L180 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] [2022-07-22 02:39:45,375 INFO L752 eck$LassoCheckResult]: Stem: 976#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;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(13, 4);call #Ultimate.allocInit(3, 5);call write~init~int(79, 5, 0, 1);call write~init~int(110, 5, 1, 1);call write~init~int(0, 5, 2, 1);call #Ultimate.allocInit(4, 6);call write~init~int(79, 6, 0, 1);call write~init~int(102, 6, 1, 1);call write~init~int(102, 6, 2, 1);call write~init~int(0, 6, 3, 1);call #Ultimate.allocInit(7, 7);call write~init~int(44, 7, 0, 1);call write~init~int(80, 7, 1, 1);call write~init~int(117, 7, 2, 1);call write~init~int(109, 7, 3, 1);call write~init~int(112, 7, 4, 1);call write~init~int(58, 7, 5, 1);call write~init~int(0, 7, 6, 1);call #Ultimate.allocInit(3, 8);call write~init~int(79, 8, 0, 1);call write~init~int(110, 8, 1, 1);call write~init~int(0, 8, 2, 1);call #Ultimate.allocInit(4, 9);call write~init~int(79, 9, 0, 1);call write~init~int(102, 9, 1, 1);call write~init~int(102, 9, 2, 1);call write~init~int(0, 9, 3, 1);call #Ultimate.allocInit(3, 10);call write~init~int(41, 10, 0, 1);call write~init~int(32, 10, 1, 1);call write~init~int(0, 10, 2, 1);call #Ultimate.allocInit(2, 11);call write~init~int(10, 11, 0, 1);call write~init~int(0, 11, 1, 1);call #Ultimate.allocInit(30, 12);call #Ultimate.allocInit(9, 13);call #Ultimate.allocInit(21, 14);call #Ultimate.allocInit(30, 15);call #Ultimate.allocInit(9, 16);call #Ultimate.allocInit(21, 17);call #Ultimate.allocInit(30, 18);call #Ultimate.allocInit(9, 19);call #Ultimate.allocInit(25, 20);call #Ultimate.allocInit(30, 21);call #Ultimate.allocInit(9, 22);call #Ultimate.allocInit(25, 23);call #Ultimate.allocInit(13, 24);call #Ultimate.allocInit(7, 25);call write~init~int(44, 25, 0, 1);call write~init~int(77, 25, 1, 1);call write~init~int(101, 25, 2, 1);call write~init~int(116, 25, 3, 1);call write~init~int(104, 25, 4, 1);call write~init~int(58, 25, 5, 1);call write~init~int(0, 25, 6, 1);call #Ultimate.allocInit(5, 26);call write~init~int(67, 26, 0, 1);call write~init~int(82, 26, 1, 1);call write~init~int(73, 26, 2, 1);call write~init~int(84, 26, 3, 1);call write~init~int(0, 26, 4, 1);call #Ultimate.allocInit(3, 27);call write~init~int(79, 27, 0, 1);call write~init~int(75, 27, 1, 1);call write~init~int(0, 27, 2, 1);call #Ultimate.allocInit(2, 28);call write~init~int(41, 28, 0, 1);call write~init~int(0, 28, 1, 1);~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4; 936#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~11#1, main_~tmp~11#1;havoc main_~retValue_acc~11#1;havoc main_~tmp~11#1;assume { :begin_inline_select_helpers } true; 754#L1035 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 755#L1028 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~13#1;havoc valid_product_~retValue_acc~13#1;valid_product_~retValue_acc~13#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~13#1; 892#L1043 main_#t~ret54#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~11#1 := main_#t~ret54#1;havoc main_#t~ret54#1; 852#L990 assume 0 != main_~tmp~11#1;assume { :begin_inline_setup } true; 853#L963 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0; 963#L322 assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet22#1, test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_~splverifierCounter~0#1, test_~tmp~7#1, test_~tmp___0~3#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~7#1;havoc test_~tmp___0~3#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 895#L378-2 [2022-07-22 02:39:45,375 INFO L754 eck$LassoCheckResult]: Loop: 895#L378-2 assume !false; 874#L379 assume test_~splverifierCounter~0#1 < 4; 875#L380 test_~tmp~7#1 := test_#t~nondet22#1;havoc test_#t~nondet22#1; 722#L388 assume !(0 != test_~tmp~7#1); 724#L388-2 test_~tmp___0~3#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1; 920#L398 assume !(0 != test_~tmp___0~3#1); 671#L398-2 test_~tmp___2~0#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1; 928#L408 assume !(0 != test_~tmp___2~0#1);test_~tmp___1~0#1 := test_#t~nondet25#1;havoc test_#t~nondet25#1; 715#L416 assume 0 != test_~tmp___1~0#1; 716#L416-2 assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret19#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~1#1;havoc isPumpRunning_~retValue_acc~1#1;isPumpRunning_~retValue_acc~1#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~1#1; 854#L227 __utac_acc__Specification5_spec__2_#t~ret19#1 := isPumpRunning_#res#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret19#1;havoc __utac_acc__Specification5_spec__2_#t~ret19#1; 855#L332 assume { :end_inline___utac_acc__Specification5_spec__2 } true; 868#L73 assume !(0 != ~pumpRunning~0); 749#L73-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret6#1, processEnvironment_~tmp~2#1;havoc processEnvironment_~tmp~2#1; 676#L157 assume 0 != ~pumpRunning~0;assume { :begin_inline_isMethaneAlarm } true;havoc isMethaneAlarm_#res#1;havoc isMethaneAlarm_#t~ret8#1, isMethaneAlarm_~retValue_acc~0#1;havoc isMethaneAlarm_~retValue_acc~0#1;assume { :begin_inline_isMethaneLevelCritical } true;havoc isMethaneLevelCritical_#res#1;havoc isMethaneLevelCritical_~retValue_acc~7#1;havoc isMethaneLevelCritical_~retValue_acc~7#1;isMethaneLevelCritical_~retValue_acc~7#1 := ~methaneLevelCritical~0;isMethaneLevelCritical_#res#1 := isMethaneLevelCritical_~retValue_acc~7#1; 677#L844 isMethaneAlarm_#t~ret8#1 := isMethaneLevelCritical_#res#1;assume { :end_inline_isMethaneLevelCritical } true;isMethaneAlarm_~retValue_acc~0#1 := isMethaneAlarm_#t~ret8#1;havoc isMethaneAlarm_#t~ret8#1;isMethaneAlarm_#res#1 := isMethaneAlarm_~retValue_acc~0#1; 826#L218 processEnvironment_#t~ret6#1 := isMethaneAlarm_#res#1;assume { :end_inline_isMethaneAlarm } true;processEnvironment_~tmp~2#1 := processEnvironment_#t~ret6#1;havoc processEnvironment_#t~ret6#1; 915#L161 assume 0 != processEnvironment_~tmp~2#1;assume { :begin_inline_deactivatePump } true;~pumpRunning~0 := 0; 916#L208 assume { :end_inline_deactivatePump } true; 710#L157-1 assume { :end_inline_processEnvironment } true; 711#L80-1 assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret20#1, __utac_acc__Specification5_spec__3_#t~ret21#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~2#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~2#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~8#1;havoc getWaterLevel_~retValue_acc~8#1;getWaterLevel_~retValue_acc~8#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~8#1; 850#L876 __utac_acc__Specification5_spec__3_#t~ret20#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret20#1;havoc __utac_acc__Specification5_spec__3_#t~ret20#1; 851#L343 assume !(2 != __utac_acc__Specification5_spec__3_~tmp~6#1); 778#L343-1 assume { :end_inline___utac_acc__Specification5_spec__3 } true; 779#L90 assume { :end_inline_timeShift } true; 895#L378-2 [2022-07-22 02:39:45,375 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,376 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 2 times [2022-07-22 02:39:45,376 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,376 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [834927914] [2022-07-22 02:39:45,376 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,376 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,392 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:39:45,404 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,409 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:45,410 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,410 INFO L85 PathProgramCache]: Analyzing trace with hash -1612952875, now seen corresponding path program 1 times [2022-07-22 02:39:45,411 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,411 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [376026155] [2022-07-22 02:39:45,411 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,411 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 02:39:45,428 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 02:39:45,428 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 02:39:45,428 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [376026155] [2022-07-22 02:39:45,428 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [376026155] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 02:39:45,429 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 02:39:45,429 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-07-22 02:39:45,429 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1976833783] [2022-07-22 02:39:45,429 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 02:39:45,430 INFO L769 eck$LassoCheckResult]: loop already infeasible [2022-07-22 02:39:45,430 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 02:39:45,430 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-22 02:39:45,430 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-22 02:39:45,431 INFO L87 Difference]: Start difference. First operand 316 states and 419 transitions. cyclomatic complexity: 105 Second operand has 3 states, 3 states have (on average 8.333333333333334) internal successors, (25), 3 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-22 02:39:45,533 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 02:39:45,533 INFO L93 Difference]: Finished difference Result 333 states and 419 transitions. [2022-07-22 02:39:45,534 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-22 02:39:45,535 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 333 states and 419 transitions. [2022-07-22 02:39:45,545 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 228 [2022-07-22 02:39:45,548 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 333 states to 333 states and 419 transitions. [2022-07-22 02:39:45,548 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 333 [2022-07-22 02:39:45,548 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 333 [2022-07-22 02:39:45,548 INFO L73 IsDeterministic]: Start isDeterministic. Operand 333 states and 419 transitions. [2022-07-22 02:39:45,550 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 02:39:45,550 INFO L369 hiAutomatonCegarLoop]: Abstraction has 333 states and 419 transitions. [2022-07-22 02:39:45,551 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 333 states and 419 transitions. [2022-07-22 02:39:45,568 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 333 to 333. [2022-07-22 02:39:45,569 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 333 states, 333 states have (on average 1.2582582582582582) internal successors, (419), 332 states have internal predecessors, (419), 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) [2022-07-22 02:39:45,570 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 333 states to 333 states and 419 transitions. [2022-07-22 02:39:45,570 INFO L392 hiAutomatonCegarLoop]: Abstraction has 333 states and 419 transitions. [2022-07-22 02:39:45,570 INFO L374 stractBuchiCegarLoop]: Abstraction has 333 states and 419 transitions. [2022-07-22 02:39:45,570 INFO L287 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2022-07-22 02:39:45,570 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 333 states and 419 transitions. [2022-07-22 02:39:45,577 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 228 [2022-07-22 02:39:45,580 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:39:45,580 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:39:45,581 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:45,581 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:45,582 INFO L752 eck$LassoCheckResult]: Stem: 1580#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;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(13, 4);call #Ultimate.allocInit(3, 5);call write~init~int(79, 5, 0, 1);call write~init~int(110, 5, 1, 1);call write~init~int(0, 5, 2, 1);call #Ultimate.allocInit(4, 6);call write~init~int(79, 6, 0, 1);call write~init~int(102, 6, 1, 1);call write~init~int(102, 6, 2, 1);call write~init~int(0, 6, 3, 1);call #Ultimate.allocInit(7, 7);call write~init~int(44, 7, 0, 1);call write~init~int(80, 7, 1, 1);call write~init~int(117, 7, 2, 1);call write~init~int(109, 7, 3, 1);call write~init~int(112, 7, 4, 1);call write~init~int(58, 7, 5, 1);call write~init~int(0, 7, 6, 1);call #Ultimate.allocInit(3, 8);call write~init~int(79, 8, 0, 1);call write~init~int(110, 8, 1, 1);call write~init~int(0, 8, 2, 1);call #Ultimate.allocInit(4, 9);call write~init~int(79, 9, 0, 1);call write~init~int(102, 9, 1, 1);call write~init~int(102, 9, 2, 1);call write~init~int(0, 9, 3, 1);call #Ultimate.allocInit(3, 10);call write~init~int(41, 10, 0, 1);call write~init~int(32, 10, 1, 1);call write~init~int(0, 10, 2, 1);call #Ultimate.allocInit(2, 11);call write~init~int(10, 11, 0, 1);call write~init~int(0, 11, 1, 1);call #Ultimate.allocInit(30, 12);call #Ultimate.allocInit(9, 13);call #Ultimate.allocInit(21, 14);call #Ultimate.allocInit(30, 15);call #Ultimate.allocInit(9, 16);call #Ultimate.allocInit(21, 17);call #Ultimate.allocInit(30, 18);call #Ultimate.allocInit(9, 19);call #Ultimate.allocInit(25, 20);call #Ultimate.allocInit(30, 21);call #Ultimate.allocInit(9, 22);call #Ultimate.allocInit(25, 23);call #Ultimate.allocInit(13, 24);call #Ultimate.allocInit(7, 25);call write~init~int(44, 25, 0, 1);call write~init~int(77, 25, 1, 1);call write~init~int(101, 25, 2, 1);call write~init~int(116, 25, 3, 1);call write~init~int(104, 25, 4, 1);call write~init~int(58, 25, 5, 1);call write~init~int(0, 25, 6, 1);call #Ultimate.allocInit(5, 26);call write~init~int(67, 26, 0, 1);call write~init~int(82, 26, 1, 1);call write~init~int(73, 26, 2, 1);call write~init~int(84, 26, 3, 1);call write~init~int(0, 26, 4, 1);call #Ultimate.allocInit(3, 27);call write~init~int(79, 27, 0, 1);call write~init~int(75, 27, 1, 1);call write~init~int(0, 27, 2, 1);call #Ultimate.allocInit(2, 28);call write~init~int(41, 28, 0, 1);call write~init~int(0, 28, 1, 1);~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4; 1536#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~11#1, main_~tmp~11#1;havoc main_~retValue_acc~11#1;havoc main_~tmp~11#1;assume { :begin_inline_select_helpers } true; 1391#L1035 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 1392#L1028 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~13#1;havoc valid_product_~retValue_acc~13#1;valid_product_~retValue_acc~13#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~13#1; 1498#L1043 main_#t~ret54#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~11#1 := main_#t~ret54#1;havoc main_#t~ret54#1; 1463#L990 assume 0 != main_~tmp~11#1;assume { :begin_inline_setup } true; 1464#L963 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0; 1565#L322 assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet22#1, test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_~splverifierCounter~0#1, test_~tmp~7#1, test_~tmp___0~3#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~7#1;havoc test_~tmp___0~3#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 1501#L378-2 [2022-07-22 02:39:45,582 INFO L754 eck$LassoCheckResult]: Loop: 1501#L378-2 assume !false; 1480#L379 assume test_~splverifierCounter~0#1 < 4; 1481#L380 test_~tmp~7#1 := test_#t~nondet22#1;havoc test_#t~nondet22#1; 1649#L388 assume !(0 != test_~tmp~7#1); 1647#L388-2 test_~tmp___0~3#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1; 1645#L398 assume !(0 != test_~tmp___0~3#1); 1643#L398-2 test_~tmp___2~0#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1; 1642#L408 assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1; 1640#L310 assume { :end_inline_startSystem } true; 1639#L416-2 assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret19#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~1#1;havoc isPumpRunning_~retValue_acc~1#1;isPumpRunning_~retValue_acc~1#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~1#1; 1465#L227 __utac_acc__Specification5_spec__2_#t~ret19#1 := isPumpRunning_#res#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret19#1;havoc __utac_acc__Specification5_spec__2_#t~ret19#1; 1466#L332 assume { :end_inline___utac_acc__Specification5_spec__2 } true; 1474#L73 assume !(0 != ~pumpRunning~0); 1386#L73-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret6#1, processEnvironment_~tmp~2#1;havoc processEnvironment_~tmp~2#1; 1325#L157 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__methaneQuery } true;havoc processEnvironment__wrappee__methaneQuery_#t~ret5#1, processEnvironment__wrappee__methaneQuery_~tmp~1#1;havoc processEnvironment__wrappee__methaneQuery_~tmp~1#1; 1326#L131-2 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__highWaterSensor } true;havoc processEnvironment__wrappee__highWaterSensor_#t~ret4#1, processEnvironment__wrappee__highWaterSensor_~tmp~0#1;havoc processEnvironment__wrappee__highWaterSensor_~tmp~0#1; 1327#L105-6 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret17#1, isHighWaterLevel_~retValue_acc~2#1, isHighWaterLevel_~tmp~4#1, isHighWaterLevel_~tmp___0~0#1;havoc isHighWaterLevel_~retValue_acc~2#1;havoc isHighWaterLevel_~tmp~4#1;havoc isHighWaterLevel_~tmp___0~0#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~9#1;havoc isHighWaterSensorDry_~retValue_acc~9#1; 1328#L884-3 assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~9#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~9#1; 1453#L889-3 isHighWaterLevel_#t~ret17#1 := isHighWaterSensorDry_#res#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~4#1 := isHighWaterLevel_#t~ret17#1;havoc isHighWaterLevel_#t~ret17#1; 1454#L276-9 assume 0 != isHighWaterLevel_~tmp~4#1;isHighWaterLevel_~tmp___0~0#1 := 0; 1444#L276-11 isHighWaterLevel_~retValue_acc~2#1 := isHighWaterLevel_~tmp___0~0#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~2#1; 1445#L282-3 processEnvironment__wrappee__highWaterSensor_#t~ret4#1 := isHighWaterLevel_#res#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment__wrappee__highWaterSensor_~tmp~0#1 := processEnvironment__wrappee__highWaterSensor_#t~ret4#1;havoc processEnvironment__wrappee__highWaterSensor_#t~ret4#1; 1569#L109-9 assume !(0 != processEnvironment__wrappee__highWaterSensor_~tmp~0#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 1321#L97-6 assume { :end_inline_processEnvironment__wrappee__base } true; 1322#L105-7 assume { :end_inline_processEnvironment__wrappee__highWaterSensor } true; 1472#L131-3 assume { :end_inline_processEnvironment__wrappee__methaneQuery } true; 1355#L157-1 assume { :end_inline_processEnvironment } true; 1356#L80-1 assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret20#1, __utac_acc__Specification5_spec__3_#t~ret21#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~2#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~2#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~8#1;havoc getWaterLevel_~retValue_acc~8#1;getWaterLevel_~retValue_acc~8#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~8#1; 1461#L876 __utac_acc__Specification5_spec__3_#t~ret20#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret20#1;havoc __utac_acc__Specification5_spec__3_#t~ret20#1; 1462#L343 assume !(2 != __utac_acc__Specification5_spec__3_~tmp~6#1); 1408#L343-1 assume { :end_inline___utac_acc__Specification5_spec__3 } true; 1409#L90 assume { :end_inline_timeShift } true; 1501#L378-2 [2022-07-22 02:39:45,583 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,583 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 3 times [2022-07-22 02:39:45,583 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,583 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2134831907] [2022-07-22 02:39:45,584 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,584 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,604 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,619 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:39:45,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,633 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:45,640 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,640 INFO L85 PathProgramCache]: Analyzing trace with hash 1643392611, now seen corresponding path program 1 times [2022-07-22 02:39:45,640 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,641 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [122394534] [2022-07-22 02:39:45,641 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,641 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,653 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 02:39:45,689 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 02:39:45,689 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 02:39:45,689 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [122394534] [2022-07-22 02:39:45,689 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [122394534] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 02:39:45,690 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 02:39:45,690 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2022-07-22 02:39:45,690 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1647108102] [2022-07-22 02:39:45,690 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 02:39:45,691 INFO L769 eck$LassoCheckResult]: loop already infeasible [2022-07-22 02:39:45,691 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 02:39:45,692 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-07-22 02:39:45,692 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2022-07-22 02:39:45,692 INFO L87 Difference]: Start difference. First operand 333 states and 419 transitions. cyclomatic complexity: 88 Second operand has 5 states, 5 states have (on average 6.4) internal successors, (32), 5 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) [2022-07-22 02:39:45,894 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 02:39:45,895 INFO L93 Difference]: Finished difference Result 998 states and 1232 transitions. [2022-07-22 02:39:45,897 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-07-22 02:39:45,898 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 998 states and 1232 transitions. [2022-07-22 02:39:45,907 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 627 [2022-07-22 02:39:45,912 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 998 states to 998 states and 1232 transitions. [2022-07-22 02:39:45,913 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 998 [2022-07-22 02:39:45,914 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 998 [2022-07-22 02:39:45,914 INFO L73 IsDeterministic]: Start isDeterministic. Operand 998 states and 1232 transitions. [2022-07-22 02:39:45,915 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 02:39:45,915 INFO L369 hiAutomatonCegarLoop]: Abstraction has 998 states and 1232 transitions. [2022-07-22 02:39:45,916 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 998 states and 1232 transitions. [2022-07-22 02:39:45,929 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 998 to 656. [2022-07-22 02:39:45,930 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 656 states, 656 states have (on average 1.236280487804878) internal successors, (811), 655 states have internal predecessors, (811), 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) [2022-07-22 02:39:45,933 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 656 states to 656 states and 811 transitions. [2022-07-22 02:39:45,933 INFO L392 hiAutomatonCegarLoop]: Abstraction has 656 states and 811 transitions. [2022-07-22 02:39:45,933 INFO L374 stractBuchiCegarLoop]: Abstraction has 656 states and 811 transitions. [2022-07-22 02:39:45,934 INFO L287 stractBuchiCegarLoop]: ======== Iteration 4 ============ [2022-07-22 02:39:45,934 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 656 states and 811 transitions. [2022-07-22 02:39:45,937 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 454 [2022-07-22 02:39:45,938 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:39:45,938 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:39:45,939 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:45,939 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:39:45,940 INFO L752 eck$LassoCheckResult]: Stem: 2957#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;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(13, 4);call #Ultimate.allocInit(3, 5);call write~init~int(79, 5, 0, 1);call write~init~int(110, 5, 1, 1);call write~init~int(0, 5, 2, 1);call #Ultimate.allocInit(4, 6);call write~init~int(79, 6, 0, 1);call write~init~int(102, 6, 1, 1);call write~init~int(102, 6, 2, 1);call write~init~int(0, 6, 3, 1);call #Ultimate.allocInit(7, 7);call write~init~int(44, 7, 0, 1);call write~init~int(80, 7, 1, 1);call write~init~int(117, 7, 2, 1);call write~init~int(109, 7, 3, 1);call write~init~int(112, 7, 4, 1);call write~init~int(58, 7, 5, 1);call write~init~int(0, 7, 6, 1);call #Ultimate.allocInit(3, 8);call write~init~int(79, 8, 0, 1);call write~init~int(110, 8, 1, 1);call write~init~int(0, 8, 2, 1);call #Ultimate.allocInit(4, 9);call write~init~int(79, 9, 0, 1);call write~init~int(102, 9, 1, 1);call write~init~int(102, 9, 2, 1);call write~init~int(0, 9, 3, 1);call #Ultimate.allocInit(3, 10);call write~init~int(41, 10, 0, 1);call write~init~int(32, 10, 1, 1);call write~init~int(0, 10, 2, 1);call #Ultimate.allocInit(2, 11);call write~init~int(10, 11, 0, 1);call write~init~int(0, 11, 1, 1);call #Ultimate.allocInit(30, 12);call #Ultimate.allocInit(9, 13);call #Ultimate.allocInit(21, 14);call #Ultimate.allocInit(30, 15);call #Ultimate.allocInit(9, 16);call #Ultimate.allocInit(21, 17);call #Ultimate.allocInit(30, 18);call #Ultimate.allocInit(9, 19);call #Ultimate.allocInit(25, 20);call #Ultimate.allocInit(30, 21);call #Ultimate.allocInit(9, 22);call #Ultimate.allocInit(25, 23);call #Ultimate.allocInit(13, 24);call #Ultimate.allocInit(7, 25);call write~init~int(44, 25, 0, 1);call write~init~int(77, 25, 1, 1);call write~init~int(101, 25, 2, 1);call write~init~int(116, 25, 3, 1);call write~init~int(104, 25, 4, 1);call write~init~int(58, 25, 5, 1);call write~init~int(0, 25, 6, 1);call #Ultimate.allocInit(5, 26);call write~init~int(67, 26, 0, 1);call write~init~int(82, 26, 1, 1);call write~init~int(73, 26, 2, 1);call write~init~int(84, 26, 3, 1);call write~init~int(0, 26, 4, 1);call #Ultimate.allocInit(3, 27);call write~init~int(79, 27, 0, 1);call write~init~int(75, 27, 1, 1);call write~init~int(0, 27, 2, 1);call #Ultimate.allocInit(2, 28);call write~init~int(41, 28, 0, 1);call write~init~int(0, 28, 1, 1);~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4; 2898#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret54#1, main_~retValue_acc~11#1, main_~tmp~11#1;havoc main_~retValue_acc~11#1;havoc main_~tmp~11#1;assume { :begin_inline_select_helpers } true; 2736#L1035 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 2737#L1028 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~13#1;havoc valid_product_~retValue_acc~13#1;valid_product_~retValue_acc~13#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~13#1; 2851#L1043 main_#t~ret54#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~11#1 := main_#t~ret54#1;havoc main_#t~ret54#1; 2815#L990 assume 0 != main_~tmp~11#1;assume { :begin_inline_setup } true; 2816#L963 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline___utac_acc__Specification5_spec__1 } true;~switchedOnBeforeTS~0 := 0; 2934#L322 assume { :end_inline___utac_acc__Specification5_spec__1 } true;assume { :begin_inline_test } true;havoc test_#t~nondet22#1, test_#t~nondet23#1, test_#t~nondet24#1, test_#t~nondet25#1, test_~splverifierCounter~0#1, test_~tmp~7#1, test_~tmp___0~3#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~7#1;havoc test_~tmp___0~3#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 2856#L378-2 [2022-07-22 02:39:45,941 INFO L754 eck$LassoCheckResult]: Loop: 2856#L378-2 assume !false; 2834#L379 assume test_~splverifierCounter~0#1 < 4; 2835#L380 test_~tmp~7#1 := test_#t~nondet22#1;havoc test_#t~nondet22#1; 2713#L388 assume !(0 != test_~tmp~7#1); 2715#L388-2 test_~tmp___0~3#1 := test_#t~nondet23#1;havoc test_#t~nondet23#1; 3296#L398 assume !(0 != test_~tmp___0~3#1); 3294#L398-2 test_~tmp___2~0#1 := test_#t~nondet24#1;havoc test_#t~nondet24#1; 3293#L408 assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1; 3291#L310 assume { :end_inline_startSystem } true; 3290#L416-2 assume { :begin_inline_timeShift } true;assume { :begin_inline___utac_acc__Specification5_spec__2 } true;havoc __utac_acc__Specification5_spec__2_#t~ret19#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~1#1;havoc isPumpRunning_~retValue_acc~1#1;isPumpRunning_~retValue_acc~1#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~1#1; 2817#L227 __utac_acc__Specification5_spec__2_#t~ret19#1 := isPumpRunning_#res#1;assume { :end_inline_isPumpRunning } true;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret19#1;havoc __utac_acc__Specification5_spec__2_#t~ret19#1; 2818#L332 assume { :end_inline___utac_acc__Specification5_spec__2 } true; 2826#L73 assume !(0 != ~pumpRunning~0); 2733#L73-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret6#1, processEnvironment_~tmp~2#1;havoc processEnvironment_~tmp~2#1; 2674#L157 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__methaneQuery } true;havoc processEnvironment__wrappee__methaneQuery_#t~ret5#1, processEnvironment__wrappee__methaneQuery_~tmp~1#1;havoc processEnvironment__wrappee__methaneQuery_~tmp~1#1; 2675#L131-2 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__highWaterSensor } true;havoc processEnvironment__wrappee__highWaterSensor_#t~ret4#1, processEnvironment__wrappee__highWaterSensor_~tmp~0#1;havoc processEnvironment__wrappee__highWaterSensor_~tmp~0#1; 2672#L105-6 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret17#1, isHighWaterLevel_~retValue_acc~2#1, isHighWaterLevel_~tmp~4#1, isHighWaterLevel_~tmp___0~0#1;havoc isHighWaterLevel_~retValue_acc~2#1;havoc isHighWaterLevel_~tmp~4#1;havoc isHighWaterLevel_~tmp___0~0#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~9#1;havoc isHighWaterSensorDry_~retValue_acc~9#1; 2673#L884-3 assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~9#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~9#1; 2804#L889-3 isHighWaterLevel_#t~ret17#1 := isHighWaterSensorDry_#res#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~4#1 := isHighWaterLevel_#t~ret17#1;havoc isHighWaterLevel_#t~ret17#1; 2805#L276-9 assume 0 != isHighWaterLevel_~tmp~4#1;isHighWaterLevel_~tmp___0~0#1 := 0; 2795#L276-11 isHighWaterLevel_~retValue_acc~2#1 := isHighWaterLevel_~tmp___0~0#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~2#1; 2796#L282-3 processEnvironment__wrappee__highWaterSensor_#t~ret4#1 := isHighWaterLevel_#res#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment__wrappee__highWaterSensor_~tmp~0#1 := processEnvironment__wrappee__highWaterSensor_#t~ret4#1;havoc processEnvironment__wrappee__highWaterSensor_#t~ret4#1; 2940#L109-9 assume !(0 != processEnvironment__wrappee__highWaterSensor_~tmp~0#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 2668#L97-6 assume { :end_inline_processEnvironment__wrappee__base } true; 2669#L105-7 assume { :end_inline_processEnvironment__wrappee__highWaterSensor } true; 3272#L131-3 assume { :end_inline_processEnvironment__wrappee__methaneQuery } true; 2948#L157-1 assume { :end_inline_processEnvironment } true; 2953#L80-1 assume { :begin_inline___utac_acc__Specification5_spec__3 } true;havoc __utac_acc__Specification5_spec__3_#t~ret20#1, __utac_acc__Specification5_spec__3_#t~ret21#1, __utac_acc__Specification5_spec__3_~tmp~6#1, __utac_acc__Specification5_spec__3_~tmp___0~2#1;havoc __utac_acc__Specification5_spec__3_~tmp~6#1;havoc __utac_acc__Specification5_spec__3_~tmp___0~2#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~8#1;havoc getWaterLevel_~retValue_acc~8#1;getWaterLevel_~retValue_acc~8#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~8#1; 2813#L876 __utac_acc__Specification5_spec__3_#t~ret20#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification5_spec__3_~tmp~6#1 := __utac_acc__Specification5_spec__3_#t~ret20#1;havoc __utac_acc__Specification5_spec__3_#t~ret20#1; 2814#L343 assume 2 != __utac_acc__Specification5_spec__3_~tmp~6#1;assume { :begin_inline_isPumpRunning } true;havoc isPumpRunning_#res#1;havoc isPumpRunning_~retValue_acc~1#1;havoc isPumpRunning_~retValue_acc~1#1;isPumpRunning_~retValue_acc~1#1 := ~pumpRunning~0;isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~1#1; 2710#L227-1 __utac_acc__Specification5_spec__3_#t~ret21#1 := isPumpRunning_#res#1;assume { :end_inline_isPumpRunning } true;__utac_acc__Specification5_spec__3_~tmp___0~2#1 := __utac_acc__Specification5_spec__3_#t~ret21#1;havoc __utac_acc__Specification5_spec__3_#t~ret21#1; 2711#L347 assume !(0 != __utac_acc__Specification5_spec__3_~tmp___0~2#1); 2758#L343-1 assume { :end_inline___utac_acc__Specification5_spec__3 } true; 2759#L90 assume { :end_inline_timeShift } true; 2856#L378-2 [2022-07-22 02:39:45,942 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,942 INFO L85 PathProgramCache]: Analyzing trace with hash 87859946, now seen corresponding path program 4 times [2022-07-22 02:39:45,943 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,943 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [739944890] [2022-07-22 02:39:45,943 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,944 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,955 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,956 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:39:45,963 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,966 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:45,967 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,967 INFO L85 PathProgramCache]: Analyzing trace with hash -1266756834, now seen corresponding path program 1 times [2022-07-22 02:39:45,967 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,968 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [700031524] [2022-07-22 02:39:45,968 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,968 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:45,975 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,975 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:39:45,980 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:45,984 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:45,985 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:39:45,985 INFO L85 PathProgramCache]: Analyzing trace with hash 794393543, now seen corresponding path program 1 times [2022-07-22 02:39:45,985 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:39:45,985 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1567684565] [2022-07-22 02:39:45,985 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:39:45,986 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:39:46,005 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:46,005 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:39:46,023 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:39:46,049 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:49,012 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 22.07 02:39:49 BoogieIcfgContainer [2022-07-22 02:39:49,012 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2022-07-22 02:39:49,012 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-07-22 02:39:49,012 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-07-22 02:39:49,013 INFO L275 PluginConnector]: Witness Printer initialized [2022-07-22 02:39:49,013 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:39:44" (3/4) ... [2022-07-22 02:39:49,015 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2022-07-22 02:39:49,060 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2022-07-22 02:39:49,061 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-07-22 02:39:49,061 INFO L158 Benchmark]: Toolchain (without parser) took 5939.34ms. Allocated memory was 56.6MB in the beginning and 107.0MB in the end (delta: 50.3MB). Free memory was 39.9MB in the beginning and 34.3MB in the end (delta: 5.6MB). Peak memory consumption was 56.9MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,062 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 46.1MB. Free memory was 27.8MB in the beginning and 27.8MB in the end (delta: 47.6kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-22 02:39:49,062 INFO L158 Benchmark]: CACSL2BoogieTranslator took 464.09ms. Allocated memory is still 56.6MB. Free memory was 39.6MB in the beginning and 31.3MB in the end (delta: 8.3MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,063 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.82ms. Allocated memory is still 56.6MB. Free memory was 31.2MB in the beginning and 38.1MB in the end (delta: -7.0MB). Peak memory consumption was 10.8MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,063 INFO L158 Benchmark]: Boogie Preprocessor took 82.87ms. Allocated memory is still 56.6MB. Free memory was 38.1MB in the beginning and 34.4MB in the end (delta: 3.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,063 INFO L158 Benchmark]: RCFGBuilder took 847.15ms. Allocated memory was 56.6MB in the beginning and 73.4MB in the end (delta: 16.8MB). Free memory was 34.4MB in the beginning and 39.7MB in the end (delta: -5.2MB). Peak memory consumption was 16.6MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,064 INFO L158 Benchmark]: BuchiAutomizer took 4396.41ms. Allocated memory was 73.4MB in the beginning and 107.0MB in the end (delta: 33.6MB). Free memory was 39.7MB in the beginning and 37.5MB in the end (delta: 2.1MB). Peak memory consumption was 43.6MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,064 INFO L158 Benchmark]: Witness Printer took 48.46ms. Allocated memory is still 107.0MB. Free memory was 37.5MB in the beginning and 34.3MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2022-07-22 02:39:49,066 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.19ms. Allocated memory is still 46.1MB. Free memory was 27.8MB in the beginning and 27.8MB in the end (delta: 47.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 464.09ms. Allocated memory is still 56.6MB. Free memory was 39.6MB in the beginning and 31.3MB in the end (delta: 8.3MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.82ms. Allocated memory is still 56.6MB. Free memory was 31.2MB in the beginning and 38.1MB in the end (delta: -7.0MB). Peak memory consumption was 10.8MB. Max. memory is 16.1GB. * Boogie Preprocessor took 82.87ms. Allocated memory is still 56.6MB. Free memory was 38.1MB in the beginning and 34.4MB in the end (delta: 3.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 847.15ms. Allocated memory was 56.6MB in the beginning and 73.4MB in the end (delta: 16.8MB). Free memory was 34.4MB in the beginning and 39.7MB in the end (delta: -5.2MB). Peak memory consumption was 16.6MB. Max. memory is 16.1GB. * BuchiAutomizer took 4396.41ms. Allocated memory was 73.4MB in the beginning and 107.0MB in the end (delta: 33.6MB). Free memory was 39.7MB in the beginning and 37.5MB in the end (delta: 2.1MB). Peak memory consumption was 43.6MB. Max. memory is 16.1GB. * Witness Printer took 48.46ms. Allocated memory is still 107.0MB. Free memory was 37.5MB in the beginning and 34.3MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 3 terminating modules (3 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.3 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 656 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.3s and 4 iterations. TraceHistogramMax:1. Analysis of lassos took 3.5s. Construction of modules took 0.1s. Büchi inclusion checks took 0.2s. Highest rank in rank-based complementation 0. Minimization of det autom 3. Minimization of nondet autom 0. Automata minimization 0.1s AutomataMinimizationTime, 3 MinimizatonAttempts, 342 StatesRemovedByMinimization, 1 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 1796 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 1796 mSDsluCounter, 2506 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1239 mSDsCounter, 79 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 164 IncrementalHoareTripleChecker+Invalid, 243 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 79 mSolverCounterUnsat, 1267 mSDtfsCounter, 164 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc0 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 - FixpointNonTerminationResult [Line: 378]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=1} State at position 1 is {splverifierCounter=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3f32e2dd=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6d22ee62=0, tmp=0, tmp___0=0, NULL=0, head=0, pumpRunning=0, NULL=1, retValue_acc=0, retValue_acc=1, retValue_acc=1, methaneLevelCritical=0, retValue_acc=0, \result=1, retValue_acc=1, tmp=1, \result=1, tmp=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2f6d224e=0, tmp=1, tmp___2=29, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@12da5d3f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@76ef4013=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@53865e4f=0, cleanupTimeShifts=4, switchedOnBeforeTS=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@d024135=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2333deca=0, tmp___0=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@78017895=0, head=0, \result=1, tmp___1=0, NULL=0, waterLevel=1, systemActive=1, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@70ee44ca=0, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@32eb2f66=29, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6f44ccd0=0, tmp=0, retValue_acc=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 378]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L61] int pumpRunning = 0; [L62] int systemActive = 1; [L316] int switchedOnBeforeTS ; [L604] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L801] int waterLevel = 1; [L802] int methaneLevelCritical = 0; [L904] int cleanupTimeShifts = 4; [L981] int retValue_acc ; [L982] int tmp ; [L986] FCALL select_helpers() [L987] FCALL select_features() [L988] CALL, EXPR valid_product() [L1039] int retValue_acc ; [L1042] retValue_acc = 1 [L1043] return (retValue_acc); [L988] RET, EXPR valid_product() [L988] tmp = valid_product() [L990] COND TRUE \read(tmp) [L992] FCALL setup() [L993] CALL runTest() [L971] CALL __utac_acc__Specification5_spec__1() [L321] switchedOnBeforeTS = 0 [L971] RET __utac_acc__Specification5_spec__1() [L972] CALL test() [L369] int splverifierCounter ; [L370] int tmp ; [L371] int tmp___0 ; [L372] int tmp___1 ; [L373] int tmp___2 ; [L376] splverifierCounter = 0 Loop: [L378] COND TRUE 1 [L380] COND TRUE splverifierCounter < 4 [L386] tmp = __VERIFIER_nondet_int() [L388] COND FALSE !(\read(tmp)) [L396] tmp___0 = __VERIFIER_nondet_int() [L398] COND FALSE !(\read(tmp___0)) [L406] tmp___2 = __VERIFIER_nondet_int() [L408] COND TRUE \read(tmp___2) [L410] CALL startSystem() [L309] systemActive = 1 [L410] RET startSystem() [L423] CALL timeShift() [L71] CALL __utac_acc__Specification5_spec__2() [L330] CALL, EXPR isPumpRunning() [L223] int retValue_acc ; [L226] retValue_acc = pumpRunning [L227] return (retValue_acc); [L330] RET, EXPR isPumpRunning() [L330] switchedOnBeforeTS = isPumpRunning() [L71] RET __utac_acc__Specification5_spec__2() [L73] COND FALSE !(\read(pumpRunning)) [L80] COND TRUE \read(systemActive) [L82] CALL processEnvironment() [L154] int tmp ; [L157] COND FALSE !(\read(pumpRunning)) [L172] CALL processEnvironment__wrappee__methaneQuery() [L128] int tmp ; [L131] COND FALSE !(\read(pumpRunning)) [L146] CALL processEnvironment__wrappee__highWaterSensor() [L102] int tmp ; [L105] COND TRUE ! pumpRunning [L107] CALL, EXPR isHighWaterLevel() [L268] int retValue_acc ; [L269] int tmp ; [L270] int tmp___0 ; [L274] CALL, EXPR isHighWaterSensorDry() [L881] int retValue_acc ; [L884] COND TRUE waterLevel < 2 [L885] retValue_acc = 1 [L886] return (retValue_acc); [L274] RET, EXPR isHighWaterSensorDry() [L274] tmp = isHighWaterSensorDry() [L276] COND TRUE \read(tmp) [L277] tmp___0 = 0 [L281] retValue_acc = tmp___0 [L282] return (retValue_acc); [L107] RET, EXPR isHighWaterLevel() [L107] tmp = isHighWaterLevel() [L109] COND FALSE !(\read(tmp)) [L115] FCALL processEnvironment__wrappee__base() [L146] RET processEnvironment__wrappee__highWaterSensor() [L172] RET processEnvironment__wrappee__methaneQuery() [L82] RET processEnvironment() [L88] CALL __utac_acc__Specification5_spec__3() [L336] int tmp ; [L337] int tmp___0 ; [L341] CALL, EXPR getWaterLevel() [L872] int retValue_acc ; [L875] retValue_acc = waterLevel [L876] return (retValue_acc); [L341] RET, EXPR getWaterLevel() [L341] tmp = getWaterLevel() [L343] COND TRUE tmp != 2 [L345] CALL, EXPR isPumpRunning() [L223] int retValue_acc ; [L226] retValue_acc = pumpRunning [L227] return (retValue_acc); [L345] RET, EXPR isPumpRunning() [L345] tmp___0 = isPumpRunning() [L347] COND FALSE !(\read(tmp___0)) [L88] RET __utac_acc__Specification5_spec__3() [L423] RET timeShift() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2022-07-22 02:39:49,131 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- 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)