./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/product-lines/minepump_spec4_product20.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_spec4_product20.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 5bb0c67d0f3b897df6aba0c402ea453b42e61f1d6e102d991db16c73430a771e --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-22 02:38:36,142 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-22 02:38:36,144 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-22 02:38:36,173 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-22 02:38:36,174 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-22 02:38:36,175 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-22 02:38:36,181 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-22 02:38:36,183 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-22 02:38:36,185 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-22 02:38:36,188 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-22 02:38:36,190 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-22 02:38:36,194 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-22 02:38:36,194 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-22 02:38:36,196 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-22 02:38:36,197 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-22 02:38:36,199 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-22 02:38:36,199 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-22 02:38:36,201 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-22 02:38:36,203 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-22 02:38:36,209 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-22 02:38:36,210 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-22 02:38:36,211 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-22 02:38:36,212 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-22 02:38:36,213 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-22 02:38:36,214 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-22 02:38:36,220 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-22 02:38:36,220 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-22 02:38:36,221 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-22 02:38:36,222 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-22 02:38:36,222 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-22 02:38:36,222 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-22 02:38:36,223 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-22 02:38:36,224 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-22 02:38:36,225 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-22 02:38:36,226 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-22 02:38:36,226 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-22 02:38:36,227 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-22 02:38:36,227 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-22 02:38:36,227 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-22 02:38:36,227 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-22 02:38:36,228 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-22 02:38:36,229 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-22 02:38:36,233 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:38:36,261 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-22 02:38:36,261 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-22 02:38:36,262 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-22 02:38:36,262 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-22 02:38:36,263 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-22 02:38:36,263 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-22 02:38:36,263 INFO L138 SettingsManager]: * Use SBE=true [2022-07-22 02:38:36,263 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2022-07-22 02:38:36,264 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2022-07-22 02:38:36,264 INFO L138 SettingsManager]: * Use old map elimination=false [2022-07-22 02:38:36,264 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2022-07-22 02:38:36,265 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2022-07-22 02:38:36,265 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2022-07-22 02:38:36,265 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-22 02:38:36,265 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-22 02:38:36,265 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-22 02:38:36,265 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-22 02:38:36,265 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-22 02:38:36,266 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-22 02:38:36,266 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2022-07-22 02:38:36,266 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2022-07-22 02:38:36,266 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2022-07-22 02:38:36,266 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-22 02:38:36,266 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-07-22 02:38:36,267 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2022-07-22 02:38:36,267 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-22 02:38:36,267 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2022-07-22 02:38:36,267 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-22 02:38:36,267 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-22 02:38:36,268 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-22 02:38:36,268 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-22 02:38:36,270 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-07-22 02:38:36,270 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 -> 5bb0c67d0f3b897df6aba0c402ea453b42e61f1d6e102d991db16c73430a771e [2022-07-22 02:38:36,542 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-22 02:38:36,563 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-22 02:38:36,566 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-22 02:38:36,566 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-22 02:38:36,567 INFO L275 PluginConnector]: CDTParser initialized [2022-07-22 02:38:36,568 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/product-lines/minepump_spec4_product20.cil.c [2022-07-22 02:38:36,697 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/274de6444/9b79346bf9e949ee981f21f3499c70ad/FLAGde0cd3e17 [2022-07-22 02:38:37,078 INFO L306 CDTParser]: Found 1 translation units. [2022-07-22 02:38:37,081 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec4_product20.cil.c [2022-07-22 02:38:37,092 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/274de6444/9b79346bf9e949ee981f21f3499c70ad/FLAGde0cd3e17 [2022-07-22 02:38:37,105 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/274de6444/9b79346bf9e949ee981f21f3499c70ad [2022-07-22 02:38:37,107 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-22 02:38:37,108 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-22 02:38:37,110 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-22 02:38:37,110 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-22 02:38:37,113 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-22 02:38:37,113 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,114 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@65ddbd7d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37, skipping insertion in model container [2022-07-22 02:38:37,114 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,119 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-22 02:38:37,158 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-22 02:38:37,391 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_spec4_product20.cil.c[14361,14374] [2022-07-22 02:38:37,427 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 02:38:37,449 INFO L203 MainTranslator]: Completed pre-run [2022-07-22 02:38:37,526 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_spec4_product20.cil.c[14361,14374] [2022-07-22 02:38:37,560 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 02:38:37,577 INFO L208 MainTranslator]: Completed translation [2022-07-22 02:38:37,578 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37 WrapperNode [2022-07-22 02:38:37,578 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-22 02:38:37,579 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-22 02:38:37,579 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-22 02:38:37,579 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-22 02:38:37,584 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:38:37" (1/1) ... [2022-07-22 02:38:37,602 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:38:37" (1/1) ... [2022-07-22 02:38:37,624 INFO L137 Inliner]: procedures = 54, calls = 152, calls flagged for inlining = 49, calls inlined = 50, statements flattened = 387 [2022-07-22 02:38:37,625 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-22 02:38:37,625 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-22 02:38:37,625 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-22 02:38:37,626 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-22 02:38:37,632 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,632 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,634 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,638 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,643 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,647 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,648 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,650 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-22 02:38:37,651 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-22 02:38:37,651 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-22 02:38:37,651 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-22 02:38:37,652 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (1/1) ... [2022-07-22 02:38:37,656 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 02:38:37,669 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 02:38:37,678 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:38:37,695 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:38:37,725 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-07-22 02:38:37,725 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-07-22 02:38:37,737 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-22 02:38:37,737 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-22 02:38:37,785 INFO L234 CfgBuilder]: Building ICFG [2022-07-22 02:38:37,786 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-22 02:38:38,004 INFO L275 CfgBuilder]: Performing block encoding [2022-07-22 02:38:38,009 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-22 02:38:38,009 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2022-07-22 02:38:38,010 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:38:38 BoogieIcfgContainer [2022-07-22 02:38:38,010 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-22 02:38:38,011 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2022-07-22 02:38:38,011 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2022-07-22 02:38:38,013 INFO L275 PluginConnector]: BuchiAutomizer initialized [2022-07-22 02:38:38,014 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:38:38,014 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 22.07 02:38:37" (1/3) ... [2022-07-22 02:38:38,014 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6f47bf8a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 02:38:38, skipping insertion in model container [2022-07-22 02:38:38,014 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:38:38,014 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:37" (2/3) ... [2022-07-22 02:38:38,015 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6f47bf8a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 02:38:38, skipping insertion in model container [2022-07-22 02:38:38,015 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:38:38,015 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:38:38" (3/3) ... [2022-07-22 02:38:38,016 INFO L354 chiAutomizerObserver]: Analyzing ICFG minepump_spec4_product20.cil.c [2022-07-22 02:38:38,088 INFO L255 stractBuchiCegarLoop]: Interprodecural is true [2022-07-22 02:38:38,089 INFO L256 stractBuchiCegarLoop]: Hoare is false [2022-07-22 02:38:38,089 INFO L257 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2022-07-22 02:38:38,089 INFO L258 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2022-07-22 02:38:38,089 INFO L259 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2022-07-22 02:38:38,089 INFO L260 stractBuchiCegarLoop]: Difference is false [2022-07-22 02:38:38,089 INFO L261 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2022-07-22 02:38:38,090 INFO L265 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2022-07-22 02:38:38,095 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 107 states, 106 states have (on average 1.3584905660377358) internal successors, (144), 106 states have internal predecessors, (144), 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:38:38,117 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 69 [2022-07-22 02:38:38,118 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:38,118 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:38,122 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:38,122 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:38,122 INFO L287 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2022-07-22 02:38:38,124 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 107 states, 106 states have (on average 1.3584905660377358) internal successors, (144), 106 states have internal predecessors, (144), 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:38:38,135 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 69 [2022-07-22 02:38:38,135 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:38,135 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:38,136 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:38,136 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:38,143 INFO L752 eck$LassoCheckResult]: Stem: 93#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(7, 5);call write~init~int(44, 5, 0, 1);call write~init~int(77, 5, 1, 1);call write~init~int(101, 5, 2, 1);call write~init~int(116, 5, 3, 1);call write~init~int(104, 5, 4, 1);call write~init~int(58, 5, 5, 1);call write~init~int(0, 5, 6, 1);call #Ultimate.allocInit(5, 6);call write~init~int(67, 6, 0, 1);call write~init~int(82, 6, 1, 1);call write~init~int(73, 6, 2, 1);call write~init~int(84, 6, 3, 1);call write~init~int(0, 6, 4, 1);call #Ultimate.allocInit(3, 7);call write~init~int(79, 7, 0, 1);call write~init~int(75, 7, 1, 1);call write~init~int(0, 7, 2, 1);call #Ultimate.allocInit(2, 8);call write~init~int(41, 8, 0, 1);call write~init~int(0, 8, 1, 1);call #Ultimate.allocInit(30, 9);call #Ultimate.allocInit(9, 10);call #Ultimate.allocInit(21, 11);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(25, 17);call #Ultimate.allocInit(30, 18);call #Ultimate.allocInit(9, 19);call #Ultimate.allocInit(25, 20);call #Ultimate.allocInit(13, 21);call #Ultimate.allocInit(3, 22);call write~init~int(79, 22, 0, 1);call write~init~int(110, 22, 1, 1);call write~init~int(0, 22, 2, 1);call #Ultimate.allocInit(4, 23);call write~init~int(79, 23, 0, 1);call write~init~int(102, 23, 1, 1);call write~init~int(102, 23, 2, 1);call write~init~int(0, 23, 3, 1);call #Ultimate.allocInit(7, 24);call write~init~int(44, 24, 0, 1);call write~init~int(80, 24, 1, 1);call write~init~int(117, 24, 2, 1);call write~init~int(109, 24, 3, 1);call write~init~int(112, 24, 4, 1);call write~init~int(58, 24, 5, 1);call write~init~int(0, 24, 6, 1);call #Ultimate.allocInit(3, 25);call write~init~int(79, 25, 0, 1);call write~init~int(110, 25, 1, 1);call write~init~int(0, 25, 2, 1);call #Ultimate.allocInit(4, 26);call write~init~int(79, 26, 0, 1);call write~init~int(102, 26, 1, 1);call write~init~int(102, 26, 2, 1);call write~init~int(0, 26, 3, 1);call #Ultimate.allocInit(3, 27);call write~init~int(41, 27, 0, 1);call write~init~int(32, 27, 1, 1);call write~init~int(0, 27, 2, 1);call #Ultimate.allocInit(2, 28);call write~init~int(10, 28, 0, 1);call write~init~int(0, 28, 1, 1);~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 27#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret10#1, main_~retValue_acc~5#1, main_~tmp~0#1;havoc main_~retValue_acc~5#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 47#L75true assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 100#L68true assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~1#1;havoc valid_product_~retValue_acc~1#1;valid_product_~retValue_acc~1#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~1#1; 17#L83true main_#t~ret10#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret10#1;havoc main_#t~ret10#1; 50#L269true assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 22#L245true assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet47#1, test_#t~nondet48#1, test_#t~nondet49#1, test_#t~nondet50#1, test_~splverifierCounter~0#1, test_~tmp~7#1, test_~tmp___0~2#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~2#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 99#L874-2true [2022-07-22 02:38:38,144 INFO L754 eck$LassoCheckResult]: Loop: 99#L874-2true assume !false; 6#L875true assume test_~splverifierCounter~0#1 < 4; 75#L876true test_~tmp~7#1 := test_#t~nondet47#1;havoc test_#t~nondet47#1; 19#L884true assume !(0 != test_~tmp~7#1); 32#L884-2true test_~tmp___0~2#1 := test_#t~nondet48#1;havoc test_#t~nondet48#1; 25#L894true assume !(0 != test_~tmp___0~2#1); 64#L894-2true test_~tmp___2~0#1 := test_#t~nondet49#1;havoc test_#t~nondet49#1; 16#L904true assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1; 86#L860true assume { :end_inline_startSystem } true; 56#L912-2true assume { :begin_inline_timeShift } true; 33#L696true assume !(0 != ~pumpRunning~0); 14#L696-2true assume !(0 != ~systemActive~0); 36#L703-1true assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret34#1, __utac_acc__Specification4_spec__1_#t~ret35#1, __utac_acc__Specification4_spec__1_~tmp~4#1, __utac_acc__Specification4_spec__1_~tmp___0~0#1;havoc __utac_acc__Specification4_spec__1_~tmp~4#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~0#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~3#1;havoc getWaterLevel_~retValue_acc~3#1;getWaterLevel_~retValue_acc~3#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~3#1; 54#L170true __utac_acc__Specification4_spec__1_#t~ret34#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~4#1 := __utac_acc__Specification4_spec__1_#t~ret34#1;havoc __utac_acc__Specification4_spec__1_#t~ret34#1; 26#L667true assume !(0 == __utac_acc__Specification4_spec__1_~tmp~4#1); 81#L667-1true assume { :end_inline___utac_acc__Specification4_spec__1 } true; 79#L713true assume { :end_inline_timeShift } true; 99#L874-2true [2022-07-22 02:38:38,150 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:38,150 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 1 times [2022-07-22 02:38:38,160 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:38,160 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1217335809] [2022-07-22 02:38:38,160 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:38,161 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:38,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,275 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:38,298 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,322 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:38,324 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:38,325 INFO L85 PathProgramCache]: Analyzing trace with hash 341330273, now seen corresponding path program 1 times [2022-07-22 02:38:38,325 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:38,326 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1369845907] [2022-07-22 02:38:38,326 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:38,327 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:38,348 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 02:38:38,390 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:38:38,390 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 02:38:38,391 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1369845907] [2022-07-22 02:38:38,391 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1369845907] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 02:38:38,391 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 02:38:38,391 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-07-22 02:38:38,392 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1705093652] [2022-07-22 02:38:38,393 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 02:38:38,396 INFO L769 eck$LassoCheckResult]: loop already infeasible [2022-07-22 02:38:38,396 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 02:38:38,416 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-22 02:38:38,417 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-22 02:38:38,418 INFO L87 Difference]: Start difference. First operand has 107 states, 106 states have (on average 1.3584905660377358) internal successors, (144), 106 states have internal predecessors, (144), 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 5.666666666666667) internal successors, (17), 3 states have internal predecessors, (17), 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:38:38,461 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 02:38:38,461 INFO L93 Difference]: Finished difference Result 199 states and 255 transitions. [2022-07-22 02:38:38,463 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-22 02:38:38,466 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 199 states and 255 transitions. [2022-07-22 02:38:38,468 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 128 [2022-07-22 02:38:38,472 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 199 states to 179 states and 234 transitions. [2022-07-22 02:38:38,473 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2022-07-22 02:38:38,473 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 179 [2022-07-22 02:38:38,474 INFO L73 IsDeterministic]: Start isDeterministic. Operand 179 states and 234 transitions. [2022-07-22 02:38:38,475 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 02:38:38,475 INFO L369 hiAutomatonCegarLoop]: Abstraction has 179 states and 234 transitions. [2022-07-22 02:38:38,486 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 179 states and 234 transitions. [2022-07-22 02:38:38,497 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 179 to 176. [2022-07-22 02:38:38,499 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 176 states, 176 states have (on average 1.3068181818181819) internal successors, (230), 175 states have internal predecessors, (230), 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:38:38,500 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 176 states to 176 states and 230 transitions. [2022-07-22 02:38:38,500 INFO L392 hiAutomatonCegarLoop]: Abstraction has 176 states and 230 transitions. [2022-07-22 02:38:38,500 INFO L374 stractBuchiCegarLoop]: Abstraction has 176 states and 230 transitions. [2022-07-22 02:38:38,501 INFO L287 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2022-07-22 02:38:38,501 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 176 states and 230 transitions. [2022-07-22 02:38:38,502 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 125 [2022-07-22 02:38:38,502 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:38,502 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:38,503 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:38,504 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] [2022-07-22 02:38:38,505 INFO L752 eck$LassoCheckResult]: Stem: 417#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(7, 5);call write~init~int(44, 5, 0, 1);call write~init~int(77, 5, 1, 1);call write~init~int(101, 5, 2, 1);call write~init~int(116, 5, 3, 1);call write~init~int(104, 5, 4, 1);call write~init~int(58, 5, 5, 1);call write~init~int(0, 5, 6, 1);call #Ultimate.allocInit(5, 6);call write~init~int(67, 6, 0, 1);call write~init~int(82, 6, 1, 1);call write~init~int(73, 6, 2, 1);call write~init~int(84, 6, 3, 1);call write~init~int(0, 6, 4, 1);call #Ultimate.allocInit(3, 7);call write~init~int(79, 7, 0, 1);call write~init~int(75, 7, 1, 1);call write~init~int(0, 7, 2, 1);call #Ultimate.allocInit(2, 8);call write~init~int(41, 8, 0, 1);call write~init~int(0, 8, 1, 1);call #Ultimate.allocInit(30, 9);call #Ultimate.allocInit(9, 10);call #Ultimate.allocInit(21, 11);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(25, 17);call #Ultimate.allocInit(30, 18);call #Ultimate.allocInit(9, 19);call #Ultimate.allocInit(25, 20);call #Ultimate.allocInit(13, 21);call #Ultimate.allocInit(3, 22);call write~init~int(79, 22, 0, 1);call write~init~int(110, 22, 1, 1);call write~init~int(0, 22, 2, 1);call #Ultimate.allocInit(4, 23);call write~init~int(79, 23, 0, 1);call write~init~int(102, 23, 1, 1);call write~init~int(102, 23, 2, 1);call write~init~int(0, 23, 3, 1);call #Ultimate.allocInit(7, 24);call write~init~int(44, 24, 0, 1);call write~init~int(80, 24, 1, 1);call write~init~int(117, 24, 2, 1);call write~init~int(109, 24, 3, 1);call write~init~int(112, 24, 4, 1);call write~init~int(58, 24, 5, 1);call write~init~int(0, 24, 6, 1);call #Ultimate.allocInit(3, 25);call write~init~int(79, 25, 0, 1);call write~init~int(110, 25, 1, 1);call write~init~int(0, 25, 2, 1);call #Ultimate.allocInit(4, 26);call write~init~int(79, 26, 0, 1);call write~init~int(102, 26, 1, 1);call write~init~int(102, 26, 2, 1);call write~init~int(0, 26, 3, 1);call #Ultimate.allocInit(3, 27);call write~init~int(41, 27, 0, 1);call write~init~int(32, 27, 1, 1);call write~init~int(0, 27, 2, 1);call #Ultimate.allocInit(2, 28);call write~init~int(10, 28, 0, 1);call write~init~int(0, 28, 1, 1);~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~pumpRunning~0 := 0;~systemActive~0 := 1; 400#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret10#1, main_~retValue_acc~5#1, main_~tmp~0#1;havoc main_~retValue_acc~5#1;havoc main_~tmp~0#1;assume { :begin_inline_select_helpers } true; 401#L75 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 421#L68 assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~1#1;havoc valid_product_~retValue_acc~1#1;valid_product_~retValue_acc~1#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~1#1; 370#L83 main_#t~ret10#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~0#1 := main_#t~ret10#1;havoc main_#t~ret10#1; 371#L269 assume 0 != main_~tmp~0#1;assume { :begin_inline_setup } true; 382#L245 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet47#1, test_#t~nondet48#1, test_#t~nondet49#1, test_#t~nondet50#1, test_~splverifierCounter~0#1, test_~tmp~7#1, test_~tmp___0~2#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~2#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 383#L874-2 [2022-07-22 02:38:38,506 INFO L754 eck$LassoCheckResult]: Loop: 383#L874-2 assume !false; 420#L875 assume test_~splverifierCounter~0#1 < 4; 376#L876 test_~tmp~7#1 := test_#t~nondet47#1;havoc test_#t~nondet47#1; 373#L884 assume !(0 != test_~tmp~7#1); 375#L884-2 test_~tmp___0~2#1 := test_#t~nondet48#1;havoc test_#t~nondet48#1; 440#L894 assume !(0 != test_~tmp___0~2#1); 345#L894-2 test_~tmp___2~0#1 := test_#t~nondet49#1;havoc test_#t~nondet49#1; 346#L904 assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1; 369#L860 assume { :end_inline_startSystem } true; 315#L912-2 assume { :begin_inline_timeShift } true; 316#L696 assume !(0 != ~pumpRunning~0); 355#L696-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret36#1, processEnvironment_~tmp~5#1;havoc processEnvironment_~tmp~5#1; 364#L728 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__base } true; 427#L720-1 assume { :end_inline_processEnvironment__wrappee__base } true; 414#L728-1 assume { :end_inline_processEnvironment } true; 415#L703-1 assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret34#1, __utac_acc__Specification4_spec__1_#t~ret35#1, __utac_acc__Specification4_spec__1_~tmp~4#1, __utac_acc__Specification4_spec__1_~tmp___0~0#1;havoc __utac_acc__Specification4_spec__1_~tmp~4#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~0#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~3#1;havoc getWaterLevel_~retValue_acc~3#1;getWaterLevel_~retValue_acc~3#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~3#1; 447#L170 __utac_acc__Specification4_spec__1_#t~ret34#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~4#1 := __utac_acc__Specification4_spec__1_#t~ret34#1;havoc __utac_acc__Specification4_spec__1_#t~ret34#1; 446#L667 assume !(0 == __utac_acc__Specification4_spec__1_~tmp~4#1); 394#L667-1 assume { :end_inline___utac_acc__Specification4_spec__1 } true; 392#L713 assume { :end_inline_timeShift } true; 383#L874-2 [2022-07-22 02:38:38,506 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:38,506 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 2 times [2022-07-22 02:38:38,507 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:38,507 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [696187255] [2022-07-22 02:38:38,507 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:38,507 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:38,526 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,526 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:38,541 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,544 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:38,545 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:38,545 INFO L85 PathProgramCache]: Analyzing trace with hash -978249549, now seen corresponding path program 1 times [2022-07-22 02:38:38,545 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:38,545 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1434421128] [2022-07-22 02:38:38,546 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:38,546 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:38,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,550 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:38,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,554 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:38,555 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:38,555 INFO L85 PathProgramCache]: Analyzing trace with hash 1668719735, now seen corresponding path program 1 times [2022-07-22 02:38:38,555 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:38,555 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [748238660] [2022-07-22 02:38:38,556 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:38,556 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:38,585 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,586 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:38,600 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:38,614 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:41,040 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 22.07 02:38:41 BoogieIcfgContainer [2022-07-22 02:38:41,040 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2022-07-22 02:38:41,044 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-07-22 02:38:41,044 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-07-22 02:38:41,044 INFO L275 PluginConnector]: Witness Printer initialized [2022-07-22 02:38:41,045 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:38:38" (3/4) ... [2022-07-22 02:38:41,047 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2022-07-22 02:38:41,107 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2022-07-22 02:38:41,107 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-07-22 02:38:41,108 INFO L158 Benchmark]: Toolchain (without parser) took 3999.58ms. Allocated memory was 50.3MB in the beginning and 117.4MB in the end (delta: 67.1MB). Free memory was 26.3MB in the beginning and 67.1MB in the end (delta: -40.7MB). Peak memory consumption was 28.1MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,108 INFO L158 Benchmark]: CDTParser took 0.78ms. Allocated memory is still 50.3MB. Free memory was 31.9MB in the beginning and 31.9MB in the end (delta: 60.7kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-22 02:38:41,108 INFO L158 Benchmark]: CACSL2BoogieTranslator took 468.12ms. Allocated memory was 50.3MB in the beginning and 65.0MB in the end (delta: 14.7MB). Free memory was 26.1MB in the beginning and 40.4MB in the end (delta: -14.3MB). Peak memory consumption was 5.6MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,109 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.93ms. Allocated memory is still 65.0MB. Free memory was 40.2MB in the beginning and 37.5MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,109 INFO L158 Benchmark]: Boogie Preprocessor took 24.79ms. Allocated memory is still 65.0MB. Free memory was 37.5MB in the beginning and 35.8MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,109 INFO L158 Benchmark]: RCFGBuilder took 359.80ms. Allocated memory is still 65.0MB. Free memory was 35.6MB in the beginning and 33.1MB in the end (delta: 2.5MB). Peak memory consumption was 8.3MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,110 INFO L158 Benchmark]: BuchiAutomizer took 3032.43ms. Allocated memory was 65.0MB in the beginning and 117.4MB in the end (delta: 52.4MB). Free memory was 32.9MB in the beginning and 69.2MB in the end (delta: -36.2MB). Peak memory consumption was 39.2MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,110 INFO L158 Benchmark]: Witness Printer took 63.17ms. Allocated memory is still 117.4MB. Free memory was 69.2MB in the beginning and 67.1MB in the end (delta: 2.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2022-07-22 02:38:41,112 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.78ms. Allocated memory is still 50.3MB. Free memory was 31.9MB in the beginning and 31.9MB in the end (delta: 60.7kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 468.12ms. Allocated memory was 50.3MB in the beginning and 65.0MB in the end (delta: 14.7MB). Free memory was 26.1MB in the beginning and 40.4MB in the end (delta: -14.3MB). Peak memory consumption was 5.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 45.93ms. Allocated memory is still 65.0MB. Free memory was 40.2MB in the beginning and 37.5MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 24.79ms. Allocated memory is still 65.0MB. Free memory was 37.5MB in the beginning and 35.8MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 359.80ms. Allocated memory is still 65.0MB. Free memory was 35.6MB in the beginning and 33.1MB in the end (delta: 2.5MB). Peak memory consumption was 8.3MB. Max. memory is 16.1GB. * BuchiAutomizer took 3032.43ms. Allocated memory was 65.0MB in the beginning and 117.4MB in the end (delta: 52.4MB). Free memory was 32.9MB in the beginning and 69.2MB in the end (delta: -36.2MB). Peak memory consumption was 39.2MB. Max. memory is 16.1GB. * Witness Printer took 63.17ms. Allocated memory is still 117.4MB. Free memory was 69.2MB in the beginning and 67.1MB in the end (delta: 2.1MB). 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 1 terminating modules (1 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.1 modules have a trivial ranking function, the largest among these consists of 3 locations. The remainder module has 176 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.9s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 2.7s. Construction of modules took 0.0s. Büchi inclusion checks took 0.0s. Highest rank in rank-based complementation 0. Minimization of det autom 1. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 3 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, 124 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 124 mSDsluCounter, 248 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 117 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 10 IncrementalHoareTripleChecker+Invalid, 13 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 131 mSDtfsCounter, 10 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI1 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: 874]: 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@3e032e71=0, NULL=0, head=0, pumpRunning=0, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6a153d18=0, NULL=1, tmp___0=0, methaneLevelCritical=0, retValue_acc=1, tmp=1, \result=1, retValue_acc=0, tmp___2=29, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6127178f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@59b740c7=0, cleanupTimeShifts=4, tmp=1, \result=0, tmp=0, head=0, retValue_acc=1, \result=1, tmp___1=0, NULL=0, waterLevel=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@17dcbf45=0, systemActive=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3b4ccbe6=29, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@64f92f30=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6562f601=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 874]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L95] int waterLevel = 1; [L96] int methaneLevelCritical = 0; [L184] int cleanupTimeShifts = 4; [L452] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L689] int pumpRunning = 0; [L690] int systemActive = 1; [L260] int retValue_acc ; [L261] int tmp ; [L265] FCALL select_helpers() [L266] FCALL select_features() [L267] CALL, EXPR valid_product() [L79] int retValue_acc ; [L82] retValue_acc = 1 [L83] return (retValue_acc); [L267] RET, EXPR valid_product() [L267] tmp = valid_product() [L269] COND TRUE \read(tmp) [L271] FCALL setup() [L272] CALL runTest() [L254] CALL test() [L865] int splverifierCounter ; [L866] int tmp ; [L867] int tmp___0 ; [L868] int tmp___1 ; [L869] int tmp___2 ; [L872] splverifierCounter = 0 Loop: [L874] COND TRUE 1 [L876] COND TRUE splverifierCounter < 4 [L882] tmp = __VERIFIER_nondet_int() [L884] COND FALSE !(\read(tmp)) [L892] tmp___0 = __VERIFIER_nondet_int() [L894] COND FALSE !(\read(tmp___0)) [L902] tmp___2 = __VERIFIER_nondet_int() [L904] COND TRUE \read(tmp___2) [L906] CALL startSystem() [L859] systemActive = 1 [L906] RET startSystem() [L921] CALL timeShift() [L696] COND FALSE !(\read(pumpRunning)) [L703] COND TRUE \read(systemActive) [L705] CALL processEnvironment() [L725] int tmp ; [L728] COND FALSE !(\read(pumpRunning)) [L743] FCALL processEnvironment__wrappee__base() [L705] RET processEnvironment() [L711] CALL __utac_acc__Specification4_spec__1() [L660] int tmp ; [L661] int tmp___0 ; [L665] CALL, EXPR getWaterLevel() [L166] int retValue_acc ; [L169] retValue_acc = waterLevel [L170] return (retValue_acc); [L665] RET, EXPR getWaterLevel() [L665] tmp = getWaterLevel() [L667] COND FALSE !(tmp == 0) [L711] RET __utac_acc__Specification4_spec__1() [L921] RET timeShift() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2022-07-22 02:38:41,149 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)