java -ea -Xmx8000000000 -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc ../../../trunk/examples/toolchains/AutomizerCInline_WitnessPrinter.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -i ../../../trunk/examples/svcomp/ldv-regression/stateful_check_false-unreach-call_false-termination.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 12:53:39,556 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 12:53:39,558 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 12:53:39,571 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 12:53:39,572 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 12:53:39,573 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 12:53:39,574 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 12:53:39,576 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 12:53:39,578 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 12:53:39,579 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 12:53:39,580 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 12:53:39,580 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 12:53:39,581 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 12:53:39,583 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 12:53:39,584 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 12:53:39,585 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 12:53:39,590 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 12:53:39,592 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 12:53:39,595 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 12:53:39,598 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 12:53:39,600 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 12:53:39,602 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 12:53:39,607 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 12:53:39,607 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 12:53:39,607 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 12:53:39,608 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 12:53:39,609 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 12:53:39,612 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 12:53:39,613 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 12:53:39,614 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 12:53:39,614 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 12:53:39,615 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 12:53:39,615 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 12:53:39,615 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 12:53:39,618 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 12:53:39,618 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 12:53:39,620 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 12:53:39,645 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 12:53:39,646 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 12:53:39,647 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 12:53:39,647 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 12:53:39,648 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 12:53:39,648 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 12:53:39,648 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 12:53:39,650 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 12:53:39,650 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 12:53:39,650 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 12:53:39,650 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 12:53:39,650 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 12:53:39,651 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 12:53:39,651 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 12:53:39,651 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 12:53:39,651 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 12:53:39,651 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 12:53:39,652 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 12:53:39,652 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 12:53:39,652 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 12:53:39,652 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 12:53:39,654 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 12:53:39,654 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 12:53:39,654 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 12:53:39,654 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 12:53:39,655 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 12:53:39,655 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 12:53:39,655 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 12:53:39,655 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 12:53:39,655 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 12:53:39,656 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 12:53:39,720 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 12:53:39,737 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 12:53:39,742 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 12:53:39,743 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 12:53:39,744 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 12:53:39,744 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/stateful_check_false-unreach-call_false-termination.i [2018-11-23 12:53:39,809 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a34c976b/5231d9653b4f4ef19a4dcce2e940cc66/FLAG94c8c2dca [2018-11-23 12:53:40,260 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 12:53:40,261 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/stateful_check_false-unreach-call_false-termination.i [2018-11-23 12:53:40,269 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a34c976b/5231d9653b4f4ef19a4dcce2e940cc66/FLAG94c8c2dca [2018-11-23 12:53:40,644 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a34c976b/5231d9653b4f4ef19a4dcce2e940cc66 [2018-11-23 12:53:40,656 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 12:53:40,658 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 12:53:40,659 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 12:53:40,659 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 12:53:40,663 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 12:53:40,665 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 12:53:40" (1/1) ... [2018-11-23 12:53:40,668 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@eca8b9a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:40, skipping insertion in model container [2018-11-23 12:53:40,669 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 12:53:40" (1/1) ... [2018-11-23 12:53:40,680 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 12:53:40,707 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 12:53:40,940 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 12:53:40,943 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 12:53:40,979 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 12:53:41,008 INFO L195 MainTranslator]: Completed translation [2018-11-23 12:53:41,009 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41 WrapperNode [2018-11-23 12:53:41,009 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 12:53:41,010 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 12:53:41,012 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 12:53:41,012 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 12:53:41,022 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,028 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,035 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 12:53:41,035 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 12:53:41,035 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 12:53:41,036 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 12:53:41,043 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,044 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,045 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,046 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,055 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,063 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,065 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... [2018-11-23 12:53:41,067 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 12:53:41,068 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 12:53:41,068 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 12:53:41,068 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 12:53:41,069 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 12:53:41,205 INFO L130 BoogieDeclarations]: Found specification of procedure misc_read [2018-11-23 12:53:41,206 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_read [2018-11-23 12:53:41,206 INFO L130 BoogieDeclarations]: Found specification of procedure misc_release [2018-11-23 12:53:41,206 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_release [2018-11-23 12:53:41,206 INFO L130 BoogieDeclarations]: Found specification of procedure check_final_state [2018-11-23 12:53:41,206 INFO L138 BoogieDeclarations]: Found implementation of procedure check_final_state [2018-11-23 12:53:41,207 INFO L130 BoogieDeclarations]: Found specification of procedure __blast_assert [2018-11-23 12:53:41,207 INFO L138 BoogieDeclarations]: Found implementation of procedure __blast_assert [2018-11-23 12:53:41,207 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 12:53:41,207 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 12:53:41,207 INFO L130 BoogieDeclarations]: Found specification of procedure my_init [2018-11-23 12:53:41,207 INFO L138 BoogieDeclarations]: Found implementation of procedure my_init [2018-11-23 12:53:41,208 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_unlock [2018-11-23 12:53:41,208 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_unlock [2018-11-23 12:53:41,208 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 12:53:41,208 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 12:53:41,208 INFO L130 BoogieDeclarations]: Found specification of procedure misc_open [2018-11-23 12:53:41,208 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_open [2018-11-23 12:53:41,209 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2018-11-23 12:53:41,209 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2018-11-23 12:53:41,209 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 12:53:41,209 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 12:53:41,209 INFO L130 BoogieDeclarations]: Found specification of procedure misc_llseek [2018-11-23 12:53:41,209 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_llseek [2018-11-23 12:53:42,258 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 12:53:42,259 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-23 12:53:42,259 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 12:53:42 BoogieIcfgContainer [2018-11-23 12:53:42,260 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 12:53:42,260 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 12:53:42,261 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 12:53:42,264 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 12:53:42,264 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 12:53:40" (1/3) ... [2018-11-23 12:53:42,265 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@12e59976 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 12:53:42, skipping insertion in model container [2018-11-23 12:53:42,265 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:53:41" (2/3) ... [2018-11-23 12:53:42,266 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@12e59976 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 12:53:42, skipping insertion in model container [2018-11-23 12:53:42,266 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 12:53:42" (3/3) ... [2018-11-23 12:53:42,268 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful_check_false-unreach-call_false-termination.i [2018-11-23 12:53:42,277 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 12:53:42,284 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 12:53:42,300 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 12:53:42,330 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 12:53:42,331 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 12:53:42,331 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 12:53:42,331 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 12:53:42,332 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 12:53:42,332 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 12:53:42,332 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 12:53:42,332 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 12:53:42,332 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 12:53:42,354 INFO L276 IsEmpty]: Start isEmpty. Operand 74 states. [2018-11-23 12:53:42,361 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-11-23 12:53:42,361 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 12:53:42,362 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 12:53:42,364 INFO L423 AbstractCegarLoop]: === Iteration 1 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 12:53:42,370 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 12:53:42,371 INFO L82 PathProgramCache]: Analyzing trace with hash 30602986, now seen corresponding path program 1 times [2018-11-23 12:53:42,372 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 12:53:42,373 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 12:53:42,422 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:42,423 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:42,423 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:42,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:42,512 INFO L256 TraceCheckUtils]: 0: Hoare triple {77#true} call ULTIMATE.init(); {77#true} is VALID [2018-11-23 12:53:42,516 INFO L273 TraceCheckUtils]: 1: Hoare triple {77#true} ~ldv_mutex~0 := 1;~open_called~0 := 0; {77#true} is VALID [2018-11-23 12:53:42,517 INFO L273 TraceCheckUtils]: 2: Hoare triple {77#true} assume true; {77#true} is VALID [2018-11-23 12:53:42,517 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {77#true} {77#true} #152#return; {77#true} is VALID [2018-11-23 12:53:42,517 INFO L256 TraceCheckUtils]: 4: Hoare triple {77#true} call #t~ret12 := main(); {77#true} is VALID [2018-11-23 12:53:42,518 INFO L273 TraceCheckUtils]: 5: Hoare triple {77#true} ~ldv_s_misc_fops_file_operations~0 := 0; {77#true} is VALID [2018-11-23 12:53:42,518 INFO L256 TraceCheckUtils]: 6: Hoare triple {77#true} call #t~ret1 := my_init(); {77#true} is VALID [2018-11-23 12:53:42,518 INFO L273 TraceCheckUtils]: 7: Hoare triple {77#true} ~open_called~0 := 0;#res := 0; {77#true} is VALID [2018-11-23 12:53:42,519 INFO L273 TraceCheckUtils]: 8: Hoare triple {77#true} assume true; {77#true} is VALID [2018-11-23 12:53:42,519 INFO L268 TraceCheckUtils]: 9: Hoare quadruple {77#true} {77#true} #156#return; {77#true} is VALID [2018-11-23 12:53:42,519 INFO L273 TraceCheckUtils]: 10: Hoare triple {77#true} assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; {77#true} is VALID [2018-11-23 12:53:42,532 INFO L273 TraceCheckUtils]: 11: Hoare triple {77#true} assume !true; {78#false} is VALID [2018-11-23 12:53:42,533 INFO L256 TraceCheckUtils]: 12: Hoare triple {78#false} call check_final_state(); {78#false} is VALID [2018-11-23 12:53:42,533 INFO L273 TraceCheckUtils]: 13: Hoare triple {78#false} assume !(1 == ~ldv_mutex~0); {78#false} is VALID [2018-11-23 12:53:42,534 INFO L256 TraceCheckUtils]: 14: Hoare triple {78#false} call __blast_assert(); {78#false} is VALID [2018-11-23 12:53:42,534 INFO L273 TraceCheckUtils]: 15: Hoare triple {78#false} assume !false; {78#false} is VALID [2018-11-23 12:53:42,539 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 12:53:42,541 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 12:53:42,542 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 12:53:42,547 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 12:53:42,550 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 12:53:42,554 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states. [2018-11-23 12:53:42,615 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 16 edges. 16 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:42,615 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 12:53:42,625 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 12:53:42,626 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 12:53:42,629 INFO L87 Difference]: Start difference. First operand 74 states. Second operand 2 states. [2018-11-23 12:53:42,950 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:42,950 INFO L93 Difference]: Finished difference Result 135 states and 180 transitions. [2018-11-23 12:53:42,951 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 12:53:42,951 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 12:53:42,951 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 12:53:42,953 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 12:53:42,971 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 180 transitions. [2018-11-23 12:53:42,971 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 12:53:42,982 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 180 transitions. [2018-11-23 12:53:42,983 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states and 180 transitions. [2018-11-23 12:53:43,722 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 180 edges. 180 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:43,739 INFO L225 Difference]: With dead ends: 135 [2018-11-23 12:53:43,740 INFO L226 Difference]: Without dead ends: 65 [2018-11-23 12:53:43,744 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 12:53:43,765 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 65 states. [2018-11-23 12:53:43,990 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 65 to 65. [2018-11-23 12:53:43,990 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 12:53:43,991 INFO L82 GeneralOperation]: Start isEquivalent. First operand 65 states. Second operand 65 states. [2018-11-23 12:53:43,991 INFO L74 IsIncluded]: Start isIncluded. First operand 65 states. Second operand 65 states. [2018-11-23 12:53:43,992 INFO L87 Difference]: Start difference. First operand 65 states. Second operand 65 states. [2018-11-23 12:53:44,001 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:44,001 INFO L93 Difference]: Finished difference Result 65 states and 80 transitions. [2018-11-23 12:53:44,001 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states and 80 transitions. [2018-11-23 12:53:44,003 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:44,003 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:44,003 INFO L74 IsIncluded]: Start isIncluded. First operand 65 states. Second operand 65 states. [2018-11-23 12:53:44,003 INFO L87 Difference]: Start difference. First operand 65 states. Second operand 65 states. [2018-11-23 12:53:44,015 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:44,016 INFO L93 Difference]: Finished difference Result 65 states and 80 transitions. [2018-11-23 12:53:44,016 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states and 80 transitions. [2018-11-23 12:53:44,018 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:44,018 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:44,018 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 12:53:44,019 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 12:53:44,020 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 65 states. [2018-11-23 12:53:44,032 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 80 transitions. [2018-11-23 12:53:44,034 INFO L78 Accepts]: Start accepts. Automaton has 65 states and 80 transitions. Word has length 16 [2018-11-23 12:53:44,037 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 12:53:44,040 INFO L480 AbstractCegarLoop]: Abstraction has 65 states and 80 transitions. [2018-11-23 12:53:44,040 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 12:53:44,040 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states and 80 transitions. [2018-11-23 12:53:44,041 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 12:53:44,041 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 12:53:44,042 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 12:53:44,042 INFO L423 AbstractCegarLoop]: === Iteration 2 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 12:53:44,042 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 12:53:44,042 INFO L82 PathProgramCache]: Analyzing trace with hash -1029705375, now seen corresponding path program 1 times [2018-11-23 12:53:44,043 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 12:53:44,043 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 12:53:44,044 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:44,044 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:44,044 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:44,060 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:44,156 INFO L256 TraceCheckUtils]: 0: Hoare triple {489#true} call ULTIMATE.init(); {489#true} is VALID [2018-11-23 12:53:44,157 INFO L273 TraceCheckUtils]: 1: Hoare triple {489#true} ~ldv_mutex~0 := 1;~open_called~0 := 0; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,157 INFO L273 TraceCheckUtils]: 2: Hoare triple {491#(= ~ldv_mutex~0 1)} assume true; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,158 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {491#(= ~ldv_mutex~0 1)} {489#true} #152#return; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,159 INFO L256 TraceCheckUtils]: 4: Hoare triple {491#(= ~ldv_mutex~0 1)} call #t~ret12 := main(); {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,161 INFO L273 TraceCheckUtils]: 5: Hoare triple {491#(= ~ldv_mutex~0 1)} ~ldv_s_misc_fops_file_operations~0 := 0; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,162 INFO L256 TraceCheckUtils]: 6: Hoare triple {491#(= ~ldv_mutex~0 1)} call #t~ret1 := my_init(); {489#true} is VALID [2018-11-23 12:53:44,162 INFO L273 TraceCheckUtils]: 7: Hoare triple {489#true} ~open_called~0 := 0;#res := 0; {489#true} is VALID [2018-11-23 12:53:44,162 INFO L273 TraceCheckUtils]: 8: Hoare triple {489#true} assume true; {489#true} is VALID [2018-11-23 12:53:44,163 INFO L268 TraceCheckUtils]: 9: Hoare quadruple {489#true} {491#(= ~ldv_mutex~0 1)} #156#return; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,168 INFO L273 TraceCheckUtils]: 10: Hoare triple {491#(= ~ldv_mutex~0 1)} assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,169 INFO L273 TraceCheckUtils]: 11: Hoare triple {491#(= ~ldv_mutex~0 1)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,169 INFO L273 TraceCheckUtils]: 12: Hoare triple {491#(= ~ldv_mutex~0 1)} assume !(0 != #t~nondet2);havoc #t~nondet2; {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,170 INFO L256 TraceCheckUtils]: 13: Hoare triple {491#(= ~ldv_mutex~0 1)} call check_final_state(); {491#(= ~ldv_mutex~0 1)} is VALID [2018-11-23 12:53:44,170 INFO L273 TraceCheckUtils]: 14: Hoare triple {491#(= ~ldv_mutex~0 1)} assume !(1 == ~ldv_mutex~0); {490#false} is VALID [2018-11-23 12:53:44,171 INFO L256 TraceCheckUtils]: 15: Hoare triple {490#false} call __blast_assert(); {490#false} is VALID [2018-11-23 12:53:44,171 INFO L273 TraceCheckUtils]: 16: Hoare triple {490#false} assume !false; {490#false} is VALID [2018-11-23 12:53:44,173 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 12:53:44,174 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 12:53:44,174 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 12:53:44,176 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 17 [2018-11-23 12:53:44,176 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 12:53:44,177 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2018-11-23 12:53:44,245 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:44,245 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 12:53:44,246 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 12:53:44,246 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 12:53:44,247 INFO L87 Difference]: Start difference. First operand 65 states and 80 transitions. Second operand 3 states. [2018-11-23 12:53:44,878 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:44,879 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2018-11-23 12:53:44,879 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 12:53:44,879 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 17 [2018-11-23 12:53:44,879 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 12:53:44,880 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 12:53:44,885 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 139 transitions. [2018-11-23 12:53:44,885 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 12:53:44,889 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 139 transitions. [2018-11-23 12:53:44,890 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 139 transitions. [2018-11-23 12:53:45,176 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 139 edges. 139 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:45,183 INFO L225 Difference]: With dead ends: 108 [2018-11-23 12:53:45,183 INFO L226 Difference]: Without dead ends: 102 [2018-11-23 12:53:45,185 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 12:53:45,185 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 102 states. [2018-11-23 12:53:45,268 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 102 to 102. [2018-11-23 12:53:45,269 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 12:53:45,269 INFO L82 GeneralOperation]: Start isEquivalent. First operand 102 states. Second operand 102 states. [2018-11-23 12:53:45,269 INFO L74 IsIncluded]: Start isIncluded. First operand 102 states. Second operand 102 states. [2018-11-23 12:53:45,269 INFO L87 Difference]: Start difference. First operand 102 states. Second operand 102 states. [2018-11-23 12:53:45,278 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:45,279 INFO L93 Difference]: Finished difference Result 102 states and 132 transitions. [2018-11-23 12:53:45,279 INFO L276 IsEmpty]: Start isEmpty. Operand 102 states and 132 transitions. [2018-11-23 12:53:45,281 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:45,281 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:45,281 INFO L74 IsIncluded]: Start isIncluded. First operand 102 states. Second operand 102 states. [2018-11-23 12:53:45,281 INFO L87 Difference]: Start difference. First operand 102 states. Second operand 102 states. [2018-11-23 12:53:45,290 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:45,290 INFO L93 Difference]: Finished difference Result 102 states and 132 transitions. [2018-11-23 12:53:45,290 INFO L276 IsEmpty]: Start isEmpty. Operand 102 states and 132 transitions. [2018-11-23 12:53:45,292 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:45,293 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:45,293 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 12:53:45,293 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 12:53:45,293 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 102 states. [2018-11-23 12:53:45,300 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 102 states to 102 states and 132 transitions. [2018-11-23 12:53:45,301 INFO L78 Accepts]: Start accepts. Automaton has 102 states and 132 transitions. Word has length 17 [2018-11-23 12:53:45,301 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 12:53:45,301 INFO L480 AbstractCegarLoop]: Abstraction has 102 states and 132 transitions. [2018-11-23 12:53:45,301 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 12:53:45,301 INFO L276 IsEmpty]: Start isEmpty. Operand 102 states and 132 transitions. [2018-11-23 12:53:45,303 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 12:53:45,303 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 12:53:45,303 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 12:53:45,304 INFO L423 AbstractCegarLoop]: === Iteration 3 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 12:53:45,304 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 12:53:45,304 INFO L82 PathProgramCache]: Analyzing trace with hash 1653096093, now seen corresponding path program 1 times [2018-11-23 12:53:45,304 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 12:53:45,305 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 12:53:45,307 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:45,307 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:45,308 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:45,343 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:45,420 INFO L256 TraceCheckUtils]: 0: Hoare triple {995#true} call ULTIMATE.init(); {995#true} is VALID [2018-11-23 12:53:45,420 INFO L273 TraceCheckUtils]: 1: Hoare triple {995#true} ~ldv_mutex~0 := 1;~open_called~0 := 0; {995#true} is VALID [2018-11-23 12:53:45,421 INFO L273 TraceCheckUtils]: 2: Hoare triple {995#true} assume true; {995#true} is VALID [2018-11-23 12:53:45,421 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {995#true} {995#true} #152#return; {995#true} is VALID [2018-11-23 12:53:45,421 INFO L256 TraceCheckUtils]: 4: Hoare triple {995#true} call #t~ret12 := main(); {995#true} is VALID [2018-11-23 12:53:45,423 INFO L273 TraceCheckUtils]: 5: Hoare triple {995#true} ~ldv_s_misc_fops_file_operations~0 := 0; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,423 INFO L256 TraceCheckUtils]: 6: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} call #t~ret1 := my_init(); {995#true} is VALID [2018-11-23 12:53:45,423 INFO L273 TraceCheckUtils]: 7: Hoare triple {995#true} ~open_called~0 := 0;#res := 0; {995#true} is VALID [2018-11-23 12:53:45,424 INFO L273 TraceCheckUtils]: 8: Hoare triple {995#true} assume true; {995#true} is VALID [2018-11-23 12:53:45,424 INFO L268 TraceCheckUtils]: 9: Hoare quadruple {995#true} {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} #156#return; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,426 INFO L273 TraceCheckUtils]: 10: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,427 INFO L273 TraceCheckUtils]: 11: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,428 INFO L273 TraceCheckUtils]: 12: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,428 INFO L273 TraceCheckUtils]: 13: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,430 INFO L273 TraceCheckUtils]: 14: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,430 INFO L273 TraceCheckUtils]: 15: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,442 INFO L273 TraceCheckUtils]: 16: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume #t~switch4; {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:45,446 INFO L273 TraceCheckUtils]: 17: Hoare triple {997#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume 3 == ~ldv_s_misc_fops_file_operations~0; {996#false} is VALID [2018-11-23 12:53:45,447 INFO L256 TraceCheckUtils]: 18: Hoare triple {996#false} call #t~ret11 := misc_release(); {996#false} is VALID [2018-11-23 12:53:45,447 INFO L273 TraceCheckUtils]: 19: Hoare triple {996#false} assume !(0 != ~open_called~0); {996#false} is VALID [2018-11-23 12:53:45,447 INFO L256 TraceCheckUtils]: 20: Hoare triple {996#false} call mutex_lock(); {995#true} is VALID [2018-11-23 12:53:45,448 INFO L273 TraceCheckUtils]: 21: Hoare triple {995#true} assume 1 == ~ldv_mutex~0; {995#true} is VALID [2018-11-23 12:53:45,448 INFO L273 TraceCheckUtils]: 22: Hoare triple {995#true} ~ldv_mutex~0 := 2; {995#true} is VALID [2018-11-23 12:53:45,448 INFO L273 TraceCheckUtils]: 23: Hoare triple {995#true} assume true; {995#true} is VALID [2018-11-23 12:53:45,449 INFO L268 TraceCheckUtils]: 24: Hoare quadruple {995#true} {996#false} #144#return; {996#false} is VALID [2018-11-23 12:53:45,449 INFO L256 TraceCheckUtils]: 25: Hoare triple {996#false} call mutex_lock(); {996#false} is VALID [2018-11-23 12:53:45,449 INFO L273 TraceCheckUtils]: 26: Hoare triple {996#false} assume !(1 == ~ldv_mutex~0); {996#false} is VALID [2018-11-23 12:53:45,449 INFO L256 TraceCheckUtils]: 27: Hoare triple {996#false} call __blast_assert(); {996#false} is VALID [2018-11-23 12:53:45,450 INFO L273 TraceCheckUtils]: 28: Hoare triple {996#false} assume !false; {996#false} is VALID [2018-11-23 12:53:45,452 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 12:53:45,453 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 12:53:45,453 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 12:53:45,453 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 29 [2018-11-23 12:53:45,454 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 12:53:45,454 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2018-11-23 12:53:45,502 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 29 edges. 29 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:45,502 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 12:53:45,503 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 12:53:45,503 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 12:53:45,504 INFO L87 Difference]: Start difference. First operand 102 states and 132 transitions. Second operand 3 states. [2018-11-23 12:53:45,820 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:45,820 INFO L93 Difference]: Finished difference Result 218 states and 297 transitions. [2018-11-23 12:53:45,820 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 12:53:45,820 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 29 [2018-11-23 12:53:45,821 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 12:53:45,821 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 12:53:45,826 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 172 transitions. [2018-11-23 12:53:45,826 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 12:53:45,830 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 172 transitions. [2018-11-23 12:53:45,830 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 172 transitions. [2018-11-23 12:53:46,173 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 172 edges. 172 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:46,179 INFO L225 Difference]: With dead ends: 218 [2018-11-23 12:53:46,179 INFO L226 Difference]: Without dead ends: 127 [2018-11-23 12:53:46,180 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 12:53:46,181 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 127 states. [2018-11-23 12:53:46,267 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 127 to 126. [2018-11-23 12:53:46,267 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 12:53:46,267 INFO L82 GeneralOperation]: Start isEquivalent. First operand 127 states. Second operand 126 states. [2018-11-23 12:53:46,267 INFO L74 IsIncluded]: Start isIncluded. First operand 127 states. Second operand 126 states. [2018-11-23 12:53:46,267 INFO L87 Difference]: Start difference. First operand 127 states. Second operand 126 states. [2018-11-23 12:53:46,274 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:46,274 INFO L93 Difference]: Finished difference Result 127 states and 170 transitions. [2018-11-23 12:53:46,275 INFO L276 IsEmpty]: Start isEmpty. Operand 127 states and 170 transitions. [2018-11-23 12:53:46,276 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:46,276 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:46,277 INFO L74 IsIncluded]: Start isIncluded. First operand 126 states. Second operand 127 states. [2018-11-23 12:53:46,277 INFO L87 Difference]: Start difference. First operand 126 states. Second operand 127 states. [2018-11-23 12:53:46,283 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:46,284 INFO L93 Difference]: Finished difference Result 127 states and 170 transitions. [2018-11-23 12:53:46,284 INFO L276 IsEmpty]: Start isEmpty. Operand 127 states and 170 transitions. [2018-11-23 12:53:46,285 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:46,286 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:46,286 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 12:53:46,286 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 12:53:46,286 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 126 states. [2018-11-23 12:53:46,293 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 126 states to 126 states and 169 transitions. [2018-11-23 12:53:46,293 INFO L78 Accepts]: Start accepts. Automaton has 126 states and 169 transitions. Word has length 29 [2018-11-23 12:53:46,293 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 12:53:46,294 INFO L480 AbstractCegarLoop]: Abstraction has 126 states and 169 transitions. [2018-11-23 12:53:46,294 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 12:53:46,294 INFO L276 IsEmpty]: Start isEmpty. Operand 126 states and 169 transitions. [2018-11-23 12:53:46,295 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2018-11-23 12:53:46,295 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 12:53:46,296 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 12:53:46,296 INFO L423 AbstractCegarLoop]: === Iteration 4 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 12:53:46,296 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 12:53:46,296 INFO L82 PathProgramCache]: Analyzing trace with hash -895437069, now seen corresponding path program 1 times [2018-11-23 12:53:46,297 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 12:53:46,297 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 12:53:46,298 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:46,298 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:46,298 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:46,315 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:46,397 INFO L256 TraceCheckUtils]: 0: Hoare triple {1724#true} call ULTIMATE.init(); {1724#true} is VALID [2018-11-23 12:53:46,397 INFO L273 TraceCheckUtils]: 1: Hoare triple {1724#true} ~ldv_mutex~0 := 1;~open_called~0 := 0; {1724#true} is VALID [2018-11-23 12:53:46,398 INFO L273 TraceCheckUtils]: 2: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,398 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {1724#true} {1724#true} #152#return; {1724#true} is VALID [2018-11-23 12:53:46,399 INFO L256 TraceCheckUtils]: 4: Hoare triple {1724#true} call #t~ret12 := main(); {1724#true} is VALID [2018-11-23 12:53:46,400 INFO L273 TraceCheckUtils]: 5: Hoare triple {1724#true} ~ldv_s_misc_fops_file_operations~0 := 0; {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,400 INFO L256 TraceCheckUtils]: 6: Hoare triple {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} call #t~ret1 := my_init(); {1724#true} is VALID [2018-11-23 12:53:46,400 INFO L273 TraceCheckUtils]: 7: Hoare triple {1724#true} ~open_called~0 := 0;#res := 0; {1724#true} is VALID [2018-11-23 12:53:46,400 INFO L273 TraceCheckUtils]: 8: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,401 INFO L268 TraceCheckUtils]: 9: Hoare quadruple {1724#true} {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} #156#return; {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,402 INFO L273 TraceCheckUtils]: 10: Hoare triple {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,402 INFO L273 TraceCheckUtils]: 11: Hoare triple {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,405 INFO L273 TraceCheckUtils]: 12: Hoare triple {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,407 INFO L273 TraceCheckUtils]: 13: Hoare triple {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} assume #t~switch4; {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,407 INFO L273 TraceCheckUtils]: 14: Hoare triple {1726#(= main_~ldv_s_misc_fops_file_operations~0 0)} assume 0 == ~ldv_s_misc_fops_file_operations~0; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,408 INFO L256 TraceCheckUtils]: 15: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} call #t~ret5 := misc_open(); {1724#true} is VALID [2018-11-23 12:53:46,408 INFO L273 TraceCheckUtils]: 16: Hoare triple {1724#true} assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; {1724#true} is VALID [2018-11-23 12:53:46,408 INFO L273 TraceCheckUtils]: 17: Hoare triple {1724#true} assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; {1724#true} is VALID [2018-11-23 12:53:46,409 INFO L273 TraceCheckUtils]: 18: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,411 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {1724#true} {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} #158#return; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,413 INFO L273 TraceCheckUtils]: 20: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,413 INFO L273 TraceCheckUtils]: 21: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} havoc #t~switch4;havoc #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,415 INFO L273 TraceCheckUtils]: 22: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,416 INFO L273 TraceCheckUtils]: 23: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,421 INFO L273 TraceCheckUtils]: 24: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,423 INFO L273 TraceCheckUtils]: 25: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,423 INFO L273 TraceCheckUtils]: 26: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,425 INFO L273 TraceCheckUtils]: 27: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume #t~switch4; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,425 INFO L273 TraceCheckUtils]: 28: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume 3 == ~ldv_s_misc_fops_file_operations~0; {1725#false} is VALID [2018-11-23 12:53:46,426 INFO L256 TraceCheckUtils]: 29: Hoare triple {1725#false} call #t~ret11 := misc_release(); {1725#false} is VALID [2018-11-23 12:53:46,426 INFO L273 TraceCheckUtils]: 30: Hoare triple {1725#false} assume !(0 != ~open_called~0); {1725#false} is VALID [2018-11-23 12:53:46,426 INFO L256 TraceCheckUtils]: 31: Hoare triple {1725#false} call mutex_lock(); {1724#true} is VALID [2018-11-23 12:53:46,427 INFO L273 TraceCheckUtils]: 32: Hoare triple {1724#true} assume 1 == ~ldv_mutex~0; {1724#true} is VALID [2018-11-23 12:53:46,427 INFO L273 TraceCheckUtils]: 33: Hoare triple {1724#true} ~ldv_mutex~0 := 2; {1724#true} is VALID [2018-11-23 12:53:46,427 INFO L273 TraceCheckUtils]: 34: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,428 INFO L268 TraceCheckUtils]: 35: Hoare quadruple {1724#true} {1725#false} #144#return; {1725#false} is VALID [2018-11-23 12:53:46,428 INFO L256 TraceCheckUtils]: 36: Hoare triple {1725#false} call mutex_lock(); {1725#false} is VALID [2018-11-23 12:53:46,428 INFO L273 TraceCheckUtils]: 37: Hoare triple {1725#false} assume !(1 == ~ldv_mutex~0); {1725#false} is VALID [2018-11-23 12:53:46,429 INFO L256 TraceCheckUtils]: 38: Hoare triple {1725#false} call __blast_assert(); {1725#false} is VALID [2018-11-23 12:53:46,429 INFO L273 TraceCheckUtils]: 39: Hoare triple {1725#false} assume !false; {1725#false} is VALID [2018-11-23 12:53:46,432 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 1 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 12:53:46,432 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 12:53:46,432 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 12:53:46,442 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:46,470 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:46,492 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:46,499 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 12:53:46,820 INFO L256 TraceCheckUtils]: 0: Hoare triple {1724#true} call ULTIMATE.init(); {1724#true} is VALID [2018-11-23 12:53:46,820 INFO L273 TraceCheckUtils]: 1: Hoare triple {1724#true} ~ldv_mutex~0 := 1;~open_called~0 := 0; {1724#true} is VALID [2018-11-23 12:53:46,821 INFO L273 TraceCheckUtils]: 2: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,821 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {1724#true} {1724#true} #152#return; {1724#true} is VALID [2018-11-23 12:53:46,821 INFO L256 TraceCheckUtils]: 4: Hoare triple {1724#true} call #t~ret12 := main(); {1724#true} is VALID [2018-11-23 12:53:46,826 INFO L273 TraceCheckUtils]: 5: Hoare triple {1724#true} ~ldv_s_misc_fops_file_operations~0 := 0; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,827 INFO L256 TraceCheckUtils]: 6: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} call #t~ret1 := my_init(); {1724#true} is VALID [2018-11-23 12:53:46,827 INFO L273 TraceCheckUtils]: 7: Hoare triple {1724#true} ~open_called~0 := 0;#res := 0; {1724#true} is VALID [2018-11-23 12:53:46,827 INFO L273 TraceCheckUtils]: 8: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,828 INFO L268 TraceCheckUtils]: 9: Hoare quadruple {1724#true} {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} #156#return; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,831 INFO L273 TraceCheckUtils]: 10: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,831 INFO L273 TraceCheckUtils]: 11: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,838 INFO L273 TraceCheckUtils]: 12: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,838 INFO L273 TraceCheckUtils]: 13: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume #t~switch4; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,839 INFO L273 TraceCheckUtils]: 14: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume 0 == ~ldv_s_misc_fops_file_operations~0; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,839 INFO L256 TraceCheckUtils]: 15: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} call #t~ret5 := misc_open(); {1724#true} is VALID [2018-11-23 12:53:46,840 INFO L273 TraceCheckUtils]: 16: Hoare triple {1724#true} assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; {1724#true} is VALID [2018-11-23 12:53:46,840 INFO L273 TraceCheckUtils]: 17: Hoare triple {1724#true} assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; {1724#true} is VALID [2018-11-23 12:53:46,840 INFO L273 TraceCheckUtils]: 18: Hoare triple {1724#true} assume true; {1724#true} is VALID [2018-11-23 12:53:46,856 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {1724#true} {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} #158#return; {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} is VALID [2018-11-23 12:53:46,858 INFO L273 TraceCheckUtils]: 20: Hoare triple {1727#(<= main_~ldv_s_misc_fops_file_operations~0 0)} assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,859 INFO L273 TraceCheckUtils]: 21: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} havoc #t~switch4;havoc #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,859 INFO L273 TraceCheckUtils]: 22: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,860 INFO L273 TraceCheckUtils]: 23: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,861 INFO L273 TraceCheckUtils]: 24: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,861 INFO L273 TraceCheckUtils]: 25: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,865 INFO L273 TraceCheckUtils]: 26: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,869 INFO L273 TraceCheckUtils]: 27: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume #t~switch4; {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:46,870 INFO L273 TraceCheckUtils]: 28: Hoare triple {1728#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume 3 == ~ldv_s_misc_fops_file_operations~0; {1725#false} is VALID [2018-11-23 12:53:46,870 INFO L256 TraceCheckUtils]: 29: Hoare triple {1725#false} call #t~ret11 := misc_release(); {1725#false} is VALID [2018-11-23 12:53:46,871 INFO L273 TraceCheckUtils]: 30: Hoare triple {1725#false} assume !(0 != ~open_called~0); {1725#false} is VALID [2018-11-23 12:53:46,871 INFO L256 TraceCheckUtils]: 31: Hoare triple {1725#false} call mutex_lock(); {1725#false} is VALID [2018-11-23 12:53:46,871 INFO L273 TraceCheckUtils]: 32: Hoare triple {1725#false} assume 1 == ~ldv_mutex~0; {1725#false} is VALID [2018-11-23 12:53:46,871 INFO L273 TraceCheckUtils]: 33: Hoare triple {1725#false} ~ldv_mutex~0 := 2; {1725#false} is VALID [2018-11-23 12:53:46,872 INFO L273 TraceCheckUtils]: 34: Hoare triple {1725#false} assume true; {1725#false} is VALID [2018-11-23 12:53:46,872 INFO L268 TraceCheckUtils]: 35: Hoare quadruple {1725#false} {1725#false} #144#return; {1725#false} is VALID [2018-11-23 12:53:46,872 INFO L256 TraceCheckUtils]: 36: Hoare triple {1725#false} call mutex_lock(); {1725#false} is VALID [2018-11-23 12:53:46,873 INFO L273 TraceCheckUtils]: 37: Hoare triple {1725#false} assume !(1 == ~ldv_mutex~0); {1725#false} is VALID [2018-11-23 12:53:46,873 INFO L256 TraceCheckUtils]: 38: Hoare triple {1725#false} call __blast_assert(); {1725#false} is VALID [2018-11-23 12:53:46,873 INFO L273 TraceCheckUtils]: 39: Hoare triple {1725#false} assume !false; {1725#false} is VALID [2018-11-23 12:53:46,878 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 12:53:46,905 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 12:53:46,906 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 4] total 5 [2018-11-23 12:53:46,906 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 40 [2018-11-23 12:53:46,907 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 12:53:46,907 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states. [2018-11-23 12:53:47,089 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 53 edges. 53 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:47,090 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 12:53:47,090 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 12:53:47,091 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 12:53:47,091 INFO L87 Difference]: Start difference. First operand 126 states and 169 transitions. Second operand 5 states. [2018-11-23 12:53:47,534 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:47,535 INFO L93 Difference]: Finished difference Result 292 states and 416 transitions. [2018-11-23 12:53:47,535 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 12:53:47,535 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 40 [2018-11-23 12:53:47,535 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 12:53:47,536 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 12:53:47,540 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 215 transitions. [2018-11-23 12:53:47,540 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 12:53:47,545 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 215 transitions. [2018-11-23 12:53:47,545 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 215 transitions. [2018-11-23 12:53:47,848 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 215 edges. 215 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:47,854 INFO L225 Difference]: With dead ends: 292 [2018-11-23 12:53:47,855 INFO L226 Difference]: Without dead ends: 177 [2018-11-23 12:53:47,856 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 44 GetRequests, 41 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 12:53:47,857 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 177 states. [2018-11-23 12:53:47,971 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 177 to 174. [2018-11-23 12:53:47,972 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 12:53:47,972 INFO L82 GeneralOperation]: Start isEquivalent. First operand 177 states. Second operand 174 states. [2018-11-23 12:53:47,972 INFO L74 IsIncluded]: Start isIncluded. First operand 177 states. Second operand 174 states. [2018-11-23 12:53:47,972 INFO L87 Difference]: Start difference. First operand 177 states. Second operand 174 states. [2018-11-23 12:53:47,981 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:47,982 INFO L93 Difference]: Finished difference Result 177 states and 246 transitions. [2018-11-23 12:53:47,982 INFO L276 IsEmpty]: Start isEmpty. Operand 177 states and 246 transitions. [2018-11-23 12:53:47,983 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:47,983 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:47,983 INFO L74 IsIncluded]: Start isIncluded. First operand 174 states. Second operand 177 states. [2018-11-23 12:53:47,983 INFO L87 Difference]: Start difference. First operand 174 states. Second operand 177 states. [2018-11-23 12:53:47,992 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:47,993 INFO L93 Difference]: Finished difference Result 177 states and 246 transitions. [2018-11-23 12:53:47,993 INFO L276 IsEmpty]: Start isEmpty. Operand 177 states and 246 transitions. [2018-11-23 12:53:47,994 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:47,994 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:47,994 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 12:53:47,995 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 12:53:47,995 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 174 states. [2018-11-23 12:53:48,003 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 174 states to 174 states and 243 transitions. [2018-11-23 12:53:48,003 INFO L78 Accepts]: Start accepts. Automaton has 174 states and 243 transitions. Word has length 40 [2018-11-23 12:53:48,003 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 12:53:48,004 INFO L480 AbstractCegarLoop]: Abstraction has 174 states and 243 transitions. [2018-11-23 12:53:48,004 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 12:53:48,004 INFO L276 IsEmpty]: Start isEmpty. Operand 174 states and 243 transitions. [2018-11-23 12:53:48,005 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 52 [2018-11-23 12:53:48,005 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 12:53:48,006 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 12:53:48,006 INFO L423 AbstractCegarLoop]: === Iteration 5 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 12:53:48,006 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 12:53:48,007 INFO L82 PathProgramCache]: Analyzing trace with hash 1499338727, now seen corresponding path program 1 times [2018-11-23 12:53:48,007 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 12:53:48,007 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 12:53:48,008 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:48,008 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:48,008 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:48,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 12:53:48,113 INFO L256 TraceCheckUtils]: 0: Hoare triple {2816#true} call ULTIMATE.init(); {2816#true} is VALID [2018-11-23 12:53:48,113 INFO L273 TraceCheckUtils]: 1: Hoare triple {2816#true} ~ldv_mutex~0 := 1;~open_called~0 := 0; {2816#true} is VALID [2018-11-23 12:53:48,113 INFO L273 TraceCheckUtils]: 2: Hoare triple {2816#true} assume true; {2816#true} is VALID [2018-11-23 12:53:48,113 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {2816#true} {2816#true} #152#return; {2816#true} is VALID [2018-11-23 12:53:48,114 INFO L256 TraceCheckUtils]: 4: Hoare triple {2816#true} call #t~ret12 := main(); {2816#true} is VALID [2018-11-23 12:53:48,114 INFO L273 TraceCheckUtils]: 5: Hoare triple {2816#true} ~ldv_s_misc_fops_file_operations~0 := 0; {2816#true} is VALID [2018-11-23 12:53:48,114 INFO L256 TraceCheckUtils]: 6: Hoare triple {2816#true} call #t~ret1 := my_init(); {2816#true} is VALID [2018-11-23 12:53:48,114 INFO L273 TraceCheckUtils]: 7: Hoare triple {2816#true} ~open_called~0 := 0;#res := 0; {2816#true} is VALID [2018-11-23 12:53:48,115 INFO L273 TraceCheckUtils]: 8: Hoare triple {2816#true} assume true; {2816#true} is VALID [2018-11-23 12:53:48,115 INFO L268 TraceCheckUtils]: 9: Hoare quadruple {2816#true} {2816#true} #156#return; {2816#true} is VALID [2018-11-23 12:53:48,115 INFO L273 TraceCheckUtils]: 10: Hoare triple {2816#true} assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; {2816#true} is VALID [2018-11-23 12:53:48,115 INFO L273 TraceCheckUtils]: 11: Hoare triple {2816#true} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {2816#true} is VALID [2018-11-23 12:53:48,115 INFO L273 TraceCheckUtils]: 12: Hoare triple {2816#true} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {2816#true} is VALID [2018-11-23 12:53:48,116 INFO L273 TraceCheckUtils]: 13: Hoare triple {2816#true} assume #t~switch4; {2816#true} is VALID [2018-11-23 12:53:48,116 INFO L273 TraceCheckUtils]: 14: Hoare triple {2816#true} assume 0 == ~ldv_s_misc_fops_file_operations~0; {2816#true} is VALID [2018-11-23 12:53:48,116 INFO L256 TraceCheckUtils]: 15: Hoare triple {2816#true} call #t~ret5 := misc_open(); {2816#true} is VALID [2018-11-23 12:53:48,116 INFO L273 TraceCheckUtils]: 16: Hoare triple {2816#true} assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; {2816#true} is VALID [2018-11-23 12:53:48,116 INFO L273 TraceCheckUtils]: 17: Hoare triple {2816#true} assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; {2816#true} is VALID [2018-11-23 12:53:48,117 INFO L273 TraceCheckUtils]: 18: Hoare triple {2816#true} assume true; {2816#true} is VALID [2018-11-23 12:53:48,117 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {2816#true} {2816#true} #158#return; {2816#true} is VALID [2018-11-23 12:53:48,117 INFO L273 TraceCheckUtils]: 20: Hoare triple {2816#true} assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; {2816#true} is VALID [2018-11-23 12:53:48,118 INFO L273 TraceCheckUtils]: 21: Hoare triple {2816#true} havoc #t~switch4;havoc #t~nondet3; {2816#true} is VALID [2018-11-23 12:53:48,118 INFO L273 TraceCheckUtils]: 22: Hoare triple {2816#true} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {2816#true} is VALID [2018-11-23 12:53:48,118 INFO L273 TraceCheckUtils]: 23: Hoare triple {2816#true} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {2816#true} is VALID [2018-11-23 12:53:48,118 INFO L273 TraceCheckUtils]: 24: Hoare triple {2816#true} assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; {2816#true} is VALID [2018-11-23 12:53:48,119 INFO L273 TraceCheckUtils]: 25: Hoare triple {2816#true} assume #t~switch4; {2816#true} is VALID [2018-11-23 12:53:48,133 INFO L273 TraceCheckUtils]: 26: Hoare triple {2816#true} assume 1 == ~ldv_s_misc_fops_file_operations~0; {2818#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:48,134 INFO L256 TraceCheckUtils]: 27: Hoare triple {2818#(<= main_~ldv_s_misc_fops_file_operations~0 1)} call #t~ret7 := misc_read(); {2816#true} is VALID [2018-11-23 12:53:48,134 INFO L273 TraceCheckUtils]: 28: Hoare triple {2816#true} #res := 0; {2816#true} is VALID [2018-11-23 12:53:48,134 INFO L273 TraceCheckUtils]: 29: Hoare triple {2816#true} assume true; {2816#true} is VALID [2018-11-23 12:53:48,138 INFO L268 TraceCheckUtils]: 30: Hoare quadruple {2816#true} {2818#(<= main_~ldv_s_misc_fops_file_operations~0 1)} #160#return; {2818#(<= main_~ldv_s_misc_fops_file_operations~0 1)} is VALID [2018-11-23 12:53:48,139 INFO L273 TraceCheckUtils]: 31: Hoare triple {2818#(<= main_~ldv_s_misc_fops_file_operations~0 1)} assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647;havoc #t~ret7;#t~post8 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8;havoc #t~post8; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,140 INFO L273 TraceCheckUtils]: 32: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} havoc #t~switch4;havoc #t~nondet3; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,140 INFO L273 TraceCheckUtils]: 33: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,142 INFO L273 TraceCheckUtils]: 34: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,142 INFO L273 TraceCheckUtils]: 35: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,144 INFO L273 TraceCheckUtils]: 36: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,144 INFO L273 TraceCheckUtils]: 37: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,146 INFO L273 TraceCheckUtils]: 38: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume #t~switch4; {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} is VALID [2018-11-23 12:53:48,146 INFO L273 TraceCheckUtils]: 39: Hoare triple {2819#(<= main_~ldv_s_misc_fops_file_operations~0 2)} assume 3 == ~ldv_s_misc_fops_file_operations~0; {2817#false} is VALID [2018-11-23 12:53:48,146 INFO L256 TraceCheckUtils]: 40: Hoare triple {2817#false} call #t~ret11 := misc_release(); {2817#false} is VALID [2018-11-23 12:53:48,147 INFO L273 TraceCheckUtils]: 41: Hoare triple {2817#false} assume !(0 != ~open_called~0); {2817#false} is VALID [2018-11-23 12:53:48,147 INFO L256 TraceCheckUtils]: 42: Hoare triple {2817#false} call mutex_lock(); {2816#true} is VALID [2018-11-23 12:53:48,148 INFO L273 TraceCheckUtils]: 43: Hoare triple {2816#true} assume 1 == ~ldv_mutex~0; {2816#true} is VALID [2018-11-23 12:53:48,148 INFO L273 TraceCheckUtils]: 44: Hoare triple {2816#true} ~ldv_mutex~0 := 2; {2816#true} is VALID [2018-11-23 12:53:48,149 INFO L273 TraceCheckUtils]: 45: Hoare triple {2816#true} assume true; {2816#true} is VALID [2018-11-23 12:53:48,149 INFO L268 TraceCheckUtils]: 46: Hoare quadruple {2816#true} {2817#false} #144#return; {2817#false} is VALID [2018-11-23 12:53:48,149 INFO L256 TraceCheckUtils]: 47: Hoare triple {2817#false} call mutex_lock(); {2817#false} is VALID [2018-11-23 12:53:48,150 INFO L273 TraceCheckUtils]: 48: Hoare triple {2817#false} assume !(1 == ~ldv_mutex~0); {2817#false} is VALID [2018-11-23 12:53:48,150 INFO L256 TraceCheckUtils]: 49: Hoare triple {2817#false} call __blast_assert(); {2817#false} is VALID [2018-11-23 12:53:48,150 INFO L273 TraceCheckUtils]: 50: Hoare triple {2817#false} assume !false; {2817#false} is VALID [2018-11-23 12:53:48,155 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 9 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2018-11-23 12:53:48,155 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 12:53:48,155 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-23 12:53:48,156 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 51 [2018-11-23 12:53:48,156 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 12:53:48,156 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states. [2018-11-23 12:53:48,248 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 49 edges. 49 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:48,249 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-23 12:53:48,249 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-23 12:53:48,249 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-23 12:53:48,250 INFO L87 Difference]: Start difference. First operand 174 states and 243 transitions. Second operand 4 states. [2018-11-23 12:53:48,751 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:48,752 INFO L93 Difference]: Finished difference Result 435 states and 639 transitions. [2018-11-23 12:53:48,752 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 12:53:48,752 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 51 [2018-11-23 12:53:48,752 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 12:53:48,753 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 12:53:48,756 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 195 transitions. [2018-11-23 12:53:48,756 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 12:53:48,760 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 195 transitions. [2018-11-23 12:53:48,760 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 195 transitions. [2018-11-23 12:53:49,099 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 195 edges. 195 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 12:53:49,109 INFO L225 Difference]: With dead ends: 435 [2018-11-23 12:53:49,109 INFO L226 Difference]: Without dead ends: 272 [2018-11-23 12:53:49,111 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-23 12:53:49,112 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 272 states. [2018-11-23 12:53:49,296 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 272 to 222. [2018-11-23 12:53:49,297 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 12:53:49,297 INFO L82 GeneralOperation]: Start isEquivalent. First operand 272 states. Second operand 222 states. [2018-11-23 12:53:49,297 INFO L74 IsIncluded]: Start isIncluded. First operand 272 states. Second operand 222 states. [2018-11-23 12:53:49,297 INFO L87 Difference]: Start difference. First operand 272 states. Second operand 222 states. [2018-11-23 12:53:49,310 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:49,310 INFO L93 Difference]: Finished difference Result 272 states and 401 transitions. [2018-11-23 12:53:49,310 INFO L276 IsEmpty]: Start isEmpty. Operand 272 states and 401 transitions. [2018-11-23 12:53:49,312 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:49,312 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:49,312 INFO L74 IsIncluded]: Start isIncluded. First operand 222 states. Second operand 272 states. [2018-11-23 12:53:49,312 INFO L87 Difference]: Start difference. First operand 222 states. Second operand 272 states. [2018-11-23 12:53:49,325 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 12:53:49,326 INFO L93 Difference]: Finished difference Result 272 states and 401 transitions. [2018-11-23 12:53:49,326 INFO L276 IsEmpty]: Start isEmpty. Operand 272 states and 401 transitions. [2018-11-23 12:53:49,327 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 12:53:49,327 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 12:53:49,327 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 12:53:49,328 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 12:53:49,328 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 222 states. [2018-11-23 12:53:49,337 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 222 states to 222 states and 323 transitions. [2018-11-23 12:53:49,338 INFO L78 Accepts]: Start accepts. Automaton has 222 states and 323 transitions. Word has length 51 [2018-11-23 12:53:49,338 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 12:53:49,338 INFO L480 AbstractCegarLoop]: Abstraction has 222 states and 323 transitions. [2018-11-23 12:53:49,338 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-23 12:53:49,339 INFO L276 IsEmpty]: Start isEmpty. Operand 222 states and 323 transitions. [2018-11-23 12:53:49,340 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 64 [2018-11-23 12:53:49,340 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 12:53:49,340 INFO L402 BasicCegarLoop]: trace histogram [4, 4, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 12:53:49,341 INFO L423 AbstractCegarLoop]: === Iteration 6 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 12:53:49,341 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 12:53:49,341 INFO L82 PathProgramCache]: Analyzing trace with hash -74956011, now seen corresponding path program 1 times [2018-11-23 12:53:49,341 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 12:53:49,341 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 12:53:49,342 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:49,343 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 12:53:49,343 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 12:53:49,367 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 12:53:49,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 12:53:49,445 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=4, ~open_called~0=3] [?] ~ldv_mutex~0 := 1;~open_called~0 := 0; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #152#return; VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret1 := my_init(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~open_called~0 := 0;#res := 0; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #156#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~ret1|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret5 := misc_open(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [|misc_open_#t~nondet0|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #158#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~ret5|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~switch4;havoc #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret7 := misc_read(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #160#return; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~ret7|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647;havoc #t~ret7;#t~post8 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8;havoc #t~post8; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~switch4;havoc #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret9 := misc_llseek(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #162#return; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~ret9|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647;havoc #t~ret9;#t~post10 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10;havoc #t~post10; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~switch4;havoc #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret11 := misc_release(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !(0 != ~open_called~0); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_mutex~0; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_mutex~0 := 2; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] RET #144#return; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !(1 == ~ldv_mutex~0); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call __blast_assert(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !false; VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- [2018-11-23 12:53:49,538 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,541 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,542 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,542 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,543 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,543 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,545 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,545 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,546 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,546 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,546 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,548 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,548 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,549 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L9] int ldv_mutex = 1; [L11] int open_called = 0; VAL [\old(ldv_mutex)=4, \old(open_called)=3, ldv_mutex=1, open_called=0] [L74] int ldv_s_misc_fops_file_operations = 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L75] CALL my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L69] open_called = 0 [L70] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L75] RET my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, my_init()=0, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L81] COND TRUE ldv_s_misc_fops_file_operations==0 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L82] CALL misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L57] COND TRUE __VERIFIER_nondet_int() [L59] return 1; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=1, ldv_mutex=1, open_called=0] [L82] RET misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, misc_open()=1, open_called=0] [L83] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L89] COND TRUE ldv_s_misc_fops_file_operations==1 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L90] CALL misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L52] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L90] RET misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, misc_read()=0, open_called=0] [L91] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L97] COND TRUE ldv_s_misc_fops_file_operations==2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L98] CALL misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L48] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L98] RET misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, misc_llseek()=0, open_called=0] [L99] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: [L104] case 3: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L105] COND TRUE ldv_s_misc_fops_file_operations==3 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L106] CALL misc_release() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L34] COND FALSE !(\read(open_called)) VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L41] CALL mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L17] ldv_mutex = 2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L41] RET mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L42] CALL mutex_lock() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] CALL __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L4] __VERIFIER_error() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] ----- [2018-11-23 12:53:49,583 WARN L170 areAnnotationChecker]: mutex_unlockENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: mutex_unlockENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: misc_readENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: misc_releaseENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: misc_releaseENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: misc_openENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: mutex_lockENTRY has no Hoare annotation [2018-11-23 12:53:49,584 WARN L170 areAnnotationChecker]: mutex_lockENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: check_final_stateENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: check_final_stateENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: __blast_assertENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: __blast_assertENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 12:53:49,585 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: my_initENTRY has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: misc_llseekENTRY has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: L22-2 has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: L22-1 has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: L22-1 has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: misc_readFINAL has no Hoare annotation [2018-11-23 12:53:49,586 WARN L170 areAnnotationChecker]: L36 has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: L36 has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: L41 has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: L41 has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: L57 has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: L57 has no Hoare annotation [2018-11-23 12:53:49,587 WARN L170 areAnnotationChecker]: L16-2 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L16-1 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L16-1 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L28-2 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L28-1 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L28-1 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: __blast_assertFINAL has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 12:53:49,588 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: L75 has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: L75 has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: my_initFINAL has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: misc_llseekFINAL has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: mutex_unlockFINAL has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: misc_readEXIT has no Hoare annotation [2018-11-23 12:53:49,589 WARN L170 areAnnotationChecker]: L36-1 has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: L36-1 has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: L41-1 has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: L41-1 has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: misc_openFINAL has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: mutex_lockFINAL has no Hoare annotation [2018-11-23 12:53:49,590 WARN L170 areAnnotationChecker]: check_final_stateEXIT has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: __blast_assertEXIT has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: __blast_assertEXIT has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: __blast_assertEXIT has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: L75-1 has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: my_initEXIT has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: misc_llseekEXIT has no Hoare annotation [2018-11-23 12:53:49,591 WARN L170 areAnnotationChecker]: mutex_unlockEXIT has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: L90-1 has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: L37 has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: L42 has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: misc_openEXIT has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: mutex_lockEXIT has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: mutex_lockEXIT has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: mutex_lockEXIT has no Hoare annotation [2018-11-23 12:53:49,592 WARN L170 areAnnotationChecker]: L115 has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: L76-3 has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: L76-3 has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: L98-1 has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: L78 has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: misc_releaseFINAL has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: L82-1 has no Hoare annotation [2018-11-23 12:53:49,593 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: L76-4 has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: L76-4 has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: L76-1 has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: L76-1 has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: misc_releaseEXIT has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 12:53:49,594 WARN L170 areAnnotationChecker]: L80 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L80 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L106-1 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L81 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L81 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L88 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L88 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L82 has no Hoare annotation [2018-11-23 12:53:49,595 WARN L170 areAnnotationChecker]: L82 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L89 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L89 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L96 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L96 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L90 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L90 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L97 has no Hoare annotation [2018-11-23 12:53:49,596 WARN L170 areAnnotationChecker]: L97 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L104 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L104 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L98 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L98 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L105 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L105 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L112 has no Hoare annotation [2018-11-23 12:53:49,597 WARN L170 areAnnotationChecker]: L112 has no Hoare annotation [2018-11-23 12:53:49,598 WARN L170 areAnnotationChecker]: L106 has no Hoare annotation [2018-11-23 12:53:49,598 WARN L170 areAnnotationChecker]: L106 has no Hoare annotation [2018-11-23 12:53:49,598 INFO L163 areAnnotationChecker]: CFG has 0 edges. 0 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [2018-11-23 12:53:49,601 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 12:53:49 BoogieIcfgContainer [2018-11-23 12:53:49,601 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 12:53:49,602 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 12:53:49,602 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 12:53:49,602 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 12:53:49,603 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 12:53:42" (3/4) ... [2018-11-23 12:53:49,606 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=4, ~open_called~0=3] [?] ~ldv_mutex~0 := 1;~open_called~0 := 0; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #152#return; VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret1 := my_init(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~open_called~0 := 0;#res := 0; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #156#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~ret1|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret5 := misc_open(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [|misc_open_#t~nondet0|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #158#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~ret5|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~switch4;havoc #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret7 := misc_read(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #160#return; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~ret7|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647;havoc #t~ret7;#t~post8 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8;havoc #t~post8; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~switch4;havoc #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret9 := misc_llseek(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #162#return; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~ret9|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647;havoc #t~ret9;#t~post10 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10;havoc #t~post10; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~switch4;havoc #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret11 := misc_release(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !(0 != ~open_called~0); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_mutex~0; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_mutex~0 := 2; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] RET #144#return; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !(1 == ~ldv_mutex~0); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call __blast_assert(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !false; VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- [2018-11-23 12:53:49,638 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,641 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,641 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,642 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,642 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,642 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,643 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,643 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,646 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,646 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,647 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,647 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,647 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 12:53:49,652 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] havoc #t~switch4; [L78] havoc #t~nondet3; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L9] int ldv_mutex = 1; [L11] int open_called = 0; VAL [\old(ldv_mutex)=4, \old(open_called)=3, ldv_mutex=1, open_called=0] [L74] int ldv_s_misc_fops_file_operations = 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L75] CALL my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L69] open_called = 0 [L70] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L75] RET my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, my_init()=0, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L81] COND TRUE ldv_s_misc_fops_file_operations==0 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L82] CALL misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L57] COND TRUE __VERIFIER_nondet_int() [L59] return 1; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=1, ldv_mutex=1, open_called=0] [L82] RET misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, misc_open()=1, open_called=0] [L83] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L89] COND TRUE ldv_s_misc_fops_file_operations==1 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L90] CALL misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L52] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L90] RET misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, misc_read()=0, open_called=0] [L91] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L97] COND TRUE ldv_s_misc_fops_file_operations==2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L98] CALL misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L48] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L98] RET misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, misc_llseek()=0, open_called=0] [L99] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: [L104] case 3: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L105] COND TRUE ldv_s_misc_fops_file_operations==3 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L106] CALL misc_release() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L34] COND FALSE !(\read(open_called)) VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L41] CALL mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L17] ldv_mutex = 2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L41] RET mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L42] CALL mutex_lock() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] CALL __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L4] __VERIFIER_error() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] ----- [2018-11-23 12:53:49,731 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-regression/stateful_check_false-unreach-call_false-termination.i-witness.graphml [2018-11-23 12:53:49,731 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 12:53:49,732 INFO L168 Benchmark]: Toolchain (without parser) took 9075.77 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 694.2 MB). Free memory was 1.4 GB in the beginning and 1.5 GB in the end (delta: -135.7 MB). Peak memory consumption was 558.5 MB. Max. memory is 7.1 GB. [2018-11-23 12:53:49,734 INFO L168 Benchmark]: CDTParser took 0.23 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 12:53:49,735 INFO L168 Benchmark]: CACSL2BoogieTranslator took 350.86 ms. Allocated memory is still 1.5 GB. Free memory was 1.4 GB in the beginning and 1.4 GB in the end (delta: 13.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. [2018-11-23 12:53:49,735 INFO L168 Benchmark]: Boogie Procedure Inliner took 24.62 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 12:53:49,736 INFO L168 Benchmark]: Boogie Preprocessor took 31.99 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 12:53:49,736 INFO L168 Benchmark]: RCFGBuilder took 1192.11 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 694.2 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -729.8 MB). Peak memory consumption was 26.2 MB. Max. memory is 7.1 GB. [2018-11-23 12:53:49,736 INFO L168 Benchmark]: TraceAbstraction took 7340.84 ms. Allocated memory is still 2.2 GB. Free memory was 2.1 GB in the beginning and 1.6 GB in the end (delta: 567.4 MB). Peak memory consumption was 567.4 MB. Max. memory is 7.1 GB. [2018-11-23 12:53:49,737 INFO L168 Benchmark]: Witness Printer took 129.73 ms. Allocated memory is still 2.2 GB. Free memory was 1.6 GB in the beginning and 1.5 GB in the end (delta: 13.5 MB). Peak memory consumption was 13.5 MB. Max. memory is 7.1 GB. [2018-11-23 12:53:49,740 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - GenericResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.23 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 350.86 ms. Allocated memory is still 1.5 GB. Free memory was 1.4 GB in the beginning and 1.4 GB in the end (delta: 13.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 24.62 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Preprocessor took 31.99 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * RCFGBuilder took 1192.11 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 694.2 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -729.8 MB). Peak memory consumption was 26.2 MB. Max. memory is 7.1 GB. * TraceAbstraction took 7340.84 ms. Allocated memory is still 2.2 GB. Free memory was 2.1 GB in the beginning and 1.6 GB in the end (delta: 567.4 MB). Peak memory consumption was 567.4 MB. Max. memory is 7.1 GB. * Witness Printer took 129.73 ms. Allocated memory is still 2.2 GB. Free memory was 1.6 GB in the beginning and 1.5 GB in the end (delta: 13.5 MB). Peak memory consumption was 13.5 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 4]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L9] int ldv_mutex = 1; [L11] int open_called = 0; VAL [\old(ldv_mutex)=4, \old(open_called)=3, ldv_mutex=1, open_called=0] [L74] int ldv_s_misc_fops_file_operations = 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L75] CALL my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L69] open_called = 0 [L70] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L75] RET my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, my_init()=0, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L81] COND TRUE ldv_s_misc_fops_file_operations==0 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L82] CALL misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L57] COND TRUE __VERIFIER_nondet_int() [L59] return 1; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=1, ldv_mutex=1, open_called=0] [L82] RET misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, misc_open()=1, open_called=0] [L83] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L89] COND TRUE ldv_s_misc_fops_file_operations==1 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L90] CALL misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L52] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L90] RET misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, misc_read()=0, open_called=0] [L91] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L97] COND TRUE ldv_s_misc_fops_file_operations==2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L98] CALL misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L48] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L98] RET misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, misc_llseek()=0, open_called=0] [L99] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: [L104] case 3: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L105] COND TRUE ldv_s_misc_fops_file_operations==3 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L106] CALL misc_release() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L34] COND FALSE !(\read(open_called)) VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L41] CALL mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L17] ldv_mutex = 2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L41] RET mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L42] CALL mutex_lock() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] CALL __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L4] __VERIFIER_error() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] - StatisticsResult: Ultimate Automizer benchmark data CFG has 12 procedures, 74 locations, 1 error locations. UNSAFE Result, 7.2s OverallTime, 6 OverallIterations, 4 TraceHistogramMax, 4.3s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 389 SDtfs, 153 SDslu, 356 SDs, 0 SdLazy, 84 SolverSat, 30 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 57 GetRequests, 50 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=222occurred in iteration=5, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.8s AutomataMinimizationTime, 5 MinimizatonAttempts, 54 StatesRemovedByMinimization, 3 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.9s InterpolantComputationTime, 256 NumberOfCodeBlocks, 256 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 187 ConstructedInterpolants, 0 QuantifiedInterpolants, 11127 SizeOfPredicates, 1 NumberOfNonLiveVariables, 116 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 6 InterpolantComputations, 4 PerfectInterpolantSequences, 15/21 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...