./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/product-lines/minepump_spec4_product54.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_product54.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 bd2232848f38516f4fb4022953e113fa5008bf5804c5e85e87585cfa28da0689 --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-22 02:38:56,451 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-22 02:38:56,453 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-22 02:38:56,477 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-22 02:38:56,478 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-22 02:38:56,478 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-22 02:38:56,479 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-22 02:38:56,481 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-22 02:38:56,482 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-22 02:38:56,482 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-22 02:38:56,483 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-22 02:38:56,492 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-22 02:38:56,493 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-22 02:38:56,494 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-22 02:38:56,496 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-22 02:38:56,498 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-22 02:38:56,499 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-22 02:38:56,501 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-22 02:38:56,502 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-22 02:38:56,506 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-22 02:38:56,509 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-22 02:38:56,512 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-22 02:38:56,513 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-22 02:38:56,514 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-22 02:38:56,514 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-22 02:38:56,523 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-22 02:38:56,524 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-22 02:38:56,526 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-22 02:38:56,527 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-22 02:38:56,527 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-22 02:38:56,528 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-22 02:38:56,528 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-22 02:38:56,529 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-22 02:38:56,530 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-22 02:38:56,531 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-22 02:38:56,532 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-22 02:38:56,532 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-22 02:38:56,533 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-22 02:38:56,533 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-22 02:38:56,533 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-22 02:38:56,534 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-22 02:38:56,535 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-22 02:38:56,537 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:56,559 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-22 02:38:56,559 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-22 02:38:56,559 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-22 02:38:56,559 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-22 02:38:56,560 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-22 02:38:56,561 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-22 02:38:56,561 INFO L138 SettingsManager]: * Use SBE=true [2022-07-22 02:38:56,561 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2022-07-22 02:38:56,561 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2022-07-22 02:38:56,562 INFO L138 SettingsManager]: * Use old map elimination=false [2022-07-22 02:38:56,562 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2022-07-22 02:38:56,562 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2022-07-22 02:38:56,562 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2022-07-22 02:38:56,562 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-22 02:38:56,562 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-22 02:38:56,563 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-22 02:38:56,563 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-22 02:38:56,563 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-22 02:38:56,563 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-22 02:38:56,563 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2022-07-22 02:38:56,563 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2022-07-22 02:38:56,564 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2022-07-22 02:38:56,564 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-22 02:38:56,564 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-07-22 02:38:56,564 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2022-07-22 02:38:56,564 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-22 02:38:56,564 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2022-07-22 02:38:56,564 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-22 02:38:56,565 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-22 02:38:56,565 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-22 02:38:56,565 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-22 02:38:56,567 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-07-22 02:38:56,567 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 -> bd2232848f38516f4fb4022953e113fa5008bf5804c5e85e87585cfa28da0689 [2022-07-22 02:38:56,841 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-22 02:38:56,860 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-22 02:38:56,862 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-22 02:38:56,862 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-22 02:38:56,863 INFO L275 PluginConnector]: CDTParser initialized [2022-07-22 02:38:56,864 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/product-lines/minepump_spec4_product54.cil.c [2022-07-22 02:38:56,912 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/26979a175/be3fbd3541744f71bb213376f15f28a4/FLAGb926b0720 [2022-07-22 02:38:57,331 INFO L306 CDTParser]: Found 1 translation units. [2022-07-22 02:38:57,332 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec4_product54.cil.c [2022-07-22 02:38:57,339 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/26979a175/be3fbd3541744f71bb213376f15f28a4/FLAGb926b0720 [2022-07-22 02:38:57,347 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/26979a175/be3fbd3541744f71bb213376f15f28a4 [2022-07-22 02:38:57,349 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-22 02:38:57,349 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-22 02:38:57,354 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-22 02:38:57,354 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-22 02:38:57,357 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-22 02:38:57,357 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 02:38:57" (1/1) ... [2022-07-22 02:38:57,358 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4bd4b5b7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:57, skipping insertion in model container [2022-07-22 02:38:57,358 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 02:38:57" (1/1) ... [2022-07-22 02:38:57,373 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-22 02:38:57,396 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-22 02:38:57,627 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_product54.cil.c[18533,18546] [2022-07-22 02:38:57,631 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 02:38:57,638 INFO L203 MainTranslator]: Completed pre-run [2022-07-22 02:38:57,697 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_product54.cil.c[18533,18546] [2022-07-22 02:38:57,698 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 02:38:57,715 INFO L208 MainTranslator]: Completed translation [2022-07-22 02:38:57,715 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:57 WrapperNode [2022-07-22 02:38:57,715 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-22 02:38:57,716 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-22 02:38:57,716 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-22 02:38:57,717 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-22 02:38:57,721 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:57" (1/1) ... [2022-07-22 02:38:57,732 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:57" (1/1) ... [2022-07-22 02:38:57,780 INFO L137 Inliner]: procedures = 57, calls = 159, calls flagged for inlining = 56, calls inlined = 138, statements flattened = 1004 [2022-07-22 02:38:57,785 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-22 02:38:57,786 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-22 02:38:57,787 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-22 02:38:57,787 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-22 02:38:57,792 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:57" (1/1) ... [2022-07-22 02:38:57,793 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:57" (1/1) ... [2022-07-22 02:38:57,804 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:57" (1/1) ... [2022-07-22 02:38:57,811 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:57" (1/1) ... [2022-07-22 02:38:57,820 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:57" (1/1) ... [2022-07-22 02:38:57,829 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:57" (1/1) ... [2022-07-22 02:38:57,837 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:57" (1/1) ... [2022-07-22 02:38:57,843 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-22 02:38:57,846 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-22 02:38:57,846 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-22 02:38:57,846 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-22 02:38:57,847 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:57" (1/1) ... [2022-07-22 02:38:57,852 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 02:38:57,863 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 02:38:57,916 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:57,925 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:57,963 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-07-22 02:38:57,964 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-07-22 02:38:57,964 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-22 02:38:57,964 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-22 02:38:58,060 INFO L234 CfgBuilder]: Building ICFG [2022-07-22 02:38:58,062 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-22 02:38:58,610 INFO L275 CfgBuilder]: Performing block encoding [2022-07-22 02:38:58,618 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-22 02:38:58,619 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2022-07-22 02:38:58,621 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:38:58 BoogieIcfgContainer [2022-07-22 02:38:58,621 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-22 02:38:58,622 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2022-07-22 02:38:58,631 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2022-07-22 02:38:58,634 INFO L275 PluginConnector]: BuchiAutomizer initialized [2022-07-22 02:38:58,635 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:38:58,635 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 22.07 02:38:57" (1/3) ... [2022-07-22 02:38:58,636 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@37a3b530 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 02:38:58, skipping insertion in model container [2022-07-22 02:38:58,636 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:38:58,636 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 02:38:57" (2/3) ... [2022-07-22 02:38:58,637 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@37a3b530 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 02:38:58, skipping insertion in model container [2022-07-22 02:38:58,637 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 02:38:58,637 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 02:38:58" (3/3) ... [2022-07-22 02:38:58,638 INFO L354 chiAutomizerObserver]: Analyzing ICFG minepump_spec4_product54.cil.c [2022-07-22 02:38:58,686 INFO L255 stractBuchiCegarLoop]: Interprodecural is true [2022-07-22 02:38:58,686 INFO L256 stractBuchiCegarLoop]: Hoare is false [2022-07-22 02:38:58,686 INFO L257 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2022-07-22 02:38:58,687 INFO L258 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2022-07-22 02:38:58,687 INFO L259 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2022-07-22 02:38:58,687 INFO L260 stractBuchiCegarLoop]: Difference is false [2022-07-22 02:38:58,687 INFO L261 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2022-07-22 02:38:58,687 INFO L265 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2022-07-22 02:38:58,695 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 271 states, 270 states have (on average 1.3703703703703705) internal successors, (370), 270 states have internal predecessors, (370), 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:58,717 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 177 [2022-07-22 02:38:58,717 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:58,717 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:58,722 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:58,722 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:58,722 INFO L287 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2022-07-22 02:38:58,723 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 271 states, 270 states have (on average 1.3703703703703705) internal successors, (370), 270 states have internal predecessors, (370), 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:58,741 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 177 [2022-07-22 02:38:58,742 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:58,744 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:58,746 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:58,746 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:58,749 INFO L752 eck$LassoCheckResult]: Stem: 265#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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0; 180#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret24#1, main_~retValue_acc~4#1, main_~tmp~7#1;havoc main_~retValue_acc~4#1;havoc main_~tmp~7#1;assume { :begin_inline_select_helpers } true; 93#L990true assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 139#L983true 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; 205#L998true main_#t~ret24#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~7#1 := main_#t~ret24#1;havoc main_#t~ret24#1; 48#L476true assume 0 != main_~tmp~7#1;assume { :begin_inline_setup } true; 90#L450true assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet4#1, test_#t~nondet5#1, test_#t~nondet6#1, test_#t~nondet7#1, test_~splverifierCounter~0#1, test_~tmp~0#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~0#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 178#L65-2true [2022-07-22 02:38:58,754 INFO L754 eck$LassoCheckResult]: Loop: 178#L65-2true assume !false; 40#L66true assume test_~splverifierCounter~0#1 < 4; 264#L67true test_~tmp~0#1 := test_#t~nondet4#1;havoc test_#t~nondet4#1; 199#L75true assume !(0 != test_~tmp~0#1); 112#L75-2true test_~tmp___0~0#1 := test_#t~nondet5#1;havoc test_#t~nondet5#1; 42#L85true assume !(0 != test_~tmp___0~0#1); 144#L85-2true test_~tmp___2~0#1 := test_#t~nondet6#1;havoc test_#t~nondet6#1; 225#L95true assume !(0 != test_~tmp___2~0#1);test_~tmp___1~0#1 := test_#t~nondet7#1;havoc test_#t~nondet7#1; 262#L103true assume 0 != test_~tmp___1~0#1; 232#L103-2true assume { :begin_inline_timeShift } true; 37#L139true assume !(0 != ~pumpRunning~0); 159#L139-2true assume !(0 != ~systemActive~0); 162#L146-1true assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret22#1, __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_~tmp~6#1, __utac_acc__Specification4_spec__1_~tmp___0~3#1;havoc __utac_acc__Specification4_spec__1_~tmp~6#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~9#1;havoc getWaterLevel_~retValue_acc~9#1;getWaterLevel_~retValue_acc~9#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~9#1; 10#L931true __utac_acc__Specification4_spec__1_#t~ret22#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~6#1 := __utac_acc__Specification4_spec__1_#t~ret22#1;havoc __utac_acc__Specification4_spec__1_#t~ret22#1; 114#L373true assume !(0 == __utac_acc__Specification4_spec__1_~tmp~6#1); 161#L373-1true assume { :end_inline___utac_acc__Specification4_spec__1 } true; 127#L156true assume { :end_inline_timeShift } true; 178#L65-2true [2022-07-22 02:38:58,758 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:58,760 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 1 times [2022-07-22 02:38:58,768 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:58,774 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [602963706] [2022-07-22 02:38:58,774 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:58,775 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:58,882 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:58,883 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:58,914 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:58,930 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:58,932 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:58,934 INFO L85 PathProgramCache]: Analyzing trace with hash 1150976386, now seen corresponding path program 1 times [2022-07-22 02:38:58,935 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:58,935 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [485070194] [2022-07-22 02:38:58,936 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:58,936 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:58,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:58,945 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:58,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:58,950 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:58,951 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:58,951 INFO L85 PathProgramCache]: Analyzing trace with hash 219294782, now seen corresponding path program 1 times [2022-07-22 02:38:58,952 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:58,952 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [74054212] [2022-07-22 02:38:58,952 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:58,952 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:58,969 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 02:38:59,062 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:59,062 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 02:38:59,063 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [74054212] [2022-07-22 02:38:59,063 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [74054212] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 02:38:59,063 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 02:38:59,063 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2022-07-22 02:38:59,064 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [130714364] [2022-07-22 02:38:59,064 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 02:38:59,208 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 02:38:59,230 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2022-07-22 02:38:59,231 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2022-07-22 02:38:59,232 INFO L87 Difference]: Start difference. First operand has 271 states, 270 states have (on average 1.3703703703703705) internal successors, (370), 270 states have internal predecessors, (370), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 6 states, 6 states have (on average 4.0) internal successors, (24), 5 states have internal predecessors, (24), 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:59,315 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 02:38:59,317 INFO L93 Difference]: Finished difference Result 268 states and 356 transitions. [2022-07-22 02:38:59,319 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2022-07-22 02:38:59,322 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 268 states and 356 transitions. [2022-07-22 02:38:59,326 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 173 [2022-07-22 02:38:59,331 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 268 states to 258 states and 346 transitions. [2022-07-22 02:38:59,333 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 258 [2022-07-22 02:38:59,334 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 258 [2022-07-22 02:38:59,335 INFO L73 IsDeterministic]: Start isDeterministic. Operand 258 states and 346 transitions. [2022-07-22 02:38:59,338 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 02:38:59,338 INFO L369 hiAutomatonCegarLoop]: Abstraction has 258 states and 346 transitions. [2022-07-22 02:38:59,350 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 258 states and 346 transitions. [2022-07-22 02:38:59,362 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 258 to 258. [2022-07-22 02:38:59,363 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 258 states, 258 states have (on average 1.3410852713178294) internal successors, (346), 257 states have internal predecessors, (346), 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:59,364 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 258 states to 258 states and 346 transitions. [2022-07-22 02:38:59,365 INFO L392 hiAutomatonCegarLoop]: Abstraction has 258 states and 346 transitions. [2022-07-22 02:38:59,365 INFO L374 stractBuchiCegarLoop]: Abstraction has 258 states and 346 transitions. [2022-07-22 02:38:59,365 INFO L287 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2022-07-22 02:38:59,366 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 258 states and 346 transitions. [2022-07-22 02:38:59,371 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 173 [2022-07-22 02:38:59,371 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:59,371 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:59,372 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:59,372 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] [2022-07-22 02:38:59,372 INFO L752 eck$LassoCheckResult]: Stem: 813#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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0; 780#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret24#1, main_~retValue_acc~4#1, main_~tmp~7#1;havoc main_~retValue_acc~4#1;havoc main_~tmp~7#1;assume { :begin_inline_select_helpers } true; 705#L990 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 706#L983 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; 752#L998 main_#t~ret24#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~7#1 := main_#t~ret24#1;havoc main_#t~ret24#1; 643#L476 assume 0 != main_~tmp~7#1;assume { :begin_inline_setup } true; 644#L450 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet4#1, test_#t~nondet5#1, test_#t~nondet6#1, test_#t~nondet7#1, test_~splverifierCounter~0#1, test_~tmp~0#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~0#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 702#L65-2 [2022-07-22 02:38:59,373 INFO L754 eck$LassoCheckResult]: Loop: 702#L65-2 assume !false; 631#L66 assume test_~splverifierCounter~0#1 < 4; 632#L67 test_~tmp~0#1 := test_#t~nondet4#1;havoc test_#t~nondet4#1; 789#L75 assume !(0 != test_~tmp~0#1); 729#L75-2 test_~tmp___0~0#1 := test_#t~nondet5#1;havoc test_#t~nondet5#1; 635#L85 assume !(0 != test_~tmp___0~0#1); 637#L85-2 test_~tmp___2~0#1 := test_#t~nondet6#1;havoc test_#t~nondet6#1; 756#L95 assume !(0 != test_~tmp___2~0#1);test_~tmp___1~0#1 := test_#t~nondet7#1;havoc test_#t~nondet7#1; 805#L103 assume 0 != test_~tmp___1~0#1; 809#L103-2 assume { :begin_inline_timeShift } true; 623#L139 assume !(0 != ~pumpRunning~0); 624#L139-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret10#1, processEnvironment_~tmp~3#1;havoc processEnvironment_~tmp~3#1; 670#L223 assume 0 != ~pumpRunning~0;assume { :begin_inline_isMethaneAlarm } true;havoc isMethaneAlarm_#res#1;havoc isMethaneAlarm_#t~ret11#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~8#1;havoc isMethaneLevelCritical_~retValue_acc~8#1;isMethaneLevelCritical_~retValue_acc~8#1 := ~methaneLevelCritical~0;isMethaneLevelCritical_#res#1 := isMethaneLevelCritical_~retValue_acc~8#1; 671#L899 isMethaneAlarm_#t~ret11#1 := isMethaneLevelCritical_#res#1;assume { :end_inline_isMethaneLevelCritical } true;isMethaneAlarm_~retValue_acc~0#1 := isMethaneAlarm_#t~ret11#1;havoc isMethaneAlarm_#t~ret11#1;isMethaneAlarm_#res#1 := isMethaneAlarm_~retValue_acc~0#1; 772#L267 processEnvironment_#t~ret10#1 := isMethaneAlarm_#res#1;assume { :end_inline_isMethaneAlarm } true;processEnvironment_~tmp~3#1 := processEnvironment_#t~ret10#1;havoc processEnvironment_#t~ret10#1; 707#L227 assume 0 != processEnvironment_~tmp~3#1;assume { :begin_inline_deactivatePump } true;~pumpRunning~0 := 0; 708#L257 assume { :end_inline_deactivatePump } true; 588#L223-1 assume { :end_inline_processEnvironment } true; 759#L146-1 assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret22#1, __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_~tmp~6#1, __utac_acc__Specification4_spec__1_~tmp___0~3#1;havoc __utac_acc__Specification4_spec__1_~tmp~6#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~9#1;havoc getWaterLevel_~retValue_acc~9#1;getWaterLevel_~retValue_acc~9#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~9#1; 576#L931 __utac_acc__Specification4_spec__1_#t~ret22#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~6#1 := __utac_acc__Specification4_spec__1_#t~ret22#1;havoc __utac_acc__Specification4_spec__1_#t~ret22#1; 577#L373 assume !(0 == __utac_acc__Specification4_spec__1_~tmp~6#1); 731#L373-1 assume { :end_inline___utac_acc__Specification4_spec__1 } true; 741#L156 assume { :end_inline_timeShift } true; 702#L65-2 [2022-07-22 02:38:59,373 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:59,373 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 2 times [2022-07-22 02:38:59,374 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:59,374 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2088083421] [2022-07-22 02:38:59,374 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:59,374 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:59,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,397 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:59,406 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,418 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:59,421 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:59,422 INFO L85 PathProgramCache]: Analyzing trace with hash 520278859, now seen corresponding path program 1 times [2022-07-22 02:38:59,422 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:59,422 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1665642346] [2022-07-22 02:38:59,422 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:59,422 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:59,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 02:38:59,444 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:59,445 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 02:38:59,445 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1665642346] [2022-07-22 02:38:59,446 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1665642346] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 02:38:59,447 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 02:38:59,447 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-07-22 02:38:59,448 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1613530268] [2022-07-22 02:38:59,448 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 02:38:59,448 INFO L769 eck$LassoCheckResult]: loop already infeasible [2022-07-22 02:38:59,448 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 02:38:59,449 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-22 02:38:59,450 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-22 02:38:59,450 INFO L87 Difference]: Start difference. First operand 258 states and 346 transitions. cyclomatic complexity: 90 Second operand has 3 states, 3 states have (on average 7.666666666666667) internal successors, (23), 3 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-22 02:38:59,545 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 02:38:59,545 INFO L93 Difference]: Finished difference Result 269 states and 340 transitions. [2022-07-22 02:38:59,545 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-22 02:38:59,546 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 269 states and 340 transitions. [2022-07-22 02:38:59,548 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 186 [2022-07-22 02:38:59,549 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 269 states to 269 states and 340 transitions. [2022-07-22 02:38:59,549 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 269 [2022-07-22 02:38:59,550 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 269 [2022-07-22 02:38:59,550 INFO L73 IsDeterministic]: Start isDeterministic. Operand 269 states and 340 transitions. [2022-07-22 02:38:59,551 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 02:38:59,551 INFO L369 hiAutomatonCegarLoop]: Abstraction has 269 states and 340 transitions. [2022-07-22 02:38:59,551 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 269 states and 340 transitions. [2022-07-22 02:38:59,557 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 269 to 269. [2022-07-22 02:38:59,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 269 states, 269 states have (on average 1.2639405204460967) internal successors, (340), 268 states have internal predecessors, (340), 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:59,559 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 269 states to 269 states and 340 transitions. [2022-07-22 02:38:59,559 INFO L392 hiAutomatonCegarLoop]: Abstraction has 269 states and 340 transitions. [2022-07-22 02:38:59,559 INFO L374 stractBuchiCegarLoop]: Abstraction has 269 states and 340 transitions. [2022-07-22 02:38:59,559 INFO L287 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2022-07-22 02:38:59,559 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 269 states and 340 transitions. [2022-07-22 02:38:59,560 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 186 [2022-07-22 02:38:59,561 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 02:38:59,561 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 02:38:59,561 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 02:38:59,561 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] [2022-07-22 02:38:59,562 INFO L752 eck$LassoCheckResult]: Stem: 1307#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;~cleanupTimeShifts~0 := 4;~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0; 1272#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret24#1, main_~retValue_acc~4#1, main_~tmp~7#1;havoc main_~retValue_acc~4#1;havoc main_~tmp~7#1;assume { :begin_inline_select_helpers } true; 1196#L990 assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 1197#L983 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; 1238#L998 main_#t~ret24#1 := valid_product_#res#1;assume { :end_inline_valid_product } true;main_~tmp~7#1 := main_#t~ret24#1;havoc main_#t~ret24#1; 1154#L476 assume 0 != main_~tmp~7#1;assume { :begin_inline_setup } true; 1155#L450 assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet4#1, test_#t~nondet5#1, test_#t~nondet6#1, test_#t~nondet7#1, test_~splverifierCounter~0#1, test_~tmp~0#1, test_~tmp___0~0#1, test_~tmp___1~0#1, test_~tmp___2~0#1;havoc test_~splverifierCounter~0#1;havoc test_~tmp~0#1;havoc test_~tmp___0~0#1;havoc test_~tmp___1~0#1;havoc test_~tmp___2~0#1;test_~splverifierCounter~0#1 := 0; 1193#L65-2 [2022-07-22 02:38:59,562 INFO L754 eck$LassoCheckResult]: Loop: 1193#L65-2 assume !false; 1145#L66 assume test_~splverifierCounter~0#1 < 4; 1146#L67 test_~tmp~0#1 := test_#t~nondet4#1;havoc test_#t~nondet4#1; 1306#L75 assume !(0 != test_~tmp~0#1); 1358#L75-2 test_~tmp___0~0#1 := test_#t~nondet5#1;havoc test_#t~nondet5#1; 1357#L85 assume !(0 != test_~tmp___0~0#1); 1244#L85-2 test_~tmp___2~0#1 := test_#t~nondet6#1;havoc test_#t~nondet6#1; 1245#L95 assume !(0 != test_~tmp___2~0#1);test_~tmp___1~0#1 := test_#t~nondet7#1;havoc test_#t~nondet7#1; 1298#L103 assume 0 != test_~tmp___1~0#1; 1301#L103-2 assume { :begin_inline_timeShift } true; 1138#L139 assume !(0 != ~pumpRunning~0); 1139#L139-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true;havoc processEnvironment_#t~ret10#1, processEnvironment_~tmp~3#1;havoc processEnvironment_~tmp~3#1; 1172#L223 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__lowWaterSensor } true;havoc processEnvironment__wrappee__lowWaterSensor_#t~ret9#1, processEnvironment__wrappee__lowWaterSensor_~tmp~2#1;havoc processEnvironment__wrappee__lowWaterSensor_~tmp~2#1; 1173#L197-2 assume !(0 != ~pumpRunning~0);assume { :begin_inline_processEnvironment__wrappee__highWaterSensor } true;havoc processEnvironment__wrappee__highWaterSensor_#t~ret8#1, processEnvironment__wrappee__highWaterSensor_~tmp~1#1;havoc processEnvironment__wrappee__highWaterSensor_~tmp~1#1; 1295#L171-6 assume 0 == ~pumpRunning~0;assume { :begin_inline_isHighWaterLevel } true;havoc isHighWaterLevel_#res#1;havoc isHighWaterLevel_#t~ret20#1, isHighWaterLevel_~retValue_acc~2#1, isHighWaterLevel_~tmp~4#1, isHighWaterLevel_~tmp___0~1#1;havoc isHighWaterLevel_~retValue_acc~2#1;havoc isHighWaterLevel_~tmp~4#1;havoc isHighWaterLevel_~tmp___0~1#1;assume { :begin_inline_isHighWaterSensorDry } true;havoc isHighWaterSensorDry_#res#1;havoc isHighWaterSensorDry_~retValue_acc~10#1;havoc isHighWaterSensorDry_~retValue_acc~10#1; 1267#L939-3 assume ~waterLevel~0 < 2;isHighWaterSensorDry_~retValue_acc~10#1 := 1;isHighWaterSensorDry_#res#1 := isHighWaterSensorDry_~retValue_acc~10#1; 1229#L944-3 isHighWaterLevel_#t~ret20#1 := isHighWaterSensorDry_#res#1;assume { :end_inline_isHighWaterSensorDry } true;isHighWaterLevel_~tmp~4#1 := isHighWaterLevel_#t~ret20#1;havoc isHighWaterLevel_#t~ret20#1; 1230#L325-9 assume 0 != isHighWaterLevel_~tmp~4#1;isHighWaterLevel_~tmp___0~1#1 := 0; 1249#L325-11 isHighWaterLevel_~retValue_acc~2#1 := isHighWaterLevel_~tmp___0~1#1;isHighWaterLevel_#res#1 := isHighWaterLevel_~retValue_acc~2#1; 1160#L331-3 processEnvironment__wrappee__highWaterSensor_#t~ret8#1 := isHighWaterLevel_#res#1;assume { :end_inline_isHighWaterLevel } true;processEnvironment__wrappee__highWaterSensor_~tmp~1#1 := processEnvironment__wrappee__highWaterSensor_#t~ret8#1;havoc processEnvironment__wrappee__highWaterSensor_#t~ret8#1; 1161#L175-9 assume !(0 != processEnvironment__wrappee__highWaterSensor_~tmp~1#1);assume { :begin_inline_processEnvironment__wrappee__base } true; 1250#L163-6 assume { :end_inline_processEnvironment__wrappee__base } true; 1098#L171-7 assume { :end_inline_processEnvironment__wrappee__highWaterSensor } true; 1099#L197-3 assume { :end_inline_processEnvironment__wrappee__lowWaterSensor } true; 1116#L223-1 assume { :end_inline_processEnvironment } true; 1246#L146-1 assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret22#1, __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_~tmp~6#1, __utac_acc__Specification4_spec__1_~tmp___0~3#1;havoc __utac_acc__Specification4_spec__1_~tmp~6#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~3#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~9#1;havoc getWaterLevel_~retValue_acc~9#1;getWaterLevel_~retValue_acc~9#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~9#1; 1107#L931 __utac_acc__Specification4_spec__1_#t~ret22#1 := getWaterLevel_#res#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~6#1 := __utac_acc__Specification4_spec__1_#t~ret22#1;havoc __utac_acc__Specification4_spec__1_#t~ret22#1; 1108#L373 assume !(0 == __utac_acc__Specification4_spec__1_~tmp~6#1); 1222#L373-1 assume { :end_inline___utac_acc__Specification4_spec__1 } true; 1227#L156 assume { :end_inline_timeShift } true; 1193#L65-2 [2022-07-22 02:38:59,562 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:59,563 INFO L85 PathProgramCache]: Analyzing trace with hash 1803949509, now seen corresponding path program 3 times [2022-07-22 02:38:59,563 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:59,563 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1322200969] [2022-07-22 02:38:59,563 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:59,563 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:59,573 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,573 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:59,590 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,604 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:59,604 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:59,604 INFO L85 PathProgramCache]: Analyzing trace with hash -430208018, now seen corresponding path program 1 times [2022-07-22 02:38:59,605 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:59,605 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [765676123] [2022-07-22 02:38:59,605 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:59,605 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:59,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,611 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:59,615 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,618 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:38:59,620 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 02:38:59,620 INFO L85 PathProgramCache]: Analyzing trace with hash -33017166, now seen corresponding path program 1 times [2022-07-22 02:38:59,620 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 02:38:59,620 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [910005932] [2022-07-22 02:38:59,621 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 02:38:59,621 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 02:38:59,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,632 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 02:38:59,639 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 02:38:59,649 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 02:39:02,124 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 22.07 02:39:02 BoogieIcfgContainer [2022-07-22 02:39:02,125 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2022-07-22 02:39:02,130 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-07-22 02:39:02,130 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-07-22 02:39:02,130 INFO L275 PluginConnector]: Witness Printer initialized [2022-07-22 02:39:02,130 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:58" (3/4) ... [2022-07-22 02:39:02,132 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2022-07-22 02:39:02,184 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2022-07-22 02:39:02,184 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-07-22 02:39:02,185 INFO L158 Benchmark]: Toolchain (without parser) took 4835.27ms. Allocated memory was 50.3MB in the beginning and 98.6MB in the end (delta: 48.2MB). Free memory was 25.8MB in the beginning and 54.8MB in the end (delta: -29.0MB). Peak memory consumption was 18.8MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,185 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 50.3MB. Free memory was 32.2MB in the beginning and 32.1MB in the end (delta: 52.6kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-22 02:39:02,186 INFO L158 Benchmark]: CACSL2BoogieTranslator took 361.39ms. Allocated memory was 50.3MB in the beginning and 67.1MB in the end (delta: 16.8MB). Free memory was 25.6MB in the beginning and 44.2MB in the end (delta: -18.6MB). Peak memory consumption was 3.7MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,186 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.37ms. Allocated memory is still 67.1MB. Free memory was 44.2MB in the beginning and 39.6MB in the end (delta: 4.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,186 INFO L158 Benchmark]: Boogie Preprocessor took 59.16ms. Allocated memory is still 67.1MB. Free memory was 39.6MB in the beginning and 36.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,186 INFO L158 Benchmark]: RCFGBuilder took 775.40ms. Allocated memory is still 67.1MB. Free memory was 36.5MB in the beginning and 40.5MB in the end (delta: -4.0MB). Peak memory consumption was 14.6MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,187 INFO L158 Benchmark]: BuchiAutomizer took 3507.26ms. Allocated memory was 67.1MB in the beginning and 98.6MB in the end (delta: 31.5MB). Free memory was 40.2MB in the beginning and 57.8MB in the end (delta: -17.6MB). Peak memory consumption was 42.3MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,187 INFO L158 Benchmark]: Witness Printer took 54.64ms. Allocated memory is still 98.6MB. Free memory was 57.8MB in the beginning and 54.8MB in the end (delta: 3.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-22 02:39:02,188 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.16ms. Allocated memory is still 50.3MB. Free memory was 32.2MB in the beginning and 32.1MB in the end (delta: 52.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 361.39ms. Allocated memory was 50.3MB in the beginning and 67.1MB in the end (delta: 16.8MB). Free memory was 25.6MB in the beginning and 44.2MB in the end (delta: -18.6MB). Peak memory consumption was 3.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.37ms. Allocated memory is still 67.1MB. Free memory was 44.2MB in the beginning and 39.6MB in the end (delta: 4.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 59.16ms. Allocated memory is still 67.1MB. Free memory was 39.6MB in the beginning and 36.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 775.40ms. Allocated memory is still 67.1MB. Free memory was 36.5MB in the beginning and 40.5MB in the end (delta: -4.0MB). Peak memory consumption was 14.6MB. Max. memory is 16.1GB. * BuchiAutomizer took 3507.26ms. Allocated memory was 67.1MB in the beginning and 98.6MB in the end (delta: 31.5MB). Free memory was 40.2MB in the beginning and 57.8MB in the end (delta: -17.6MB). Peak memory consumption was 42.3MB. Max. memory is 16.1GB. * Witness Printer took 54.64ms. Allocated memory is still 98.6MB. Free memory was 57.8MB in the beginning and 54.8MB in the end (delta: 3.0MB). Peak memory consumption was 2.1MB. 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 2 terminating modules (2 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.2 modules have a trivial ranking function, the largest among these consists of 6 locations. The remainder module has 269 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.4s and 3 iterations. TraceHistogramMax:1. Analysis of lassos took 3.0s. Construction of modules took 0.0s. Büchi inclusion checks took 0.1s. Highest rank in rank-based complementation 0. Minimization of det autom 2. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 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, 1233 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 1233 mSDsluCounter, 734 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 121 mSDsCounter, 39 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 50 IncrementalHoareTripleChecker+Invalid, 89 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 39 mSolverCounterUnsat, 613 mSDtfsCounter, 50 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI1 SFLT0 conc1 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s InitialAbstractionConstructionTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 65]: 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@29b2dca1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@331d4fac=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@512795fb=0, tmp___0=0, head=0, pumpRunning=0, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@198936f0=0, NULL=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@34643c0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3cd5ddde=0, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3221468f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1bd9d478=29, retValue_acc=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5cab829e=0, retValue_acc=1, methaneLevelCritical=0, retValue_acc=1, tmp=1, \result=1, \result=1, tmp=1, retValue_acc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@124ce6f3=0, tmp=1, tmp___2=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4cce2f4d=0, cleanupTimeShifts=4, \result=0, tmp=0, head=0, \result=1, tmp___1=29, NULL=0, waterLevel=1, systemActive=1, \result=0, tmp=0, retValue_acc=0, tmp=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 65]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L131] int pumpRunning = 0; [L132] int systemActive = 1; [L391] int cleanupTimeShifts = 4; [L659] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L856] int waterLevel = 1; [L857] int methaneLevelCritical = 0; [L467] int retValue_acc ; [L468] int tmp ; [L472] FCALL select_helpers() [L473] FCALL select_features() [L474] CALL, EXPR valid_product() [L994] int retValue_acc ; [L997] retValue_acc = 1 [L998] return (retValue_acc); [L474] RET, EXPR valid_product() [L474] tmp = valid_product() [L476] COND TRUE \read(tmp) [L478] FCALL setup() [L479] CALL runTest() [L458] CALL test() [L56] int splverifierCounter ; [L57] int tmp ; [L58] int tmp___0 ; [L59] int tmp___1 ; [L60] int tmp___2 ; [L63] splverifierCounter = 0 Loop: [L65] COND TRUE 1 [L67] COND TRUE splverifierCounter < 4 [L73] tmp = __VERIFIER_nondet_int() [L75] COND FALSE !(\read(tmp)) [L83] tmp___0 = __VERIFIER_nondet_int() [L85] COND FALSE !(\read(tmp___0)) [L93] tmp___2 = __VERIFIER_nondet_int() [L95] COND FALSE !(\read(tmp___2)) [L101] tmp___1 = __VERIFIER_nondet_int() [L103] COND TRUE \read(tmp___1) [L110] CALL timeShift() [L139] COND FALSE !(\read(pumpRunning)) [L146] COND TRUE \read(systemActive) [L148] CALL processEnvironment() [L220] int tmp ; [L223] COND FALSE !(\read(pumpRunning)) [L238] CALL processEnvironment__wrappee__lowWaterSensor() [L194] int tmp ; [L197] COND FALSE !(\read(pumpRunning)) [L212] CALL processEnvironment__wrappee__highWaterSensor() [L168] int tmp ; [L171] COND TRUE ! pumpRunning [L173] CALL, EXPR isHighWaterLevel() [L317] int retValue_acc ; [L318] int tmp ; [L319] int tmp___0 ; [L323] CALL, EXPR isHighWaterSensorDry() [L936] int retValue_acc ; [L939] COND TRUE waterLevel < 2 [L940] retValue_acc = 1 [L941] return (retValue_acc); [L323] RET, EXPR isHighWaterSensorDry() [L323] tmp = isHighWaterSensorDry() [L325] COND TRUE \read(tmp) [L326] tmp___0 = 0 [L330] retValue_acc = tmp___0 [L331] return (retValue_acc); [L173] RET, EXPR isHighWaterLevel() [L173] tmp = isHighWaterLevel() [L175] COND FALSE !(\read(tmp)) [L181] FCALL processEnvironment__wrappee__base() [L212] RET processEnvironment__wrappee__highWaterSensor() [L238] RET processEnvironment__wrappee__lowWaterSensor() [L148] RET processEnvironment() [L154] CALL __utac_acc__Specification4_spec__1() [L366] int tmp ; [L367] int tmp___0 ; [L371] CALL, EXPR getWaterLevel() [L927] int retValue_acc ; [L930] retValue_acc = waterLevel [L931] return (retValue_acc); [L371] RET, EXPR getWaterLevel() [L371] tmp = getWaterLevel() [L373] COND FALSE !(tmp == 0) [L154] RET __utac_acc__Specification4_spec__1() [L110] RET timeShift() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2022-07-22 02:39:02,232 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM)