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_Bitvector.epf -i ../../../trunk/examples/svcomp/ldv-regression/mutex_lock_int_true-termination.c_false-unreach-call.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:06:05,506 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:06:05,509 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:06:05,523 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:06:05,523 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:06:05,524 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:06:05,525 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:06:05,527 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:06:05,529 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:06:05,529 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:06:05,530 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:06:05,531 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:06:05,532 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:06:05,533 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:06:05,534 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:06:05,535 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:06:05,536 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:06:05,537 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:06:05,539 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:06:05,541 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:06:05,542 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:06:05,543 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:06:05,549 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:06:05,549 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:06:05,549 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:06:05,550 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:06:05,556 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:06:05,557 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:06:05,558 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:06:05,559 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:06:05,561 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:06:05,562 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:06:05,562 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:06:05,562 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:06:05,563 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:06:05,564 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:06:05,567 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf [2018-11-23 11:06:05,592 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:06:05,592 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:06:05,593 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:06:05,593 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:06:05,594 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:06:05,594 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:06:05,594 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:06:05,595 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:06:05,595 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:06:05,595 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:06:05,595 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:06:05,595 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:06:05,596 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:06:05,596 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:06:05,596 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:06:05,596 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:06:05,596 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:06:05,597 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:06:05,597 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:06:05,597 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:06:05,597 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:06:05,597 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:06:05,597 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:06:05,598 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:06:05,598 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:06:05,598 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:06:05,598 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:06:05,598 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:06:05,599 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:06:05,599 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:06:05,599 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:06:05,599 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:06:05,599 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:06:05,658 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:06:05,676 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:06:05,679 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:06:05,681 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:06:05,681 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:06:05,682 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/mutex_lock_int_true-termination.c_false-unreach-call.i [2018-11-23 11:06:05,746 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e910ef123/d7b9469a553045cba744ea51e3486402/FLAG66e58fd20 [2018-11-23 11:06:06,168 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:06:06,169 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/mutex_lock_int_true-termination.c_false-unreach-call.i [2018-11-23 11:06:06,175 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e910ef123/d7b9469a553045cba744ea51e3486402/FLAG66e58fd20 [2018-11-23 11:06:06,559 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e910ef123/d7b9469a553045cba744ea51e3486402 [2018-11-23 11:06:06,572 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:06:06,574 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:06:06,575 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:06:06,575 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:06:06,579 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:06:06,581 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,583 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@17459b61 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06, skipping insertion in model container [2018-11-23 11:06:06,584 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,594 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:06:06,620 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:06:06,889 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:06:06,909 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:06:06,935 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:06:06,956 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:06:06,956 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06 WrapperNode [2018-11-23 11:06:06,956 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:06:06,957 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:06:06,957 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:06:06,957 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:06:06,965 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,975 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,983 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:06:06,984 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:06:06,984 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:06:06,984 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:06:06,995 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,995 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,997 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:06,997 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:07,007 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:07,009 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:07,011 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (1/1) ... [2018-11-23 11:06:07,014 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:06:07,014 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:06:07,014 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:06:07,015 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:06:07,016 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (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 11:06:07,139 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:06:07,140 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:06:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:06:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure err [2018-11-23 11:06:07,140 INFO L138 BoogieDeclarations]: Found implementation of procedure err [2018-11-23 11:06:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:06:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2018-11-23 11:06:07,141 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2018-11-23 11:06:07,141 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:06:07,141 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:06:07,141 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:06:07,141 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:06:07,141 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:06:07,142 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:06:07,597 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:06:07,598 INFO L280 CfgBuilder]: Removed 0 assue(true) statements. [2018-11-23 11:06:07,598 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:06:07 BoogieIcfgContainer [2018-11-23 11:06:07,598 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:06:07,599 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:06:07,600 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:06:07,603 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:06:07,603 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:06:06" (1/3) ... [2018-11-23 11:06:07,604 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7a8fdd68 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:06:07, skipping insertion in model container [2018-11-23 11:06:07,605 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:06" (2/3) ... [2018-11-23 11:06:07,605 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7a8fdd68 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:06:07, skipping insertion in model container [2018-11-23 11:06:07,605 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:06:07" (3/3) ... [2018-11-23 11:06:07,607 INFO L112 eAbstractionObserver]: Analyzing ICFG mutex_lock_int_true-termination.c_false-unreach-call.i [2018-11-23 11:06:07,618 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:06:07,627 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:06:07,645 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:06:07,678 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:06:07,679 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:06:07,679 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:06:07,680 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:06:07,680 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:06:07,680 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:06:07,680 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:06:07,681 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:06:07,681 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:06:07,699 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states. [2018-11-23 11:06:07,705 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2018-11-23 11:06:07,705 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:06:07,706 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:06:07,708 INFO L423 AbstractCegarLoop]: === Iteration 1 === [errErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:06:07,714 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:06:07,715 INFO L82 PathProgramCache]: Analyzing trace with hash 1740940083, now seen corresponding path program 1 times [2018-11-23 11:06:07,719 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:06:07,720 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:06:07,744 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:06:07,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:06:07,813 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:06:07,819 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:06:07,921 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 8 [2018-11-23 11:06:07,943 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 8 treesize of output 7 [2018-11-23 11:06:07,947 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:06:07,975 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:06:08,022 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:06:08,023 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 1 variables, input treesize:15, output treesize:11 [2018-11-23 11:06:08,421 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 11 [2018-11-23 11:06:08,481 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 3 [2018-11-23 11:06:08,485 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:06:08,487 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:06:08,506 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:06:08,506 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:15, output treesize:3 [2018-11-23 11:06:08,509 WARN L383 uantifierElimination]: Trying to double check SDD result, but SMT solver's response was UNKNOWN. [2018-11-23 11:06:08,510 WARN L384 uantifierElimination]: Input elimination task: ∃ [|#memory_int|, mutex_lock_~a.base]. (let ((.cse0 (select (select |#memory_int| mutex_lock_~a.base) (_ bv0 32)))) (and (= (_ bv0 32) .cse0) (= |mutex_lock_#t~mem0| .cse0))) [2018-11-23 11:06:08,510 WARN L385 uantifierElimination]: ElimStorePlain result: ∃ []. (= (_ bv0 32) |mutex_lock_#t~mem0|) [2018-11-23 11:06:08,565 INFO L256 TraceCheckUtils]: 0: Hoare triple {26#true} call ULTIMATE.init(); {26#true} is VALID [2018-11-23 11:06:08,570 INFO L273 TraceCheckUtils]: 1: Hoare triple {26#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {26#true} is VALID [2018-11-23 11:06:08,570 INFO L273 TraceCheckUtils]: 2: Hoare triple {26#true} assume true; {26#true} is VALID [2018-11-23 11:06:08,571 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {26#true} {26#true} #26#return; {26#true} is VALID [2018-11-23 11:06:08,571 INFO L256 TraceCheckUtils]: 4: Hoare triple {26#true} call #t~ret2 := main(); {26#true} is VALID [2018-11-23 11:06:08,586 INFO L273 TraceCheckUtils]: 5: Hoare triple {26#true} call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); {46#(and (= (_ bv0 32) (select (select |#memory_int| |main_~#m~0.base|) |main_~#m~0.offset|)) (= (_ bv0 32) |main_~#m~0.offset|))} is VALID [2018-11-23 11:06:08,602 INFO L256 TraceCheckUtils]: 6: Hoare triple {46#(and (= (_ bv0 32) (select (select |#memory_int| |main_~#m~0.base|) |main_~#m~0.offset|)) (= (_ bv0 32) |main_~#m~0.offset|))} call mutex_lock(~#m~0.base, ~#m~0.offset); {50#(and (= (_ bv0 32) (select (select |#memory_int| |mutex_lock_#in~a.base|) |mutex_lock_#in~a.offset|)) (= |mutex_lock_#in~a.offset| (_ bv0 32)))} is VALID [2018-11-23 11:06:08,609 INFO L273 TraceCheckUtils]: 7: Hoare triple {50#(and (= (_ bv0 32) (select (select |#memory_int| |mutex_lock_#in~a.base|) |mutex_lock_#in~a.offset|)) (= |mutex_lock_#in~a.offset| (_ bv0 32)))} ~a.base, ~a.offset := #in~a.base, #in~a.offset;call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); {54#(= (_ bv0 32) |mutex_lock_#t~mem0|)} is VALID [2018-11-23 11:06:08,610 INFO L273 TraceCheckUtils]: 8: Hoare triple {54#(= (_ bv0 32) |mutex_lock_#t~mem0|)} assume 1bv32 == #t~mem0;havoc #t~mem0; {27#false} is VALID [2018-11-23 11:06:08,610 INFO L256 TraceCheckUtils]: 9: Hoare triple {27#false} call err(); {27#false} is VALID [2018-11-23 11:06:08,611 INFO L273 TraceCheckUtils]: 10: Hoare triple {27#false} assume !false; {27#false} is VALID [2018-11-23 11:06:08,613 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 11:06:08,613 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:06:08,617 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:06:08,618 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 11:06:08,622 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 11 [2018-11-23 11:06:08,625 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:06:08,628 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states. [2018-11-23 11:06:08,658 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 11 edges. 11 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:06:08,658 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 11:06:08,666 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 11:06:08,667 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-11-23 11:06:08,669 INFO L87 Difference]: Start difference. First operand 23 states. Second operand 5 states. [2018-11-23 11:06:09,372 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:06:09,373 INFO L93 Difference]: Finished difference Result 40 states and 45 transitions. [2018-11-23 11:06:09,373 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 11:06:09,373 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 11 [2018-11-23 11:06:09,373 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:06:09,375 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 11:06:09,385 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 45 transitions. [2018-11-23 11:06:09,385 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 11:06:09,390 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 45 transitions. [2018-11-23 11:06:09,390 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 45 transitions. [2018-11-23 11:06:09,669 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 45 edges. 45 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:06:09,688 INFO L225 Difference]: With dead ends: 40 [2018-11-23 11:06:09,688 INFO L226 Difference]: Without dead ends: 18 [2018-11-23 11:06:09,693 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 7 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-11-23 11:06:09,715 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states. [2018-11-23 11:06:09,913 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2018-11-23 11:06:09,913 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:06:09,914 INFO L82 GeneralOperation]: Start isEquivalent. First operand 18 states. Second operand 18 states. [2018-11-23 11:06:09,915 INFO L74 IsIncluded]: Start isIncluded. First operand 18 states. Second operand 18 states. [2018-11-23 11:06:09,915 INFO L87 Difference]: Start difference. First operand 18 states. Second operand 18 states. [2018-11-23 11:06:09,919 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:06:09,922 INFO L93 Difference]: Finished difference Result 18 states and 17 transitions. [2018-11-23 11:06:09,923 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 17 transitions. [2018-11-23 11:06:09,923 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:06:09,924 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:06:09,924 INFO L74 IsIncluded]: Start isIncluded. First operand 18 states. Second operand 18 states. [2018-11-23 11:06:09,924 INFO L87 Difference]: Start difference. First operand 18 states. Second operand 18 states. [2018-11-23 11:06:09,928 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:06:09,929 INFO L93 Difference]: Finished difference Result 18 states and 17 transitions. [2018-11-23 11:06:09,929 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 17 transitions. [2018-11-23 11:06:09,929 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:06:09,930 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:06:09,932 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:06:09,932 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:06:09,932 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 18 states. [2018-11-23 11:06:09,934 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 17 transitions. [2018-11-23 11:06:09,939 INFO L78 Accepts]: Start accepts. Automaton has 18 states and 17 transitions. Word has length 11 [2018-11-23 11:06:09,940 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:06:09,940 INFO L480 AbstractCegarLoop]: Abstraction has 18 states and 17 transitions. [2018-11-23 11:06:09,940 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 11:06:09,940 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 17 transitions. [2018-11-23 11:06:09,941 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 11:06:09,941 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:06:09,941 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:06:09,944 INFO L423 AbstractCegarLoop]: === Iteration 2 === [errErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:06:09,944 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:06:09,944 INFO L82 PathProgramCache]: Analyzing trace with hash 68232763, now seen corresponding path program 1 times [2018-11-23 11:06:09,946 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:06:09,947 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:06:09,974 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:06:09,999 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:06:10,022 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:06:10,046 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv2 32), |#NULL.offset|=(_ bv3 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] RET #26#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret2 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv5 32), |main_~#m~0.offset|=(_ bv0 32)] [?] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] ~a.base, ~a.offset := #in~a.base, #in~a.offset;call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32), |mutex_lock_#t~mem0|=(_ bv0 32)] [?] assume !(1bv32 == #t~mem0);havoc #t~mem0; VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(1bv32, ~a.base, ~a.offset, 4bv32); VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] assume true; VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] RET #30#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv5 32), |main_~#m~0.offset|=(_ bv0 32)] [?] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] ~a.base, ~a.offset := #in~a.base, #in~a.offset;call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32), |mutex_lock_#t~mem0|=(_ bv1 32)] [?] assume 1bv32 == #t~mem0;havoc #t~mem0; VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] CALL call err(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] assume !false; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L30] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32); [L31] call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L33] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume !(1bv32 == #t~mem0); [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L19] call write~intINTTYPE4(1bv32, ~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L16-L20] ensures true; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L33] RET call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L37] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=1bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume 1bv32 == #t~mem0; [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L14] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L30] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32); [L31] call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L33] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume !(1bv32 == #t~mem0); [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L19] call write~intINTTYPE4(1bv32, ~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L16-L20] ensures true; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L33] RET call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L37] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=1bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume 1bv32 == #t~mem0; [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L14] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] int m; [L31] m = 0 VAL [m={5:0}] [L33] CALL mutex_lock(&m) VAL [a={5:0}] [L18] EXPR \read(*a) VAL [\read(*a)=0, a={5:0}, a={5:0}] [L18] COND FALSE !(*a == 1) [L19] *a = 1 VAL [a={5:0}, a={5:0}] [L33] RET mutex_lock(&m) VAL [m={5:0}] [L37] CALL mutex_lock(&m) VAL [a={5:0}] [L18] EXPR \read(*a) VAL [\read(*a)=1, a={5:0}, a={5:0}] [L18] COND TRUE *a == 1 [L18] CALL err() [L14] __VERIFIER_error() ----- [2018-11-23 11:06:10,161 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:06:10,161 WARN L170 areAnnotationChecker]: errENTRY has no Hoare annotation [2018-11-23 11:06:10,165 WARN L170 areAnnotationChecker]: errENTRY has no Hoare annotation [2018-11-23 11:06:10,165 WARN L170 areAnnotationChecker]: mutex_lockENTRY has no Hoare annotation [2018-11-23 11:06:10,166 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:06:10,166 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:06:10,166 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:06:10,166 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:06:10,167 WARN L170 areAnnotationChecker]: errFINAL has no Hoare annotation [2018-11-23 11:06:10,167 WARN L170 areAnnotationChecker]: L18 has no Hoare annotation [2018-11-23 11:06:10,167 WARN L170 areAnnotationChecker]: L18 has no Hoare annotation [2018-11-23 11:06:10,167 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:06:10,170 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:06:10,170 WARN L170 areAnnotationChecker]: L33 has no Hoare annotation [2018-11-23 11:06:10,170 WARN L170 areAnnotationChecker]: L33 has no Hoare annotation [2018-11-23 11:06:10,171 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:06:10,171 WARN L170 areAnnotationChecker]: errEXIT has no Hoare annotation [2018-11-23 11:06:10,171 WARN L170 areAnnotationChecker]: L18-1 has no Hoare annotation [2018-11-23 11:06:10,171 WARN L170 areAnnotationChecker]: L18-1 has no Hoare annotation [2018-11-23 11:06:10,171 WARN L170 areAnnotationChecker]: L18-3 has no Hoare annotation [2018-11-23 11:06:10,172 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:06:10,172 WARN L170 areAnnotationChecker]: L33-1 has no Hoare annotation [2018-11-23 11:06:10,172 WARN L170 areAnnotationChecker]: L33-1 has no Hoare annotation [2018-11-23 11:06:10,172 WARN L170 areAnnotationChecker]: mutex_lockFINAL has no Hoare annotation [2018-11-23 11:06:10,173 WARN L170 areAnnotationChecker]: L37 has no Hoare annotation [2018-11-23 11:06:10,175 WARN L170 areAnnotationChecker]: mutex_lockEXIT has no Hoare annotation [2018-11-23 11:06:10,175 WARN L170 areAnnotationChecker]: mutex_lockEXIT has no Hoare annotation [2018-11-23 11:06:10,175 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:06:10,176 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:06:10,176 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 11:06:10,182 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:06:10 BoogieIcfgContainer [2018-11-23 11:06:10,182 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:06:10,183 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:06:10,183 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:06:10,183 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:06:10,184 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:06:07" (3/4) ... [2018-11-23 11:06:10,187 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv2 32), |#NULL.offset|=(_ bv3 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] RET #26#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret2 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv5 32), |main_~#m~0.offset|=(_ bv0 32)] [?] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] ~a.base, ~a.offset := #in~a.base, #in~a.offset;call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32), |mutex_lock_#t~mem0|=(_ bv0 32)] [?] assume !(1bv32 == #t~mem0);havoc #t~mem0; VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(1bv32, ~a.base, ~a.offset, 4bv32); VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] assume true; VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] RET #30#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv5 32), |main_~#m~0.offset|=(_ bv0 32)] [?] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] ~a.base, ~a.offset := #in~a.base, #in~a.offset;call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32), |mutex_lock_#t~mem0|=(_ bv1 32)] [?] assume 1bv32 == #t~mem0;havoc #t~mem0; VAL [mutex_lock_~a.base=(_ bv5 32), mutex_lock_~a.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |mutex_lock_#in~a.base|=(_ bv5 32), |mutex_lock_#in~a.offset|=(_ bv0 32)] [?] CALL call err(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] assume !false; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L30] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32); [L31] call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L33] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume !(1bv32 == #t~mem0); [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L19] call write~intINTTYPE4(1bv32, ~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L16-L20] ensures true; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L33] RET call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L37] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=1bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume 1bv32 == #t~mem0; [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L14] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L30] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(4bv32); [L31] call write~intINTTYPE4(0bv32, ~#m~0.base, ~#m~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L33] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume !(1bv32 == #t~mem0); [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L19] call write~intINTTYPE4(1bv32, ~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L16-L20] ensures true; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L33] RET call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=5bv32, ~#m~0.offset=0bv32] [L37] CALL call mutex_lock(~#m~0.base, ~#m~0.offset); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L16-L20] ~a.base, ~a.offset := #in~a.base, #in~a.offset; [L18] call #t~mem0 := read~intINTTYPE4(~a.base, ~a.offset, 4bv32); VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem0=1bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] assume 1bv32 == #t~mem0; [L18] havoc #t~mem0; VAL [#in~a.base=5bv32, #in~a.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a.base=5bv32, ~a.offset=0bv32] [L18] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L14] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret2 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] FCALL call ~#m~0 := #Ultimate.alloc(4bv32); [L31] FCALL call write~intINTTYPE4(0bv32, ~#m~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L33] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND FALSE !(1bv32 == #t~mem0) [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L19] FCALL call write~intINTTYPE4(1bv32, ~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L33] RET call mutex_lock(~#m~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=5bv32, ~#m~0!offset=0bv32] [L37] CALL call mutex_lock(~#m~0); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L16-L20] ~a := #in~a; [L18] FCALL call #t~mem0 := read~intINTTYPE4(~a, 4bv32); VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem0=1bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] COND TRUE 1bv32 == #t~mem0 [L18] havoc #t~mem0; VAL [#in~a!base=5bv32, #in~a!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a!base=5bv32, ~a!offset=0bv32] [L18] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L14] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L30] int m; [L31] m = 0 VAL [m={5:0}] [L33] CALL mutex_lock(&m) VAL [a={5:0}] [L18] EXPR \read(*a) VAL [\read(*a)=0, a={5:0}, a={5:0}] [L18] COND FALSE !(*a == 1) [L19] *a = 1 VAL [a={5:0}, a={5:0}] [L33] RET mutex_lock(&m) VAL [m={5:0}] [L37] CALL mutex_lock(&m) VAL [a={5:0}] [L18] EXPR \read(*a) VAL [\read(*a)=1, a={5:0}, a={5:0}] [L18] COND TRUE *a == 1 [L18] CALL err() [L14] __VERIFIER_error() ----- [2018-11-23 11:06:10,303 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-regression/mutex_lock_int_true-termination.c_false-unreach-call.i-witness.graphml [2018-11-23 11:06:10,303 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:06:10,304 INFO L168 Benchmark]: Toolchain (without parser) took 3731.15 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 737.1 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -658.8 MB). Peak memory consumption was 78.4 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:10,306 INFO L168 Benchmark]: CDTParser took 0.22 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:06:10,306 INFO L168 Benchmark]: CACSL2BoogieTranslator took 381.65 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: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:10,307 INFO L168 Benchmark]: Boogie Procedure Inliner took 26.41 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 11:06:10,308 INFO L168 Benchmark]: Boogie Preprocessor took 30.27 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 11:06:10,308 INFO L168 Benchmark]: RCFGBuilder took 584.24 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 737.1 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -778.1 MB). Peak memory consumption was 26.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:10,309 INFO L168 Benchmark]: TraceAbstraction took 2582.61 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.1 GB in the end (delta: 108.7 MB). Peak memory consumption was 108.7 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:10,310 INFO L168 Benchmark]: Witness Printer took 120.29 ms. Allocated memory is still 2.3 GB. Free memory is still 2.1 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:06:10,314 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.22 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 381.65 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: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 26.41 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 30.27 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 584.24 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 737.1 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -778.1 MB). Peak memory consumption was 26.2 MB. Max. memory is 7.1 GB. * TraceAbstraction took 2582.61 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.1 GB in the end (delta: 108.7 MB). Peak memory consumption was 108.7 MB. Max. memory is 7.1 GB. * Witness Printer took 120.29 ms. Allocated memory is still 2.3 GB. Free memory is still 2.1 GB. There was no memory consumed. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 14]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L30] int m; [L31] m = 0 VAL [m={5:0}] [L33] CALL mutex_lock(&m) VAL [a={5:0}] [L18] EXPR \read(*a) VAL [\read(*a)=0, a={5:0}, a={5:0}] [L18] COND FALSE !(*a == 1) [L19] *a = 1 VAL [a={5:0}, a={5:0}] [L33] RET mutex_lock(&m) VAL [m={5:0}] [L37] CALL mutex_lock(&m) VAL [a={5:0}] [L18] EXPR \read(*a) VAL [\read(*a)=1, a={5:0}, a={5:0}] [L18] COND TRUE *a == 1 [L18] CALL err() [L14] __VERIFIER_error() - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 23 locations, 1 error locations. UNSAFE Result, 2.4s OverallTime, 2 OverallIterations, 2 TraceHistogramMax, 1.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 18 SDtfs, 1 SDslu, 47 SDs, 0 SdLazy, 17 SolverSat, 1 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 7 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=23occurred in iteration=0, 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.2s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 28 NumberOfCodeBlocks, 28 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 10 ConstructedInterpolants, 0 QuantifiedInterpolants, 320 SizeOfPredicates, 6 NumberOfNonLiveVariables, 39 ConjunctsInSsa, 10 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...