./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/product-lines/minepump_spec5_product23.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 20ed64ec Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/product-lines/minepump_spec5_product23.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 b2ac6ac7e8f34aa636a6d735574213bec953df14 ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.1-dev-20ed64e [2021-08-27 16:22:34,917 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-27 16:22:34,919 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-27 16:22:34,955 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-27 16:22:34,955 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-27 16:22:34,956 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-27 16:22:34,957 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-27 16:22:34,959 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-27 16:22:34,960 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-27 16:22:34,961 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-27 16:22:34,962 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-27 16:22:34,963 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-27 16:22:34,963 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-27 16:22:34,964 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-27 16:22:34,965 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-27 16:22:34,966 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-27 16:22:34,967 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-27 16:22:34,968 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-27 16:22:34,969 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-27 16:22:34,971 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-27 16:22:34,972 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-27 16:22:34,973 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-27 16:22:34,974 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-27 16:22:34,975 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-27 16:22:34,978 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-27 16:22:34,978 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-27 16:22:34,978 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-27 16:22:34,979 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-27 16:22:34,979 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-27 16:22:34,980 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-27 16:22:34,980 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-27 16:22:34,981 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-27 16:22:34,982 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-27 16:22:34,982 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-27 16:22:34,983 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-27 16:22:34,983 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-27 16:22:34,984 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-27 16:22:34,984 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-27 16:22:34,985 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-27 16:22:34,985 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-27 16:22:34,986 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-27 16:22:34,987 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-08-27 16:22:35,011 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-27 16:22:35,013 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-27 16:22:35,015 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-27 16:22:35,015 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-27 16:22:35,017 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-27 16:22:35,017 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-27 16:22:35,017 INFO L138 SettingsManager]: * Use SBE=true [2021-08-27 16:22:35,018 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-08-27 16:22:35,018 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-08-27 16:22:35,018 INFO L138 SettingsManager]: * Use old map elimination=false [2021-08-27 16:22:35,019 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-08-27 16:22:35,019 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-08-27 16:22:35,019 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-08-27 16:22:35,019 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-27 16:22:35,019 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-27 16:22:35,020 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-27 16:22:35,020 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-27 16:22:35,020 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-27 16:22:35,020 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-27 16:22:35,020 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-08-27 16:22:35,021 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-08-27 16:22:35,021 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-08-27 16:22:35,021 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-27 16:22:35,021 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-08-27 16:22:35,021 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-08-27 16:22:35,021 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-27 16:22:35,022 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-08-27 16:22:35,022 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-27 16:22:35,022 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-27 16:22:35,022 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-27 16:22:35,022 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-27 16:22:35,023 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-27 16:22:35,024 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-08-27 16:22:35,024 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 -> b2ac6ac7e8f34aa636a6d735574213bec953df14 [2021-08-27 16:22:35,347 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-27 16:22:35,374 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-27 16:22:35,376 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-27 16:22:35,377 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-27 16:22:35,378 INFO L275 PluginConnector]: CDTParser initialized [2021-08-27 16:22:35,378 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/product-lines/minepump_spec5_product23.cil.c [2021-08-27 16:22:35,442 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ffee22a91/b5981c5e4233454ca5d04752d7f03cf8/FLAGf715d4071 [2021-08-27 16:22:35,941 INFO L306 CDTParser]: Found 1 translation units. [2021-08-27 16:22:35,950 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product23.cil.c [2021-08-27 16:22:35,960 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ffee22a91/b5981c5e4233454ca5d04752d7f03cf8/FLAGf715d4071 [2021-08-27 16:22:36,296 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ffee22a91/b5981c5e4233454ca5d04752d7f03cf8 [2021-08-27 16:22:36,298 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-27 16:22:36,299 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-08-27 16:22:36,300 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-27 16:22:36,300 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-27 16:22:36,306 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-27 16:22:36,308 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,309 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40ae9dab and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36, skipping insertion in model container [2021-08-27 16:22:36,309 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,314 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-27 16:22:36,364 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-27 16:22:36,558 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product23.cil.c[10968,10981] [2021-08-27 16:22:36,616 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 16:22:36,630 INFO L203 MainTranslator]: Completed pre-run [2021-08-27 16:22:36,688 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec5_product23.cil.c[10968,10981] [2021-08-27 16:22:36,709 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 16:22:36,726 INFO L208 MainTranslator]: Completed translation [2021-08-27 16:22:36,729 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36 WrapperNode [2021-08-27 16:22:36,730 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-27 16:22:36,730 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-08-27 16:22:36,731 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-08-27 16:22:36,731 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-08-27 16:22:36,736 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,761 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,789 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-08-27 16:22:36,790 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-27 16:22:36,790 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-27 16:22:36,790 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-27 16:22:36,796 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,797 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,800 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,801 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,818 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,840 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,842 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,845 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-27 16:22:36,846 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-27 16:22:36,856 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-27 16:22:36,856 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-27 16:22:36,857 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (1/1) ... [2021-08-27 16:22:36,863 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 16:22:36,869 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 16:22:36,886 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) [2021-08-27 16:22:36,917 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 [2021-08-27 16:22:36,943 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-08-27 16:22:36,944 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-08-27 16:22:36,944 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-27 16:22:36,944 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-27 16:22:37,866 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-27 16:22:37,867 INFO L299 CfgBuilder]: Removed 174 assume(true) statements. [2021-08-27 16:22:37,868 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 04:22:37 BoogieIcfgContainer [2021-08-27 16:22:37,868 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-27 16:22:37,869 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-08-27 16:22:37,869 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-08-27 16:22:37,872 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-08-27 16:22:37,873 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 16:22:37,873 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 27.08 04:22:36" (1/3) ... [2021-08-27 16:22:37,874 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@467bbe28 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 27.08 04:22:37, skipping insertion in model container [2021-08-27 16:22:37,874 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 16:22:37,874 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:22:36" (2/3) ... [2021-08-27 16:22:37,874 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@467bbe28 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 27.08 04:22:37, skipping insertion in model container [2021-08-27 16:22:37,875 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 16:22:37,875 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 04:22:37" (3/3) ... [2021-08-27 16:22:37,876 INFO L389 chiAutomizerObserver]: Analyzing ICFG minepump_spec5_product23.cil.c [2021-08-27 16:22:37,910 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-08-27 16:22:37,910 INFO L360 BuchiCegarLoop]: Hoare is false [2021-08-27 16:22:37,910 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-08-27 16:22:37,911 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-08-27 16:22:37,911 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-08-27 16:22:37,911 INFO L364 BuchiCegarLoop]: Difference is false [2021-08-27 16:22:37,911 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-08-27 16:22:37,911 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-08-27 16:22:37,925 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 113 states, 112 states have (on average 1.5) internal successors, (168), 112 states have internal predecessors, (168), 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) [2021-08-27 16:22:37,944 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 73 [2021-08-27 16:22:37,944 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:22:37,944 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:22:37,954 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:37,954 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:37,954 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-08-27 16:22:37,955 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 113 states, 112 states have (on average 1.5) internal successors, (168), 112 states have internal predecessors, (168), 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) [2021-08-27 16:22:37,964 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 73 [2021-08-27 16:22:37,964 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:22:37,964 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:22:37,981 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:37,981 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:37,985 INFO L791 eck$LassoCheckResult]: Stem: 100#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(31);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);call #t~string25.base, #t~string25.offset := #Ultimate.allocOnStack(30);call #t~string26.base, #t~string26.offset := #Ultimate.allocOnStack(9);call #t~string27.base, #t~string27.offset := #Ultimate.allocOnStack(21);call #t~string28.base, #t~string28.offset := #Ultimate.allocOnStack(30);call #t~string29.base, #t~string29.offset := #Ultimate.allocOnStack(9);call #t~string30.base, #t~string30.offset := #Ultimate.allocOnStack(21);call #t~string34.base, #t~string34.offset := #Ultimate.allocOnStack(30);call #t~string35.base, #t~string35.offset := #Ultimate.allocOnStack(9);call #t~string36.base, #t~string36.offset := #Ultimate.allocOnStack(25);call #t~string37.base, #t~string37.offset := #Ultimate.allocOnStack(30);call #t~string38.base, #t~string38.offset := #Ultimate.allocOnStack(9);call #t~string39.base, #t~string39.offset := #Ultimate.allocOnStack(25);call #t~string43.base, #t~string43.offset := #Ultimate.allocOnStack(13);call #t~string45.base, #t~string45.offset := #Ultimate.allocOnStack(7);call write~init~int(44, #t~string45.base, #t~string45.offset, 1);call write~init~int(77, #t~string45.base, 1 + #t~string45.offset, 1);call write~init~int(101, #t~string45.base, 2 + #t~string45.offset, 1);call write~init~int(116, #t~string45.base, 3 + #t~string45.offset, 1);call write~init~int(104, #t~string45.base, 4 + #t~string45.offset, 1);call write~init~int(58, #t~string45.base, 5 + #t~string45.offset, 1);call write~init~int(0, #t~string45.base, 6 + #t~string45.offset, 1);call #t~string47.base, #t~string47.offset := #Ultimate.allocOnStack(5);call write~init~int(67, #t~string47.base, #t~string47.offset, 1);call write~init~int(82, #t~string47.base, 1 + #t~string47.offset, 1);call write~init~int(73, #t~string47.base, 2 + #t~string47.offset, 1);call write~init~int(84, #t~string47.base, 3 + #t~string47.offset, 1);call write~init~int(0, #t~string47.base, 4 + #t~string47.offset, 1);call #t~string49.base, #t~string49.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string49.base, #t~string49.offset, 1);call write~init~int(75, #t~string49.base, 1 + #t~string49.offset, 1);call write~init~int(0, #t~string49.base, 2 + #t~string49.offset, 1);call #t~string51.base, #t~string51.offset := #Ultimate.allocOnStack(2);call write~init~int(41, #t~string51.base, #t~string51.offset, 1);call write~init~int(0, #t~string51.base, 1 + #t~string51.offset, 1);call #t~string57.base, #t~string57.offset := #Ultimate.allocOnStack(13);call #t~string59.base, #t~string59.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string59.base, #t~string59.offset, 1);call write~init~int(110, #t~string59.base, 1 + #t~string59.offset, 1);call write~init~int(0, #t~string59.base, 2 + #t~string59.offset, 1);call #t~string61.base, #t~string61.offset := #Ultimate.allocOnStack(4);call write~init~int(79, #t~string61.base, #t~string61.offset, 1);call write~init~int(102, #t~string61.base, 1 + #t~string61.offset, 1);call write~init~int(102, #t~string61.base, 2 + #t~string61.offset, 1);call write~init~int(0, #t~string61.base, 3 + #t~string61.offset, 1);call #t~string63.base, #t~string63.offset := #Ultimate.allocOnStack(7);call write~init~int(44, #t~string63.base, #t~string63.offset, 1);call write~init~int(80, #t~string63.base, 1 + #t~string63.offset, 1);call write~init~int(117, #t~string63.base, 2 + #t~string63.offset, 1);call write~init~int(109, #t~string63.base, 3 + #t~string63.offset, 1);call write~init~int(112, #t~string63.base, 4 + #t~string63.offset, 1);call write~init~int(58, #t~string63.base, 5 + #t~string63.offset, 1);call write~init~int(0, #t~string63.base, 6 + #t~string63.offset, 1);call #t~string65.base, #t~string65.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string65.base, #t~string65.offset, 1);call write~init~int(110, #t~string65.base, 1 + #t~string65.offset, 1);call write~init~int(0, #t~string65.base, 2 + #t~string65.offset, 1);call #t~string67.base, #t~string67.offset := #Ultimate.allocOnStack(4);call write~init~int(79, #t~string67.base, #t~string67.offset, 1);call write~init~int(102, #t~string67.base, 1 + #t~string67.offset, 1);call write~init~int(102, #t~string67.base, 2 + #t~string67.offset, 1);call write~init~int(0, #t~string67.base, 3 + #t~string67.offset, 1);call #t~string69.base, #t~string69.offset := #Ultimate.allocOnStack(3);call write~init~int(41, #t~string69.base, #t~string69.offset, 1);call write~init~int(32, #t~string69.base, 1 + #t~string69.offset, 1);call write~init~int(0, #t~string69.base, 2 + #t~string69.offset, 1);call #t~string71.base, #t~string71.offset := #Ultimate.allocOnStack(2);call write~init~int(10, #t~string71.base, #t~string71.offset, 1);call write~init~int(0, #t~string71.base, 1 + #t~string71.offset, 1);~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0; 41#L-1true havoc main_#res;havoc main_#t~ret52, main_~retValue_acc~6, main_~tmp~3;havoc main_~retValue_acc~6;havoc main_~tmp~3; 66#L908true havoc valid_product_#res;havoc valid_product_~retValue_acc~11;havoc valid_product_~retValue_acc~11;valid_product_~retValue_acc~11 := 1;valid_product_#res := valid_product_~retValue_acc~11; 97#L916true main_#t~ret52 := valid_product_#res;main_~tmp~3 := main_#t~ret52;havoc main_#t~ret52; 98#L603true assume 0 != main_~tmp~3; 49#L574true ~switchedOnBeforeTS~0 := 0; 13#L927true havoc test_#t~nondet73, test_#t~nondet74, test_#t~nondet75, test_#t~nondet76, test_~splverifierCounter~0, test_~tmp~7, test_~tmp___0~1, test_~tmp___1~0, test_~tmp___2~0;havoc test_~splverifierCounter~0;havoc test_~tmp~7;havoc test_~tmp___0~1;havoc test_~tmp___1~0;havoc test_~tmp___2~0;test_~splverifierCounter~0 := 0; 14#L948-1true [2021-08-27 16:22:37,986 INFO L793 eck$LassoCheckResult]: Loop: 14#L948-1true assume !false; 82#L830true assume test_~splverifierCounter~0 < 4; 74#L831true test_~tmp~7 := test_#t~nondet73;havoc test_#t~nondet73; 29#L839true assume !(0 != test_~tmp~7); 88#L839-1true test_~tmp___0~1 := test_#t~nondet74;havoc test_#t~nondet74; 106#L849true assume !(0 != test_~tmp___0~1); 38#L849-1true test_~tmp___2~0 := test_#t~nondet75;havoc test_#t~nondet75; 96#L859true assume 0 != test_~tmp___2~0; 68#L865-1true havoc __utac_acc__Specification5_spec__2_#t~ret78;havoc isPumpRunning_#res;havoc isPumpRunning_~retValue_acc~8;havoc isPumpRunning_~retValue_acc~8;isPumpRunning_~retValue_acc~8 := ~pumpRunning~0;isPumpRunning_#res := isPumpRunning_~retValue_acc~8; 36#L744true __utac_acc__Specification5_spec__2_#t~ret78 := isPumpRunning_#res;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret78;havoc __utac_acc__Specification5_spec__2_#t~ret78; 67#L937true assume !(0 != ~pumpRunning~0); 107#L633true assume !(0 != ~systemActive~0); 26#L640true havoc __utac_acc__Specification5_spec__3_#t~ret79, __utac_acc__Specification5_spec__3_#t~ret80, __utac_acc__Specification5_spec__3_~tmp~8, __utac_acc__Specification5_spec__3_~tmp___0~2;havoc __utac_acc__Specification5_spec__3_~tmp~8;havoc __utac_acc__Specification5_spec__3_~tmp___0~2;havoc getWaterLevel_#res;havoc getWaterLevel_~retValue_acc~4;havoc getWaterLevel_~retValue_acc~4;getWaterLevel_~retValue_acc~4 := ~waterLevel~0;getWaterLevel_#res := getWaterLevel_~retValue_acc~4; 48#L499true __utac_acc__Specification5_spec__3_#t~ret79 := getWaterLevel_#res;__utac_acc__Specification5_spec__3_~tmp~8 := __utac_acc__Specification5_spec__3_#t~ret79;havoc __utac_acc__Specification5_spec__3_#t~ret79; 7#L948true assume !(2 != __utac_acc__Specification5_spec__3_~tmp~8); 14#L948-1true [2021-08-27 16:22:37,999 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:37,999 INFO L82 PathProgramCache]: Analyzing trace with hash 1804904775, now seen corresponding path program 1 times [2021-08-27 16:22:38,006 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:38,006 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [713789190] [2021-08-27 16:22:38,007 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:38,007 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:38,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:38,227 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:38,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:38,386 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:22:38,389 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:38,392 INFO L82 PathProgramCache]: Analyzing trace with hash -240568171, now seen corresponding path program 1 times [2021-08-27 16:22:38,393 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:38,394 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [87973235] [2021-08-27 16:22:38,394 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:38,395 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:38,411 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:38,411 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:38,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:38,418 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:22:38,424 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:38,424 INFO L82 PathProgramCache]: Analyzing trace with hash 1693457039, now seen corresponding path program 1 times [2021-08-27 16:22:38,425 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:38,425 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2104154496] [2021-08-27 16:22:38,425 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:38,426 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:38,453 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:22:38,580 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:22:38,581 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:22:38,582 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2104154496] [2021-08-27 16:22:38,584 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2104154496] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:22:38,584 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:22:38,584 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-08-27 16:22:38,584 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [25566499] [2021-08-27 16:22:38,838 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:22:38,848 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2021-08-27 16:22:38,850 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2021-08-27 16:22:38,854 INFO L87 Difference]: Start difference. First operand has 113 states, 112 states have (on average 1.5) internal successors, (168), 112 states have internal predecessors, (168), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 6 states, 6 states have (on average 3.6666666666666665) internal successors, (22), 5 states have internal predecessors, (22), 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) [2021-08-27 16:22:39,122 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:22:39,123 INFO L93 Difference]: Finished difference Result 277 states and 388 transitions. [2021-08-27 16:22:39,123 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-08-27 16:22:39,125 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 277 states and 388 transitions. [2021-08-27 16:22:39,142 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 179 [2021-08-27 16:22:39,149 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 277 states to 256 states and 367 transitions. [2021-08-27 16:22:39,151 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 256 [2021-08-27 16:22:39,153 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 256 [2021-08-27 16:22:39,154 INFO L73 IsDeterministic]: Start isDeterministic. Operand 256 states and 367 transitions. [2021-08-27 16:22:39,159 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:22:39,159 INFO L681 BuchiCegarLoop]: Abstraction has 256 states and 367 transitions. [2021-08-27 16:22:39,173 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 256 states and 367 transitions. [2021-08-27 16:22:39,200 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 256 to 155. [2021-08-27 16:22:39,201 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 155 states, 155 states have (on average 1.4258064516129032) internal successors, (221), 154 states have internal predecessors, (221), 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) [2021-08-27 16:22:39,202 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 155 states to 155 states and 221 transitions. [2021-08-27 16:22:39,203 INFO L704 BuchiCegarLoop]: Abstraction has 155 states and 221 transitions. [2021-08-27 16:22:39,203 INFO L587 BuchiCegarLoop]: Abstraction has 155 states and 221 transitions. [2021-08-27 16:22:39,204 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-08-27 16:22:39,204 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 155 states and 221 transitions. [2021-08-27 16:22:39,205 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 108 [2021-08-27 16:22:39,205 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:22:39,205 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:22:39,206 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:39,206 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:39,207 INFO L791 eck$LassoCheckResult]: Stem: 510#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(31);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);call #t~string25.base, #t~string25.offset := #Ultimate.allocOnStack(30);call #t~string26.base, #t~string26.offset := #Ultimate.allocOnStack(9);call #t~string27.base, #t~string27.offset := #Ultimate.allocOnStack(21);call #t~string28.base, #t~string28.offset := #Ultimate.allocOnStack(30);call #t~string29.base, #t~string29.offset := #Ultimate.allocOnStack(9);call #t~string30.base, #t~string30.offset := #Ultimate.allocOnStack(21);call #t~string34.base, #t~string34.offset := #Ultimate.allocOnStack(30);call #t~string35.base, #t~string35.offset := #Ultimate.allocOnStack(9);call #t~string36.base, #t~string36.offset := #Ultimate.allocOnStack(25);call #t~string37.base, #t~string37.offset := #Ultimate.allocOnStack(30);call #t~string38.base, #t~string38.offset := #Ultimate.allocOnStack(9);call #t~string39.base, #t~string39.offset := #Ultimate.allocOnStack(25);call #t~string43.base, #t~string43.offset := #Ultimate.allocOnStack(13);call #t~string45.base, #t~string45.offset := #Ultimate.allocOnStack(7);call write~init~int(44, #t~string45.base, #t~string45.offset, 1);call write~init~int(77, #t~string45.base, 1 + #t~string45.offset, 1);call write~init~int(101, #t~string45.base, 2 + #t~string45.offset, 1);call write~init~int(116, #t~string45.base, 3 + #t~string45.offset, 1);call write~init~int(104, #t~string45.base, 4 + #t~string45.offset, 1);call write~init~int(58, #t~string45.base, 5 + #t~string45.offset, 1);call write~init~int(0, #t~string45.base, 6 + #t~string45.offset, 1);call #t~string47.base, #t~string47.offset := #Ultimate.allocOnStack(5);call write~init~int(67, #t~string47.base, #t~string47.offset, 1);call write~init~int(82, #t~string47.base, 1 + #t~string47.offset, 1);call write~init~int(73, #t~string47.base, 2 + #t~string47.offset, 1);call write~init~int(84, #t~string47.base, 3 + #t~string47.offset, 1);call write~init~int(0, #t~string47.base, 4 + #t~string47.offset, 1);call #t~string49.base, #t~string49.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string49.base, #t~string49.offset, 1);call write~init~int(75, #t~string49.base, 1 + #t~string49.offset, 1);call write~init~int(0, #t~string49.base, 2 + #t~string49.offset, 1);call #t~string51.base, #t~string51.offset := #Ultimate.allocOnStack(2);call write~init~int(41, #t~string51.base, #t~string51.offset, 1);call write~init~int(0, #t~string51.base, 1 + #t~string51.offset, 1);call #t~string57.base, #t~string57.offset := #Ultimate.allocOnStack(13);call #t~string59.base, #t~string59.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string59.base, #t~string59.offset, 1);call write~init~int(110, #t~string59.base, 1 + #t~string59.offset, 1);call write~init~int(0, #t~string59.base, 2 + #t~string59.offset, 1);call #t~string61.base, #t~string61.offset := #Ultimate.allocOnStack(4);call write~init~int(79, #t~string61.base, #t~string61.offset, 1);call write~init~int(102, #t~string61.base, 1 + #t~string61.offset, 1);call write~init~int(102, #t~string61.base, 2 + #t~string61.offset, 1);call write~init~int(0, #t~string61.base, 3 + #t~string61.offset, 1);call #t~string63.base, #t~string63.offset := #Ultimate.allocOnStack(7);call write~init~int(44, #t~string63.base, #t~string63.offset, 1);call write~init~int(80, #t~string63.base, 1 + #t~string63.offset, 1);call write~init~int(117, #t~string63.base, 2 + #t~string63.offset, 1);call write~init~int(109, #t~string63.base, 3 + #t~string63.offset, 1);call write~init~int(112, #t~string63.base, 4 + #t~string63.offset, 1);call write~init~int(58, #t~string63.base, 5 + #t~string63.offset, 1);call write~init~int(0, #t~string63.base, 6 + #t~string63.offset, 1);call #t~string65.base, #t~string65.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string65.base, #t~string65.offset, 1);call write~init~int(110, #t~string65.base, 1 + #t~string65.offset, 1);call write~init~int(0, #t~string65.base, 2 + #t~string65.offset, 1);call #t~string67.base, #t~string67.offset := #Ultimate.allocOnStack(4);call write~init~int(79, #t~string67.base, #t~string67.offset, 1);call write~init~int(102, #t~string67.base, 1 + #t~string67.offset, 1);call write~init~int(102, #t~string67.base, 2 + #t~string67.offset, 1);call write~init~int(0, #t~string67.base, 3 + #t~string67.offset, 1);call #t~string69.base, #t~string69.offset := #Ultimate.allocOnStack(3);call write~init~int(41, #t~string69.base, #t~string69.offset, 1);call write~init~int(32, #t~string69.base, 1 + #t~string69.offset, 1);call write~init~int(0, #t~string69.base, 2 + #t~string69.offset, 1);call #t~string71.base, #t~string71.offset := #Ultimate.allocOnStack(2);call write~init~int(10, #t~string71.base, #t~string71.offset, 1);call write~init~int(0, #t~string71.base, 1 + #t~string71.offset, 1);~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0; 473#L-1 havoc main_#res;havoc main_#t~ret52, main_~retValue_acc~6, main_~tmp~3;havoc main_~retValue_acc~6;havoc main_~tmp~3; 474#L908 havoc valid_product_#res;havoc valid_product_~retValue_acc~11;havoc valid_product_~retValue_acc~11;valid_product_~retValue_acc~11 := 1;valid_product_#res := valid_product_~retValue_acc~11; 492#L916 main_#t~ret52 := valid_product_#res;main_~tmp~3 := main_#t~ret52;havoc main_#t~ret52; 509#L603 assume 0 != main_~tmp~3; 481#L574 ~switchedOnBeforeTS~0 := 0; 424#L927 havoc test_#t~nondet73, test_#t~nondet74, test_#t~nondet75, test_#t~nondet76, test_~splverifierCounter~0, test_~tmp~7, test_~tmp___0~1, test_~tmp___1~0, test_~tmp___2~0;havoc test_~splverifierCounter~0;havoc test_~tmp~7;havoc test_~tmp___0~1;havoc test_~tmp___1~0;havoc test_~tmp___2~0;test_~splverifierCounter~0 := 0; 415#L948-1 [2021-08-27 16:22:39,207 INFO L793 eck$LassoCheckResult]: Loop: 415#L948-1 assume !false; 425#L830 assume test_~splverifierCounter~0 < 4; 497#L831 test_~tmp~7 := test_#t~nondet73;havoc test_#t~nondet73; 454#L839 assume !(0 != test_~tmp~7); 445#L839-1 test_~tmp___0~1 := test_#t~nondet74;havoc test_#t~nondet74; 504#L849 assume !(0 != test_~tmp___0~1); 409#L849-1 test_~tmp___2~0 := test_#t~nondet75;havoc test_#t~nondet75; 467#L859 assume 0 != test_~tmp___2~0; 493#L865-1 havoc __utac_acc__Specification5_spec__2_#t~ret78;havoc isPumpRunning_#res;havoc isPumpRunning_~retValue_acc~8;havoc isPumpRunning_~retValue_acc~8;isPumpRunning_~retValue_acc~8 := ~pumpRunning~0;isPumpRunning_#res := isPumpRunning_~retValue_acc~8; 463#L744 __utac_acc__Specification5_spec__2_#t~ret78 := isPumpRunning_#res;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret78;havoc __utac_acc__Specification5_spec__2_#t~ret78; 464#L937 assume !(0 != ~pumpRunning~0); 429#L633 assume 0 != ~systemActive~0;havoc processEnvironment_#t~ret54, processEnvironment_~tmp~5;havoc processEnvironment_~tmp~5; 465#L691 assume !(0 != ~pumpRunning~0);havoc processEnvironment__wrappee__lowWaterSensor_#t~ret53, processEnvironment__wrappee__lowWaterSensor_~tmp~4;havoc processEnvironment__wrappee__lowWaterSensor_~tmp~4; 449#L665-1 assume !(0 != ~pumpRunning~0); 450#L640 havoc __utac_acc__Specification5_spec__3_#t~ret79, __utac_acc__Specification5_spec__3_#t~ret80, __utac_acc__Specification5_spec__3_~tmp~8, __utac_acc__Specification5_spec__3_~tmp___0~2;havoc __utac_acc__Specification5_spec__3_~tmp~8;havoc __utac_acc__Specification5_spec__3_~tmp___0~2;havoc getWaterLevel_#res;havoc getWaterLevel_~retValue_acc~4;havoc getWaterLevel_~retValue_acc~4;getWaterLevel_~retValue_acc~4 := ~waterLevel~0;getWaterLevel_#res := getWaterLevel_~retValue_acc~4; 451#L499 __utac_acc__Specification5_spec__3_#t~ret79 := getWaterLevel_#res;__utac_acc__Specification5_spec__3_~tmp~8 := __utac_acc__Specification5_spec__3_#t~ret79;havoc __utac_acc__Specification5_spec__3_#t~ret79; 413#L948 assume !(2 != __utac_acc__Specification5_spec__3_~tmp~8); 415#L948-1 [2021-08-27 16:22:39,208 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:39,208 INFO L82 PathProgramCache]: Analyzing trace with hash 1804904775, now seen corresponding path program 2 times [2021-08-27 16:22:39,208 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:39,208 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [458988123] [2021-08-27 16:22:39,208 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:39,209 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:39,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,278 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:39,328 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,351 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:22:39,354 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:39,356 INFO L82 PathProgramCache]: Analyzing trace with hash -1407156793, now seen corresponding path program 1 times [2021-08-27 16:22:39,356 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:39,357 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [852337658] [2021-08-27 16:22:39,357 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:39,357 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:39,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,362 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:39,366 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,369 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:22:39,377 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:39,378 INFO L82 PathProgramCache]: Analyzing trace with hash 1765198145, now seen corresponding path program 1 times [2021-08-27 16:22:39,378 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:39,378 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [321067859] [2021-08-27 16:22:39,378 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:39,379 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:39,401 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:22:39,458 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:22:39,458 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:22:39,458 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [321067859] [2021-08-27 16:22:39,459 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [321067859] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:22:39,459 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:22:39,459 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:22:39,459 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1662358888] [2021-08-27 16:22:39,656 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:22:39,657 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-08-27 16:22:39,658 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-08-27 16:22:39,658 INFO L87 Difference]: Start difference. First operand 155 states and 221 transitions. cyclomatic complexity: 69 Second operand has 5 states, 4 states have (on average 6.0) internal successors, (24), 4 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) [2021-08-27 16:22:39,885 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:22:39,885 INFO L93 Difference]: Finished difference Result 448 states and 633 transitions. [2021-08-27 16:22:39,886 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-08-27 16:22:39,886 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 448 states and 633 transitions. [2021-08-27 16:22:39,893 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 210 [2021-08-27 16:22:39,900 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 448 states to 448 states and 633 transitions. [2021-08-27 16:22:39,900 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 448 [2021-08-27 16:22:39,902 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 448 [2021-08-27 16:22:39,903 INFO L73 IsDeterministic]: Start isDeterministic. Operand 448 states and 633 transitions. [2021-08-27 16:22:39,904 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:22:39,904 INFO L681 BuchiCegarLoop]: Abstraction has 448 states and 633 transitions. [2021-08-27 16:22:39,904 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 448 states and 633 transitions. [2021-08-27 16:22:39,913 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 448 to 303. [2021-08-27 16:22:39,914 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 303 states, 303 states have (on average 1.3894389438943895) internal successors, (421), 302 states have internal predecessors, (421), 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) [2021-08-27 16:22:39,915 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 303 states to 303 states and 421 transitions. [2021-08-27 16:22:39,915 INFO L704 BuchiCegarLoop]: Abstraction has 303 states and 421 transitions. [2021-08-27 16:22:39,915 INFO L587 BuchiCegarLoop]: Abstraction has 303 states and 421 transitions. [2021-08-27 16:22:39,915 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-08-27 16:22:39,915 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 303 states and 421 transitions. [2021-08-27 16:22:39,917 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 210 [2021-08-27 16:22:39,917 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:22:39,917 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:22:39,918 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:39,918 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:22:39,918 INFO L791 eck$LassoCheckResult]: Stem: 1152#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(31);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);call #t~string25.base, #t~string25.offset := #Ultimate.allocOnStack(30);call #t~string26.base, #t~string26.offset := #Ultimate.allocOnStack(9);call #t~string27.base, #t~string27.offset := #Ultimate.allocOnStack(21);call #t~string28.base, #t~string28.offset := #Ultimate.allocOnStack(30);call #t~string29.base, #t~string29.offset := #Ultimate.allocOnStack(9);call #t~string30.base, #t~string30.offset := #Ultimate.allocOnStack(21);call #t~string34.base, #t~string34.offset := #Ultimate.allocOnStack(30);call #t~string35.base, #t~string35.offset := #Ultimate.allocOnStack(9);call #t~string36.base, #t~string36.offset := #Ultimate.allocOnStack(25);call #t~string37.base, #t~string37.offset := #Ultimate.allocOnStack(30);call #t~string38.base, #t~string38.offset := #Ultimate.allocOnStack(9);call #t~string39.base, #t~string39.offset := #Ultimate.allocOnStack(25);call #t~string43.base, #t~string43.offset := #Ultimate.allocOnStack(13);call #t~string45.base, #t~string45.offset := #Ultimate.allocOnStack(7);call write~init~int(44, #t~string45.base, #t~string45.offset, 1);call write~init~int(77, #t~string45.base, 1 + #t~string45.offset, 1);call write~init~int(101, #t~string45.base, 2 + #t~string45.offset, 1);call write~init~int(116, #t~string45.base, 3 + #t~string45.offset, 1);call write~init~int(104, #t~string45.base, 4 + #t~string45.offset, 1);call write~init~int(58, #t~string45.base, 5 + #t~string45.offset, 1);call write~init~int(0, #t~string45.base, 6 + #t~string45.offset, 1);call #t~string47.base, #t~string47.offset := #Ultimate.allocOnStack(5);call write~init~int(67, #t~string47.base, #t~string47.offset, 1);call write~init~int(82, #t~string47.base, 1 + #t~string47.offset, 1);call write~init~int(73, #t~string47.base, 2 + #t~string47.offset, 1);call write~init~int(84, #t~string47.base, 3 + #t~string47.offset, 1);call write~init~int(0, #t~string47.base, 4 + #t~string47.offset, 1);call #t~string49.base, #t~string49.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string49.base, #t~string49.offset, 1);call write~init~int(75, #t~string49.base, 1 + #t~string49.offset, 1);call write~init~int(0, #t~string49.base, 2 + #t~string49.offset, 1);call #t~string51.base, #t~string51.offset := #Ultimate.allocOnStack(2);call write~init~int(41, #t~string51.base, #t~string51.offset, 1);call write~init~int(0, #t~string51.base, 1 + #t~string51.offset, 1);call #t~string57.base, #t~string57.offset := #Ultimate.allocOnStack(13);call #t~string59.base, #t~string59.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string59.base, #t~string59.offset, 1);call write~init~int(110, #t~string59.base, 1 + #t~string59.offset, 1);call write~init~int(0, #t~string59.base, 2 + #t~string59.offset, 1);call #t~string61.base, #t~string61.offset := #Ultimate.allocOnStack(4);call write~init~int(79, #t~string61.base, #t~string61.offset, 1);call write~init~int(102, #t~string61.base, 1 + #t~string61.offset, 1);call write~init~int(102, #t~string61.base, 2 + #t~string61.offset, 1);call write~init~int(0, #t~string61.base, 3 + #t~string61.offset, 1);call #t~string63.base, #t~string63.offset := #Ultimate.allocOnStack(7);call write~init~int(44, #t~string63.base, #t~string63.offset, 1);call write~init~int(80, #t~string63.base, 1 + #t~string63.offset, 1);call write~init~int(117, #t~string63.base, 2 + #t~string63.offset, 1);call write~init~int(109, #t~string63.base, 3 + #t~string63.offset, 1);call write~init~int(112, #t~string63.base, 4 + #t~string63.offset, 1);call write~init~int(58, #t~string63.base, 5 + #t~string63.offset, 1);call write~init~int(0, #t~string63.base, 6 + #t~string63.offset, 1);call #t~string65.base, #t~string65.offset := #Ultimate.allocOnStack(3);call write~init~int(79, #t~string65.base, #t~string65.offset, 1);call write~init~int(110, #t~string65.base, 1 + #t~string65.offset, 1);call write~init~int(0, #t~string65.base, 2 + #t~string65.offset, 1);call #t~string67.base, #t~string67.offset := #Ultimate.allocOnStack(4);call write~init~int(79, #t~string67.base, #t~string67.offset, 1);call write~init~int(102, #t~string67.base, 1 + #t~string67.offset, 1);call write~init~int(102, #t~string67.base, 2 + #t~string67.offset, 1);call write~init~int(0, #t~string67.base, 3 + #t~string67.offset, 1);call #t~string69.base, #t~string69.offset := #Ultimate.allocOnStack(3);call write~init~int(41, #t~string69.base, #t~string69.offset, 1);call write~init~int(32, #t~string69.base, 1 + #t~string69.offset, 1);call write~init~int(0, #t~string69.base, 2 + #t~string69.offset, 1);call #t~string71.base, #t~string71.offset := #Ultimate.allocOnStack(2);call write~init~int(10, #t~string71.base, #t~string71.offset, 1);call write~init~int(0, #t~string71.base, 1 + #t~string71.offset, 1);~head~0.base, ~head~0.offset := 0, 0;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~cleanupTimeShifts~0 := 4;~pumpRunning~0 := 0;~systemActive~0 := 1;~switchedOnBeforeTS~0 := 0; 1096#L-1 havoc main_#res;havoc main_#t~ret52, main_~retValue_acc~6, main_~tmp~3;havoc main_~retValue_acc~6;havoc main_~tmp~3; 1097#L908 havoc valid_product_#res;havoc valid_product_~retValue_acc~11;havoc valid_product_~retValue_acc~11;valid_product_~retValue_acc~11 := 1;valid_product_#res := valid_product_~retValue_acc~11; 1122#L916 main_#t~ret52 := valid_product_#res;main_~tmp~3 := main_#t~ret52;havoc main_#t~ret52; 1151#L603 assume 0 != main_~tmp~3; 1105#L574 ~switchedOnBeforeTS~0 := 0; 1042#L927 havoc test_#t~nondet73, test_#t~nondet74, test_#t~nondet75, test_#t~nondet76, test_~splverifierCounter~0, test_~tmp~7, test_~tmp___0~1, test_~tmp___1~0, test_~tmp___2~0;havoc test_~splverifierCounter~0;havoc test_~tmp~7;havoc test_~tmp___0~1;havoc test_~tmp___1~0;havoc test_~tmp___2~0;test_~splverifierCounter~0 := 0; 1043#L948-1 [2021-08-27 16:22:39,918 INFO L793 eck$LassoCheckResult]: Loop: 1043#L948-1 assume !false; 1044#L830 assume test_~splverifierCounter~0 < 4; 1137#L831 test_~tmp~7 := test_#t~nondet73;havoc test_#t~nondet73; 1219#L839 assume !(0 != test_~tmp~7); 1216#L839-1 test_~tmp___0~1 := test_#t~nondet74;havoc test_#t~nondet74; 1212#L849 assume !(0 != test_~tmp___0~1); 1210#L849-1 test_~tmp___2~0 := test_#t~nondet75;havoc test_#t~nondet75; 1209#L859 assume 0 != test_~tmp___2~0; 1207#L865-1 havoc __utac_acc__Specification5_spec__2_#t~ret78;havoc isPumpRunning_#res;havoc isPumpRunning_~retValue_acc~8;havoc isPumpRunning_~retValue_acc~8;isPumpRunning_~retValue_acc~8 := ~pumpRunning~0;isPumpRunning_#res := isPumpRunning_~retValue_acc~8; 1241#L744 __utac_acc__Specification5_spec__2_#t~ret78 := isPumpRunning_#res;~switchedOnBeforeTS~0 := __utac_acc__Specification5_spec__2_#t~ret78;havoc __utac_acc__Specification5_spec__2_#t~ret78; 1240#L937 assume !(0 != ~pumpRunning~0); 1239#L633 assume 0 != ~systemActive~0;havoc processEnvironment_#t~ret54, processEnvironment_~tmp~5;havoc processEnvironment_~tmp~5; 1185#L691 assume !(0 != ~pumpRunning~0);havoc processEnvironment__wrappee__lowWaterSensor_#t~ret53, processEnvironment__wrappee__lowWaterSensor_~tmp~4;havoc processEnvironment__wrappee__lowWaterSensor_~tmp~4; 1231#L665-1 assume !(0 != ~pumpRunning~0); 1071#L640 havoc __utac_acc__Specification5_spec__3_#t~ret79, __utac_acc__Specification5_spec__3_#t~ret80, __utac_acc__Specification5_spec__3_~tmp~8, __utac_acc__Specification5_spec__3_~tmp___0~2;havoc __utac_acc__Specification5_spec__3_~tmp~8;havoc __utac_acc__Specification5_spec__3_~tmp___0~2;havoc getWaterLevel_#res;havoc getWaterLevel_~retValue_acc~4;havoc getWaterLevel_~retValue_acc~4;getWaterLevel_~retValue_acc~4 := ~waterLevel~0;getWaterLevel_#res := getWaterLevel_~retValue_acc~4; 1072#L499 __utac_acc__Specification5_spec__3_#t~ret79 := getWaterLevel_#res;__utac_acc__Specification5_spec__3_~tmp~8 := __utac_acc__Specification5_spec__3_#t~ret79;havoc __utac_acc__Specification5_spec__3_#t~ret79; 1031#L948 assume 2 != __utac_acc__Specification5_spec__3_~tmp~8;havoc isPumpRunning_#res;havoc isPumpRunning_~retValue_acc~8;havoc isPumpRunning_~retValue_acc~8;isPumpRunning_~retValue_acc~8 := ~pumpRunning~0;isPumpRunning_#res := isPumpRunning_~retValue_acc~8; 1032#L744-1 __utac_acc__Specification5_spec__3_#t~ret80 := isPumpRunning_#res;__utac_acc__Specification5_spec__3_~tmp___0~2 := __utac_acc__Specification5_spec__3_#t~ret80;havoc __utac_acc__Specification5_spec__3_#t~ret80; 1035#L952 assume !(0 != __utac_acc__Specification5_spec__3_~tmp___0~2); 1043#L948-1 [2021-08-27 16:22:39,919 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:39,919 INFO L82 PathProgramCache]: Analyzing trace with hash 1804904775, now seen corresponding path program 3 times [2021-08-27 16:22:39,919 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:39,919 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1738120587] [2021-08-27 16:22:39,919 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:39,920 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:39,944 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,944 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:39,968 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,975 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:22:39,976 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:39,976 INFO L82 PathProgramCache]: Analyzing trace with hash 637007746, now seen corresponding path program 1 times [2021-08-27 16:22:39,976 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:39,976 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1383373302] [2021-08-27 16:22:39,976 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:39,977 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:39,980 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,980 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:39,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:39,985 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:22:39,985 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:22:39,985 INFO L82 PathProgramCache]: Analyzing trace with hash -156676996, now seen corresponding path program 1 times [2021-08-27 16:22:39,986 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:22:39,986 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [779337950] [2021-08-27 16:22:39,986 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:22:39,986 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:22:40,009 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:40,010 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:22:40,052 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:22:40,063 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:23:22,283 WARN L207 SmtUtils]: Spent 41.96 s on a formula simplification. DAG size of input: 495 DAG size of output: 437 [2021-08-27 16:24:04,785 WARN L207 SmtUtils]: Spent 20.76 s on a formula simplification that was a NOOP. DAG size: 435 [2021-08-27 16:24:04,858 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 27.08 04:24:04 BoogieIcfgContainer [2021-08-27 16:24:04,859 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-08-27 16:24:04,859 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-27 16:24:04,859 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-27 16:24:04,860 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-27 16:24:04,860 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 04:22:37" (3/4) ... [2021-08-27 16:24:04,862 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-08-27 16:24:04,895 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-27 16:24:04,895 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-27 16:24:04,896 INFO L168 Benchmark]: Toolchain (without parser) took 88596.42 ms. Allocated memory was 67.1 MB in the beginning and 159.4 MB in the end (delta: 92.3 MB). Free memory was 48.0 MB in the beginning and 66.1 MB in the end (delta: -18.1 MB). Peak memory consumption was 73.2 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,896 INFO L168 Benchmark]: CDTParser took 0.17 ms. Allocated memory is still 67.1 MB. Free memory is still 50.4 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-08-27 16:24:04,897 INFO L168 Benchmark]: CACSL2BoogieTranslator took 429.72 ms. Allocated memory is still 67.1 MB. Free memory was 47.9 MB in the beginning and 43.0 MB in the end (delta: 4.9 MB). Peak memory consumption was 12.6 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,897 INFO L168 Benchmark]: Boogie Procedure Inliner took 58.53 ms. Allocated memory is still 67.1 MB. Free memory was 42.8 MB in the beginning and 39.2 MB in the end (delta: 3.5 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,897 INFO L168 Benchmark]: Boogie Preprocessor took 55.58 ms. Allocated memory is still 67.1 MB. Free memory was 39.2 MB in the beginning and 36.7 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,898 INFO L168 Benchmark]: RCFGBuilder took 1022.74 ms. Allocated memory was 67.1 MB in the beginning and 94.4 MB in the end (delta: 27.3 MB). Free memory was 36.7 MB in the beginning and 49.7 MB in the end (delta: -12.9 MB). Peak memory consumption was 22.5 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,898 INFO L168 Benchmark]: BuchiAutomizer took 86989.59 ms. Allocated memory was 94.4 MB in the beginning and 159.4 MB in the end (delta: 65.0 MB). Free memory was 49.1 MB in the beginning and 69.1 MB in the end (delta: -20.0 MB). Peak memory consumption was 81.1 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,899 INFO L168 Benchmark]: Witness Printer took 35.79 ms. Allocated memory is still 159.4 MB. Free memory was 69.1 MB in the beginning and 66.1 MB in the end (delta: 3.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 16:24:04,901 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.17 ms. Allocated memory is still 67.1 MB. Free memory is still 50.4 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 429.72 ms. Allocated memory is still 67.1 MB. Free memory was 47.9 MB in the beginning and 43.0 MB in the end (delta: 4.9 MB). Peak memory consumption was 12.6 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 58.53 ms. Allocated memory is still 67.1 MB. Free memory was 42.8 MB in the beginning and 39.2 MB in the end (delta: 3.5 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 55.58 ms. Allocated memory is still 67.1 MB. Free memory was 39.2 MB in the beginning and 36.7 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 1022.74 ms. Allocated memory was 67.1 MB in the beginning and 94.4 MB in the end (delta: 27.3 MB). Free memory was 36.7 MB in the beginning and 49.7 MB in the end (delta: -12.9 MB). Peak memory consumption was 22.5 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 86989.59 ms. Allocated memory was 94.4 MB in the beginning and 159.4 MB in the end (delta: 65.0 MB). Free memory was 49.1 MB in the beginning and 69.1 MB in the end (delta: -20.0 MB). Peak memory consumption was 81.1 MB. Max. memory is 16.1 GB. * Witness Printer took 35.79 ms. Allocated memory is still 159.4 MB. Free memory was 69.1 MB in the beginning and 66.1 MB in the end (delta: 3.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * 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 303 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 86.9s and 3 iterations. TraceHistogramMax:1. Analysis of lassos took 86.2s. Construction of modules took 0.2s. Büchi inclusion checks took 0.2s. Highest rank in rank-based complementation 0. Minimization of det autom 2. Minimization of nondet autom 0. Automata minimization 42.9ms AutomataMinimizationTime, 2 MinimizatonAttempts, 246 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 303 states and ocurred in iteration 2. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 408 SDtfs, 1170 SDslu, 1228 SDs, 0 SdLazy, 139 SolverSat, 28 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 271.3ms Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc2 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 829]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=26882} State at position 1 is {NULL=0, NULL=0, NULL=0, NULL=26882, NULL=54121, NULL=0, retValue_acc=0, NULL=0, NULL=54125, NULL=50232, NULL=0, methaneLevelCritical=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3f4d6752=0, NULL=50228, retValue_acc=1, tmp=1, NULL=0, NULL=0, tmp=0, tmp=0, NULL=0, tmp___1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3babc047=0, NULL=50233, NULL=0, NULL=0, NULL=54117, NULL=50231, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5adf130=0, NULL=50229, cleanupTimeShifts=4, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@29dd4c10=0, NULL=26884, switchedOnBeforeTS=0, NULL=54129, NULL=54119, \result=0, NULL=0, NULL=0, NULL=0, NULL=0, systemActive=1, waterLevel=1, NULL=54123, \result=1, NULL=0, NULL=0, NULL=0, NULL=54115, NULL=0, NULL=54128, \result=1, head=0, pumpRunning=0, tmp___0=0, NULL=54116, NULL=50234, \result=0, tmp=1, NULL=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2eda9542=0, NULL=0, NULL=0, NULL=50224, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6dfdb0cc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1494877=38, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@e64cc0c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3af9fc7=0, NULL=54124, NULL=54122, NULL=0, NULL=54130, tmp___2=38, retValue_acc=1, NULL=50230, tmp___0=0, NULL=50223, splverifierCounter=0, NULL=0, NULL=0, NULL=54127, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@220aaa5e=0, NULL=54120, head=0, NULL=0, NULL=0, tmp=0, NULL=54126, NULL=0, NULL=0, NULL=26883, retValue_acc=0, NULL=54131, NULL=54118} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 1]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L211] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L424] int waterLevel = 1; [L425] int methaneLevelCritical = 0; [L513] int cleanupTimeShifts = 4; [L621] int pumpRunning = 0; [L622] int systemActive = 1; [L921] int switchedOnBeforeTS ; [L594] int retValue_acc ; [L595] int tmp ; [L912] int retValue_acc ; [L915] retValue_acc = 1 [L916] return (retValue_acc); [L601] tmp = valid_product() [L603] COND TRUE \read(tmp) [L926] switchedOnBeforeTS = 0 [L820] int splverifierCounter ; [L821] int tmp ; [L822] int tmp___0 ; [L823] int tmp___1 ; [L824] int tmp___2 ; [L827] splverifierCounter = 0 Loop: [L829] COND TRUE 1 [L831] COND TRUE splverifierCounter < 4 [L837] tmp = __VERIFIER_nondet_int() [L839] COND FALSE !(\read(tmp)) [L847] tmp___0 = __VERIFIER_nondet_int() [L849] COND FALSE !(\read(tmp___0)) [L857] tmp___2 = __VERIFIER_nondet_int() [L859] COND TRUE \read(tmp___2) [L740] int retValue_acc ; [L743] retValue_acc = pumpRunning [L744] return (retValue_acc); [L935] switchedOnBeforeTS = isPumpRunning() [L633] COND FALSE !(\read(pumpRunning)) [L640] COND TRUE \read(systemActive) [L688] int tmp ; [L691] COND FALSE !(\read(pumpRunning)) [L662] int tmp ; [L665] COND FALSE !(\read(pumpRunning)) [L941] int tmp ; [L942] int tmp___0 ; [L495] int retValue_acc ; [L498] retValue_acc = waterLevel [L499] return (retValue_acc); [L946] tmp = getWaterLevel() [L948] COND TRUE tmp != 2 [L740] int retValue_acc ; [L743] retValue_acc = pumpRunning [L744] return (retValue_acc); [L950] tmp___0 = isPumpRunning() [L952] COND FALSE !(\read(tmp___0)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-08-27 16:24:04,948 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...