./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/product-lines/minepump_spec4_product02.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 3289d67d Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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_product02.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 --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 8ef3a2966212a62c51376d0bc71e8b6c4dafa6b54b639f6f7c53dd815ae9709e --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-3289d67-m [2024-11-17 08:47:34,295 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-17 08:47:34,371 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2024-11-17 08:47:34,376 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-17 08:47:34,376 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-17 08:47:34,376 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder.Remove goto edges from RCFG [2024-11-17 08:47:34,408 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-17 08:47:34,408 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-17 08:47:34,409 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-17 08:47:34,410 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-17 08:47:34,411 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-17 08:47:34,411 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-17 08:47:34,412 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-17 08:47:34,412 INFO L153 SettingsManager]: * Use SBE=true [2024-11-17 08:47:34,415 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2024-11-17 08:47:34,415 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2024-11-17 08:47:34,415 INFO L153 SettingsManager]: * Use old map elimination=false [2024-11-17 08:47:34,416 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2024-11-17 08:47:34,416 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2024-11-17 08:47:34,416 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2024-11-17 08:47:34,416 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-17 08:47:34,420 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2024-11-17 08:47:34,421 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-17 08:47:34,421 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-17 08:47:34,421 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-17 08:47:34,421 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-17 08:47:34,421 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2024-11-17 08:47:34,422 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2024-11-17 08:47:34,422 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2024-11-17 08:47:34,422 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-17 08:47:34,422 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-17 08:47:34,423 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-17 08:47:34,423 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-17 08:47:34,423 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2024-11-17 08:47:34,423 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-17 08:47:34,424 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-17 08:47:34,424 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-17 08:47:34,426 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-17 08:47:34,427 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-17 08:47:34,427 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2024-11-17 08:47:34,427 INFO L153 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/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 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 -> 8ef3a2966212a62c51376d0bc71e8b6c4dafa6b54b639f6f7c53dd815ae9709e [2024-11-17 08:47:34,690 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-17 08:47:34,715 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-17 08:47:34,718 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-17 08:47:34,719 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-17 08:47:34,720 INFO L274 PluginConnector]: CDTParser initialized [2024-11-17 08:47:34,721 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/product-lines/minepump_spec4_product02.cil.c [2024-11-17 08:47:36,214 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-17 08:47:36,463 INFO L384 CDTParser]: Found 1 translation units. [2024-11-17 08:47:36,463 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/product-lines/minepump_spec4_product02.cil.c [2024-11-17 08:47:36,475 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d58692f1d/a6bdc4741040440b9b93206275dad8f7/FLAG979c7f478 [2024-11-17 08:47:36,488 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d58692f1d/a6bdc4741040440b9b93206275dad8f7 [2024-11-17 08:47:36,490 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-17 08:47:36,493 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-17 08:47:36,494 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-17 08:47:36,494 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-17 08:47:36,498 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-17 08:47:36,499 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:36,499 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@501b1eed and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36, skipping insertion in model container [2024-11-17 08:47:36,500 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:36,544 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-17 08:47:36,821 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 08:47:36,840 INFO L200 MainTranslator]: Completed pre-run [2024-11-17 08:47:36,849 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"wsllib_check.i","") [49] [2024-11-17 08:47:36,851 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"featureselect.i","") [58] [2024-11-17 08:47:36,851 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"MinePump.i","") [96] [2024-11-17 08:47:36,852 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"scenario.i","") [221] [2024-11-17 08:47:36,852 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Environment.i","") [291] [2024-11-17 08:47:36,852 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Specification4_spec.i","") [372] [2024-11-17 08:47:36,852 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"libacc.i","") [398] [2024-11-17 08:47:36,852 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring preprocessor pragma C: #pragma merger(0,"Test.i","") [764] [2024-11-17 08:47:36,906 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 08:47:36,926 INFO L204 MainTranslator]: Completed translation [2024-11-17 08:47:36,927 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36 WrapperNode [2024-11-17 08:47:36,927 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-17 08:47:36,928 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-17 08:47:36,928 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-17 08:47:36,928 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-17 08:47:36,935 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:36,960 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:36,991 INFO L138 Inliner]: procedures = 50, calls = 90, calls flagged for inlining = 43, calls inlined = 36, statements flattened = 229 [2024-11-17 08:47:36,992 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-17 08:47:36,992 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-17 08:47:36,992 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-17 08:47:36,993 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-17 08:47:37,012 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,012 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,014 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,047 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-11-17 08:47:37,047 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,047 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,055 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,056 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,061 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,063 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,068 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-17 08:47:37,068 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-17 08:47:37,069 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-17 08:47:37,069 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-17 08:47:37,069 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (1/1) ... [2024-11-17 08:47:37,075 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-11-17 08:47:37,087 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-17 08:47:37,106 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) [2024-11-17 08:47:37,108 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 [2024-11-17 08:47:37,147 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-17 08:47:37,147 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-17 08:47:37,147 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-17 08:47:37,148 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-17 08:47:37,212 INFO L256 CfgBuilder]: Building ICFG [2024-11-17 08:47:37,214 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-17 08:47:37,445 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L93-1: valid_product_#res#1 := valid_product_~retValue_acc~1#1; [2024-11-17 08:47:37,445 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L369-1: getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~5#1; [2024-11-17 08:47:37,445 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L369-3: getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~5#1; [2024-11-17 08:47:37,445 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L369-5: getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~5#1; [2024-11-17 08:47:37,445 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L857-1: main_#res#1 := main_~retValue_acc~9#1; [2024-11-17 08:47:37,446 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L174-1: isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~3#1; [2024-11-17 08:47:37,446 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L174-3: isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~3#1; [2024-11-17 08:47:37,446 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L174-5: isPumpRunning_#res#1 := isPumpRunning_~retValue_acc~3#1; [2024-11-17 08:47:37,471 INFO L? ?]: Removed 43 outVars from TransFormulas that were not future-live. [2024-11-17 08:47:37,474 INFO L307 CfgBuilder]: Performing block encoding [2024-11-17 08:47:37,491 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-17 08:47:37,492 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-17 08:47:37,492 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 08:47:37 BoogieIcfgContainer [2024-11-17 08:47:37,492 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-17 08:47:37,493 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2024-11-17 08:47:37,494 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2024-11-17 08:47:37,498 INFO L274 PluginConnector]: BuchiAutomizer initialized [2024-11-17 08:47:37,499 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-17 08:47:37,500 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 17.11 08:47:36" (1/3) ... [2024-11-17 08:47:37,501 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1655a285 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.11 08:47:37, skipping insertion in model container [2024-11-17 08:47:37,501 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-17 08:47:37,501 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 08:47:36" (2/3) ... [2024-11-17 08:47:37,502 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1655a285 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.11 08:47:37, skipping insertion in model container [2024-11-17 08:47:37,502 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-17 08:47:37,502 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 08:47:37" (3/3) ... [2024-11-17 08:47:37,505 INFO L332 chiAutomizerObserver]: Analyzing ICFG minepump_spec4_product02.cil.c [2024-11-17 08:47:37,578 INFO L300 stractBuchiCegarLoop]: Interprodecural is true [2024-11-17 08:47:37,578 INFO L301 stractBuchiCegarLoop]: Hoare is None [2024-11-17 08:47:37,578 INFO L302 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2024-11-17 08:47:37,579 INFO L303 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2024-11-17 08:47:37,579 INFO L304 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2024-11-17 08:47:37,579 INFO L305 stractBuchiCegarLoop]: Difference is false [2024-11-17 08:47:37,579 INFO L306 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2024-11-17 08:47:37,579 INFO L310 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2024-11-17 08:47:37,584 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 81 states, 80 states have (on average 1.35) internal successors, (108), 80 states have internal predecessors, (108), 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) [2024-11-17 08:47:37,605 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 50 [2024-11-17 08:47:37,607 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-17 08:47:37,607 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-17 08:47:37,613 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2024-11-17 08:47:37,613 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-17 08:47:37,613 INFO L332 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2024-11-17 08:47:37,614 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 81 states, 80 states have (on average 1.35) internal successors, (108), 80 states have internal predecessors, (108), 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) [2024-11-17 08:47:37,619 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 50 [2024-11-17 08:47:37,619 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-17 08:47:37,619 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-17 08:47:37,620 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2024-11-17 08:47:37,620 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-17 08:47:37,625 INFO L745 eck$LassoCheckResult]: Stem: 67#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(31, 2);call #Ultimate.allocInit(12, 3);call #Ultimate.allocInit(30, 4);call #Ultimate.allocInit(9, 5);call #Ultimate.allocInit(21, 6);call #Ultimate.allocInit(30, 7);call #Ultimate.allocInit(9, 8);call #Ultimate.allocInit(21, 9);call #Ultimate.allocInit(30, 10);call #Ultimate.allocInit(9, 11);call #Ultimate.allocInit(25, 12);call #Ultimate.allocInit(30, 13);call #Ultimate.allocInit(9, 14);call #Ultimate.allocInit(25, 15);~pumpRunning~0 := 0;~systemActive~0 := 1;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~cleanupTimeShifts~0 := 4; 32#ULTIMATE.init_returnLabel#1true assume true;assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret48#1, main_~retValue_acc~9#1, main_~tmp~5#1;havoc main_~retValue_acc~9#1;havoc main_~tmp~5#1;assume { :begin_inline_select_helpers } true; 65#L84true assume true;assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 8#L77true assume true;assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~1#1;havoc valid_product_~retValue_acc~1#1;valid_product_~retValue_acc~1#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~1#1; 57#L92true assume true;main_#t~ret48#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~1#1;assume { :end_inline_valid_product } true;main_~tmp~5#1 := main_#t~ret48#1;havoc main_#t~ret48#1; 51#L847true assume 0 != main_~tmp~5#1;assume { :begin_inline_setup } true; 41#L824true assume true;assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet14#1, test_#t~nondet15#1, test_#t~nondet16#1, test_#t~nondet17#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; 59#L235true [2024-11-17 08:47:37,626 INFO L747 eck$LassoCheckResult]: Loop: 59#L235true assume true; 43#L235-1true assume !false; 16#test_while_0_continue#1true assume true; 46#L237true assume test_~splverifierCounter~0#1 < 4;havoc test_#t~nondet14#1;test_~tmp~0#1 := test_#t~nondet14#1;havoc test_#t~nondet14#1; 34#L245true assume !(0 != test_~tmp~0#1); 20#L253true havoc test_#t~nondet15#1;test_~tmp___0~0#1 := test_#t~nondet15#1;havoc test_#t~nondet15#1; 21#L255true assume !(0 != test_~tmp___0~0#1); 74#L263true havoc test_#t~nondet16#1;test_~tmp___2~0#1 := test_#t~nondet16#1;havoc test_#t~nondet16#1; 3#L265true assume !(0 != test_~tmp___2~0#1);havoc test_#t~nondet17#1;test_~tmp___1~0#1 := test_#t~nondet17#1;havoc test_#t~nondet17#1; 75#L273true assume 0 != test_~tmp___1~0#1; 29#L280true assume { :begin_inline_timeShift } true; 52#L114-2true assume !(0 != ~pumpRunning~0); 7#L121-2true assume !(0 != ~systemActive~0); 14#L129-2true assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_#t~ret24#1, __utac_acc__Specification4_spec__1_~tmp~1#1, __utac_acc__Specification4_spec__1_~tmp___0~1#1;havoc __utac_acc__Specification4_spec__1_~tmp~1#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~1#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~5#1;havoc getWaterLevel_~retValue_acc~5#1;getWaterLevel_~retValue_acc~5#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~5#1; 72#L368-2true assume true;__utac_acc__Specification4_spec__1_#t~ret23#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~5#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~1#1 := __utac_acc__Specification4_spec__1_#t~ret23#1;havoc __utac_acc__Specification4_spec__1_#t~ret23#1; 17#L381-2true assume !(0 == __utac_acc__Specification4_spec__1_~tmp~1#1); 13#L395-2true assume true;havoc __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_#t~ret24#1, __utac_acc__Specification4_spec__1_~tmp~1#1, __utac_acc__Specification4_spec__1_~tmp___0~1#1;assume { :end_inline___utac_acc__Specification4_spec__1 } true; 36#L131-2true assume true;assume { :end_inline_timeShift } true; 59#L235true [2024-11-17 08:47:37,632 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 08:47:37,635 INFO L85 PathProgramCache]: Analyzing trace with hash -1878660777, now seen corresponding path program 1 times [2024-11-17 08:47:37,642 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 08:47:37,643 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1776612217] [2024-11-17 08:47:37,643 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 08:47:37,643 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 08:47:37,751 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:37,751 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 08:47:37,764 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:37,782 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-17 08:47:37,785 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 08:47:37,785 INFO L85 PathProgramCache]: Analyzing trace with hash 668843721, now seen corresponding path program 1 times [2024-11-17 08:47:37,785 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 08:47:37,786 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [754510812] [2024-11-17 08:47:37,786 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 08:47:37,786 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 08:47:37,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:37,803 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 08:47:37,812 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:37,817 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-17 08:47:37,822 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 08:47:37,822 INFO L85 PathProgramCache]: Analyzing trace with hash -891797857, now seen corresponding path program 1 times [2024-11-17 08:47:37,823 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 08:47:37,823 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1189675937] [2024-11-17 08:47:37,824 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 08:47:37,824 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 08:47:37,843 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-17 08:47:37,953 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-17 08:47:37,953 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-17 08:47:37,953 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1189675937] [2024-11-17 08:47:37,954 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1189675937] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-17 08:47:37,954 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-17 08:47:37,955 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-17 08:47:37,955 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1485994447] [2024-11-17 08:47:37,956 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-17 08:47:38,072 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-17 08:47:38,110 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-17 08:47:38,111 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-17 08:47:38,113 INFO L87 Difference]: Start difference. First operand has 81 states, 80 states have (on average 1.35) internal successors, (108), 80 states have internal predecessors, (108), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 3 states have (on average 8.333333333333334) internal successors, (25), 2 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-17 08:47:38,136 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-17 08:47:38,136 INFO L93 Difference]: Finished difference Result 75 states and 92 transitions. [2024-11-17 08:47:38,137 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 75 states and 92 transitions. [2024-11-17 08:47:38,141 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 44 [2024-11-17 08:47:38,147 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 75 states to 64 states and 80 transitions. [2024-11-17 08:47:38,148 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 64 [2024-11-17 08:47:38,149 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 64 [2024-11-17 08:47:38,149 INFO L73 IsDeterministic]: Start isDeterministic. Operand 64 states and 80 transitions. [2024-11-17 08:47:38,149 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-11-17 08:47:38,150 INFO L218 hiAutomatonCegarLoop]: Abstraction has 64 states and 80 transitions. [2024-11-17 08:47:38,162 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 64 states and 80 transitions. [2024-11-17 08:47:38,169 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 64 to 64. [2024-11-17 08:47:38,170 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 64 states, 64 states have (on average 1.25) internal successors, (80), 63 states have internal predecessors, (80), 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) [2024-11-17 08:47:38,170 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 64 states to 64 states and 80 transitions. [2024-11-17 08:47:38,171 INFO L240 hiAutomatonCegarLoop]: Abstraction has 64 states and 80 transitions. [2024-11-17 08:47:38,177 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-17 08:47:38,179 INFO L425 stractBuchiCegarLoop]: Abstraction has 64 states and 80 transitions. [2024-11-17 08:47:38,179 INFO L332 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2024-11-17 08:47:38,180 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 64 states and 80 transitions. [2024-11-17 08:47:38,181 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 44 [2024-11-17 08:47:38,181 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-17 08:47:38,181 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-17 08:47:38,181 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2024-11-17 08:47:38,181 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-17 08:47:38,182 INFO L745 eck$LassoCheckResult]: Stem: 228#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(31, 2);call #Ultimate.allocInit(12, 3);call #Ultimate.allocInit(30, 4);call #Ultimate.allocInit(9, 5);call #Ultimate.allocInit(21, 6);call #Ultimate.allocInit(30, 7);call #Ultimate.allocInit(9, 8);call #Ultimate.allocInit(21, 9);call #Ultimate.allocInit(30, 10);call #Ultimate.allocInit(9, 11);call #Ultimate.allocInit(25, 12);call #Ultimate.allocInit(30, 13);call #Ultimate.allocInit(9, 14);call #Ultimate.allocInit(25, 15);~pumpRunning~0 := 0;~systemActive~0 := 1;~waterLevel~0 := 1;~methaneLevelCritical~0 := 0;~head~0.base, ~head~0.offset := 0, 0;~cleanupTimeShifts~0 := 4; 206#ULTIMATE.init_returnLabel#1 assume true;assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~ret48#1, main_~retValue_acc~9#1, main_~tmp~5#1;havoc main_~retValue_acc~9#1;havoc main_~tmp~5#1;assume { :begin_inline_select_helpers } true; 207#L84 assume true;assume { :end_inline_select_helpers } true;assume { :begin_inline_select_features } true; 178#L77 assume true;assume { :end_inline_select_features } true;assume { :begin_inline_valid_product } true;havoc valid_product_#res#1;havoc valid_product_~retValue_acc~1#1;havoc valid_product_~retValue_acc~1#1;valid_product_~retValue_acc~1#1 := 1;valid_product_#res#1 := valid_product_~retValue_acc~1#1; 179#L92 assume true;main_#t~ret48#1 := valid_product_#res#1;havoc valid_product_~retValue_acc~1#1;assume { :end_inline_valid_product } true;main_~tmp~5#1 := main_#t~ret48#1;havoc main_#t~ret48#1; 222#L847 assume 0 != main_~tmp~5#1;assume { :begin_inline_setup } true; 214#L824 assume true;assume { :end_inline_setup } true;assume { :begin_inline_runTest } true;assume { :begin_inline_test } true;havoc test_#t~nondet14#1, test_#t~nondet15#1, test_#t~nondet16#1, test_#t~nondet17#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; 211#L235 [2024-11-17 08:47:38,182 INFO L747 eck$LassoCheckResult]: Loop: 211#L235 assume true; 217#L235-1 assume !false; 184#test_while_0_continue#1 assume true; 185#L237 assume test_~splverifierCounter~0#1 < 4;havoc test_#t~nondet14#1;test_~tmp~0#1 := test_#t~nondet14#1;havoc test_#t~nondet14#1; 209#L245 assume !(0 != test_~tmp~0#1); 191#L253 havoc test_#t~nondet15#1;test_~tmp___0~0#1 := test_#t~nondet15#1;havoc test_#t~nondet15#1; 192#L255 assume !(0 != test_~tmp___0~0#1); 193#L263 havoc test_#t~nondet16#1;test_~tmp___2~0#1 := test_#t~nondet16#1;havoc test_#t~nondet16#1; 167#L265 assume 0 != test_~tmp___2~0#1;assume { :begin_inline_startSystem } true;~systemActive~0 := 1; 168#L218 assume true;assume { :end_inline_startSystem } true; 202#L280 assume { :begin_inline_timeShift } true; 203#L114-2 assume !(0 != ~pumpRunning~0); 176#L121-2 assume 0 != ~systemActive~0;assume { :begin_inline_processEnvironment } true; 177#L138-2 assume true;assume { :end_inline_processEnvironment } true; 182#L129-2 assume { :begin_inline___utac_acc__Specification4_spec__1 } true;havoc __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_#t~ret24#1, __utac_acc__Specification4_spec__1_~tmp~1#1, __utac_acc__Specification4_spec__1_~tmp___0~1#1;havoc __utac_acc__Specification4_spec__1_~tmp~1#1;havoc __utac_acc__Specification4_spec__1_~tmp___0~1#1;assume { :begin_inline_getWaterLevel } true;havoc getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~5#1;havoc getWaterLevel_~retValue_acc~5#1;getWaterLevel_~retValue_acc~5#1 := ~waterLevel~0;getWaterLevel_#res#1 := getWaterLevel_~retValue_acc~5#1; 183#L368-2 assume true;__utac_acc__Specification4_spec__1_#t~ret23#1 := getWaterLevel_#res#1;havoc getWaterLevel_~retValue_acc~5#1;assume { :end_inline_getWaterLevel } true;__utac_acc__Specification4_spec__1_~tmp~1#1 := __utac_acc__Specification4_spec__1_#t~ret23#1;havoc __utac_acc__Specification4_spec__1_#t~ret23#1; 186#L381-2 assume !(0 == __utac_acc__Specification4_spec__1_~tmp~1#1); 180#L395-2 assume true;havoc __utac_acc__Specification4_spec__1_#t~ret23#1, __utac_acc__Specification4_spec__1_#t~ret24#1, __utac_acc__Specification4_spec__1_~tmp~1#1, __utac_acc__Specification4_spec__1_~tmp___0~1#1;assume { :end_inline___utac_acc__Specification4_spec__1 } true; 181#L131-2 assume true;assume { :end_inline_timeShift } true; 211#L235 [2024-11-17 08:47:38,182 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 08:47:38,182 INFO L85 PathProgramCache]: Analyzing trace with hash -1878660777, now seen corresponding path program 2 times [2024-11-17 08:47:38,182 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 08:47:38,182 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1681694116] [2024-11-17 08:47:38,183 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 08:47:38,183 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 08:47:38,192 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:38,193 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 08:47:38,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:38,211 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-17 08:47:38,212 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 08:47:38,212 INFO L85 PathProgramCache]: Analyzing trace with hash 89608152, now seen corresponding path program 1 times [2024-11-17 08:47:38,213 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 08:47:38,213 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1533930733] [2024-11-17 08:47:38,213 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 08:47:38,213 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 08:47:38,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:38,226 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 08:47:38,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:38,239 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-17 08:47:38,240 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 08:47:38,240 INFO L85 PathProgramCache]: Analyzing trace with hash -1045640510, now seen corresponding path program 1 times [2024-11-17 08:47:38,241 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 08:47:38,241 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2033334789] [2024-11-17 08:47:38,241 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 08:47:38,241 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 08:47:38,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:38,256 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 08:47:38,265 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:38,269 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-17 08:47:39,201 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:39,201 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 08:47:39,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 08:47:39,258 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 17.11 08:47:39 BoogieIcfgContainer [2024-11-17 08:47:39,258 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2024-11-17 08:47:39,259 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-17 08:47:39,259 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-17 08:47:39,261 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-17 08:47:39,262 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 08:47:37" (3/4) ... [2024-11-17 08:47:39,265 INFO L140 WitnessPrinter]: Generating witness for non-termination counterexample [2024-11-17 08:47:39,310 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-11-17 08:47:39,310 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-17 08:47:39,311 INFO L158 Benchmark]: Toolchain (without parser) took 2817.65ms. Allocated memory was 146.8MB in the beginning and 182.5MB in the end (delta: 35.7MB). Free memory was 90.5MB in the beginning and 84.5MB in the end (delta: 5.9MB). Peak memory consumption was 42.3MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,311 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 146.8MB. Free memory is still 106.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 08:47:39,311 INFO L158 Benchmark]: CACSL2BoogieTranslator took 433.35ms. Allocated memory is still 146.8MB. Free memory was 90.5MB in the beginning and 69.8MB in the end (delta: 20.7MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,312 INFO L158 Benchmark]: Boogie Procedure Inliner took 63.58ms. Allocated memory is still 146.8MB. Free memory was 69.8MB in the beginning and 116.9MB in the end (delta: -47.1MB). Peak memory consumption was 7.4MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,312 INFO L158 Benchmark]: Boogie Preprocessor took 75.43ms. Allocated memory was 146.8MB in the beginning and 182.5MB in the end (delta: 35.7MB). Free memory was 116.9MB in the beginning and 153.8MB in the end (delta: -36.9MB). Peak memory consumption was 2.4MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,313 INFO L158 Benchmark]: IcfgBuilder took 423.94ms. Allocated memory is still 182.5MB. Free memory was 153.8MB in the beginning and 135.9MB in the end (delta: 17.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,313 INFO L158 Benchmark]: BuchiAutomizer took 1765.17ms. Allocated memory is still 182.5MB. Free memory was 135.9MB in the beginning and 86.6MB in the end (delta: 49.3MB). Peak memory consumption was 47.3MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,314 INFO L158 Benchmark]: Witness Printer took 51.32ms. Allocated memory is still 182.5MB. Free memory was 86.6MB in the beginning and 84.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-17 08:47:39,316 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.13ms. Allocated memory is still 146.8MB. Free memory is still 106.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 433.35ms. Allocated memory is still 146.8MB. Free memory was 90.5MB in the beginning and 69.8MB in the end (delta: 20.7MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 63.58ms. Allocated memory is still 146.8MB. Free memory was 69.8MB in the beginning and 116.9MB in the end (delta: -47.1MB). Peak memory consumption was 7.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 75.43ms. Allocated memory was 146.8MB in the beginning and 182.5MB in the end (delta: 35.7MB). Free memory was 116.9MB in the beginning and 153.8MB in the end (delta: -36.9MB). Peak memory consumption was 2.4MB. Max. memory is 16.1GB. * IcfgBuilder took 423.94ms. Allocated memory is still 182.5MB. Free memory was 153.8MB in the beginning and 135.9MB in the end (delta: 17.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * BuchiAutomizer took 1765.17ms. Allocated memory is still 182.5MB. Free memory was 135.9MB in the beginning and 86.6MB in the end (delta: 49.3MB). Peak memory consumption was 47.3MB. Max. memory is 16.1GB. * Witness Printer took 51.32ms. Allocated memory is still 182.5MB. Free memory was 86.6MB in the beginning and 84.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 49]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"wsllib_check.i","") [49] - GenericResultAtLocation [Line: 58]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"featureselect.i","") [58] - GenericResultAtLocation [Line: 96]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"MinePump.i","") [96] - GenericResultAtLocation [Line: 221]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"scenario.i","") [221] - GenericResultAtLocation [Line: 291]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Environment.i","") [291] - GenericResultAtLocation [Line: 372]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Specification4_spec.i","") [372] - GenericResultAtLocation [Line: 398]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"libacc.i","") [398] - GenericResultAtLocation [Line: 764]: Unsoundness Warning Ignoring preprocessor pragma C: #pragma merger(0,"Test.i","") [764] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 1 terminating modules (1 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.1 modules have a trivial ranking function, the largest among these consists of 3 locations. The remainder module has 64 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 1.6s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 1.4s. Construction of modules took 0.0s. Büchi inclusion checks took 0.1s. Highest rank in rank-based complementation 0. Minimization of det autom 1. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 1 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, 72 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 72 mSDsluCounter, 89 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 89 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI0 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 - LassoShapedNonTerminationArgument [Line: 235]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite program execution. Stem: [L106] int pumpRunning = 0; [L107] int systemActive = 1; [L293] int waterLevel = 1; [L294] int methaneLevelCritical = 0; [L568] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L765] int cleanupTimeShifts = 4; VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, systemActive=1, waterLevel=1] [L838] int retValue_acc ; [L839] int tmp ; [L843] FCALL select_helpers() [L844] FCALL select_features() [L845] CALL, EXPR valid_product() [L88] int retValue_acc ; [L91] retValue_acc = 1 [L92] return (retValue_acc); VAL [\result=1, cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, systemActive=1, waterLevel=1] [L845] RET, EXPR valid_product() [L845] tmp = valid_product() [L847] COND TRUE \read(tmp) [L849] FCALL setup() [L850] CALL runTest() [L832] CALL test() [L226] int splverifierCounter ; [L227] int tmp ; [L228] int tmp___0 ; [L229] int tmp___1 ; [L230] int tmp___2 ; [L233] splverifierCounter = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, splverifierCounter=0, systemActive=1, waterLevel=1] Loop: [L235] COND TRUE 1 [L237] COND TRUE splverifierCounter < 4 [L243] tmp = __VERIFIER_nondet_int() [L245] COND FALSE !(\read(tmp)) [L253] tmp___0 = __VERIFIER_nondet_int() [L255] COND FALSE !(\read(tmp___0)) [L263] tmp___2 = __VERIFIER_nondet_int() [L265] COND TRUE \read(tmp___2) [L267] CALL startSystem() [L217] systemActive = 1 [L267] RET startSystem() [L280] CALL timeShift() [L114] COND FALSE !(\read(pumpRunning)) [L121] COND TRUE \read(systemActive) [L123] FCALL processEnvironment() [L129] CALL __utac_acc__Specification4_spec__1() [L374] int tmp ; [L375] int tmp___0 ; [L379] CALL, EXPR getWaterLevel() [L364] int retValue_acc ; [L367] retValue_acc = waterLevel [L368] return (retValue_acc); [L379] RET, EXPR getWaterLevel() [L379] tmp = getWaterLevel() [L381] COND FALSE !(tmp == 0) [L129] RET __utac_acc__Specification4_spec__1() [L280] RET timeShift() End of lasso representation. - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 235]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L106] int pumpRunning = 0; [L107] int systemActive = 1; [L293] int waterLevel = 1; [L294] int methaneLevelCritical = 0; [L568] static struct __ACC__ERR *head = (struct __ACC__ERR *)0; [L765] int cleanupTimeShifts = 4; VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, systemActive=1, waterLevel=1] [L838] int retValue_acc ; [L839] int tmp ; [L843] FCALL select_helpers() [L844] FCALL select_features() [L845] CALL, EXPR valid_product() [L88] int retValue_acc ; [L91] retValue_acc = 1 [L92] return (retValue_acc); VAL [\result=1, cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, systemActive=1, waterLevel=1] [L845] RET, EXPR valid_product() [L845] tmp = valid_product() [L847] COND TRUE \read(tmp) [L849] FCALL setup() [L850] CALL runTest() [L832] CALL test() [L226] int splverifierCounter ; [L227] int tmp ; [L228] int tmp___0 ; [L229] int tmp___1 ; [L230] int tmp___2 ; [L233] splverifierCounter = 0 VAL [cleanupTimeShifts=4, head={0:0}, methaneLevelCritical=0, pumpRunning=0, splverifierCounter=0, systemActive=1, waterLevel=1] Loop: [L235] COND TRUE 1 [L237] COND TRUE splverifierCounter < 4 [L243] tmp = __VERIFIER_nondet_int() [L245] COND FALSE !(\read(tmp)) [L253] tmp___0 = __VERIFIER_nondet_int() [L255] COND FALSE !(\read(tmp___0)) [L263] tmp___2 = __VERIFIER_nondet_int() [L265] COND TRUE \read(tmp___2) [L267] CALL startSystem() [L217] systemActive = 1 [L267] RET startSystem() [L280] CALL timeShift() [L114] COND FALSE !(\read(pumpRunning)) [L121] COND TRUE \read(systemActive) [L123] FCALL processEnvironment() [L129] CALL __utac_acc__Specification4_spec__1() [L374] int tmp ; [L375] int tmp___0 ; [L379] CALL, EXPR getWaterLevel() [L364] int retValue_acc ; [L367] retValue_acc = waterLevel [L368] return (retValue_acc); [L379] RET, EXPR getWaterLevel() [L379] tmp = getWaterLevel() [L381] COND FALSE !(tmp == 0) [L129] RET __utac_acc__Specification4_spec__1() [L280] RET timeShift() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2024-11-17 08:47:39,351 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)