/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data --traceabstraction.trace.refinement.strategy FIXED_PREFERENCES --traceabstraction.compute.interpolants.along.a.counterexample FPandBPonlyIfFpWasNotPerfect -tc ../../../trunk/examples/toolchains/AutomizerC.xml --traceabstraction.assert.codeblocks SMT_FEATURE_HEURISTIC --traceabstraction.assert.codeblocks.term.scoring.heuristic DAGSIZE --traceabstraction.assert.codeblocks.term.scoring.heuristic.partitioning.strategy FIXED_NUM_PARTITIONS --traceabstraction.assert.codeblocks.term.scoring.heuristic.number.of.partitions 2 -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -i ../../../trunk/examples/svcomp/ldv-regression/mutex_lock_int.i -------------------------------------------------------------------------------- This is Ultimate 0.1.25-d623d84 [2020-07-21 19:59:18,972 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-07-21 19:59:18,974 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-07-21 19:59:18,992 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-07-21 19:59:18,992 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-07-21 19:59:18,993 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-07-21 19:59:18,996 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-07-21 19:59:18,998 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-07-21 19:59:19,001 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-07-21 19:59:19,003 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-07-21 19:59:19,004 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-07-21 19:59:19,006 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-07-21 19:59:19,006 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-07-21 19:59:19,008 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-07-21 19:59:19,009 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-07-21 19:59:19,011 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-07-21 19:59:19,012 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-07-21 19:59:19,014 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-07-21 19:59:19,016 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-07-21 19:59:19,019 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-07-21 19:59:19,021 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-07-21 19:59:19,023 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-07-21 19:59:19,025 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-07-21 19:59:19,026 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-07-21 19:59:19,029 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-07-21 19:59:19,030 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-07-21 19:59:19,030 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-07-21 19:59:19,031 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-07-21 19:59:19,032 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-07-21 19:59:19,036 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-07-21 19:59:19,036 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-07-21 19:59:19,038 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-07-21 19:59:19,039 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-07-21 19:59:19,040 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-07-21 19:59:19,041 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-07-21 19:59:19,042 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-07-21 19:59:19,043 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-07-21 19:59:19,044 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-07-21 19:59:19,044 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-07-21 19:59:19,045 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-07-21 19:59:19,048 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-07-21 19:59:19,050 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2020-07-21 19:59:19,083 INFO L113 SettingsManager]: Loading preferences was successful [2020-07-21 19:59:19,084 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-07-21 19:59:19,090 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-07-21 19:59:19,090 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-07-21 19:59:19,090 INFO L138 SettingsManager]: * Use SBE=true [2020-07-21 19:59:19,091 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-07-21 19:59:19,091 INFO L138 SettingsManager]: * sizeof long=4 [2020-07-21 19:59:19,091 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-07-21 19:59:19,091 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-07-21 19:59:19,091 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-07-21 19:59:19,093 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-07-21 19:59:19,093 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-07-21 19:59:19,094 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-07-21 19:59:19,095 INFO L138 SettingsManager]: * sizeof long double=12 [2020-07-21 19:59:19,095 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-07-21 19:59:19,095 INFO L138 SettingsManager]: * Use constant arrays=true [2020-07-21 19:59:19,096 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-07-21 19:59:19,096 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-07-21 19:59:19,096 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-07-21 19:59:19,096 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-07-21 19:59:19,096 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-07-21 19:59:19,097 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-07-21 19:59:19,097 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-07-21 19:59:19,097 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-07-21 19:59:19,097 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-07-21 19:59:19,097 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-07-21 19:59:19,097 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 19:59:19,098 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2020-07-21 19:59:19,098 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-07-21 19:59:19,098 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Trace refinement strategy -> FIXED_PREFERENCES Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Interpolants along a Counterexample -> FPandBPonlyIfFpWasNotPerfect Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks -> SMT_FEATURE_HEURISTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks Term Scoring Heuristic -> DAGSIZE Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks Term Scoring Heuristic Partitioning Strategy -> FIXED_NUM_PARTITIONS Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks Term Scoring Heuristic number of partitions -> 2 [2020-07-21 19:59:19,516 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2020-07-21 19:59:19,534 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-07-21 19:59:19,539 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-07-21 19:59:19,541 INFO L271 PluginConnector]: Initializing CDTParser... [2020-07-21 19:59:19,542 INFO L275 PluginConnector]: CDTParser initialized [2020-07-21 19:59:19,543 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/mutex_lock_int.i [2020-07-21 19:59:19,659 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f1eeec042/2923daba59dd45a5b74cdfc78204317c/FLAGf28975264 [2020-07-21 19:59:20,334 INFO L306 CDTParser]: Found 1 translation units. [2020-07-21 19:59:20,335 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/mutex_lock_int.i [2020-07-21 19:59:20,342 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f1eeec042/2923daba59dd45a5b74cdfc78204317c/FLAGf28975264 [2020-07-21 19:59:20,689 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f1eeec042/2923daba59dd45a5b74cdfc78204317c [2020-07-21 19:59:20,704 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-07-21 19:59:20,708 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2020-07-21 19:59:20,710 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-07-21 19:59:20,710 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-07-21 19:59:20,715 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-07-21 19:59:20,717 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 07:59:20" (1/1) ... [2020-07-21 19:59:20,722 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b8f94e4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:20, skipping insertion in model container [2020-07-21 19:59:20,722 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 07:59:20" (1/1) ... [2020-07-21 19:59:20,733 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-07-21 19:59:20,758 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-07-21 19:59:21,035 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-21 19:59:21,058 INFO L203 MainTranslator]: Completed pre-run [2020-07-21 19:59:21,083 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-21 19:59:21,106 INFO L208 MainTranslator]: Completed translation [2020-07-21 19:59:21,107 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21 WrapperNode [2020-07-21 19:59:21,108 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-07-21 19:59:21,109 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-07-21 19:59:21,110 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-07-21 19:59:21,110 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-07-21 19:59:21,133 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,134 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,147 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,147 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,156 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,159 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,161 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (1/1) ... [2020-07-21 19:59:21,164 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-07-21 19:59:21,165 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-07-21 19:59:21,165 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-07-21 19:59:21,165 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-07-21 19:59:21,167 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (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 [2020-07-21 19:59:21,458 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-07-21 19:59:21,458 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-07-21 19:59:21,458 INFO L138 BoogieDeclarations]: Found implementation of procedure err [2020-07-21 19:59:21,458 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2020-07-21 19:59:21,459 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_unlock [2020-07-21 19:59:21,459 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-07-21 19:59:21,459 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_error [2020-07-21 19:59:21,459 INFO L130 BoogieDeclarations]: Found specification of procedure err [2020-07-21 19:59:21,459 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2020-07-21 19:59:21,459 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-07-21 19:59:21,460 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-07-21 19:59:21,460 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_unlock [2020-07-21 19:59:21,460 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-07-21 19:59:21,460 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-07-21 19:59:21,460 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-07-21 19:59:21,461 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-07-21 19:59:21,461 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-07-21 19:59:21,716 INFO L290 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-07-21 19:59:21,716 INFO L295 CfgBuilder]: Removed 0 assume(true) statements. [2020-07-21 19:59:21,724 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 07:59:21 BoogieIcfgContainer [2020-07-21 19:59:21,724 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-07-21 19:59:21,726 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-07-21 19:59:21,726 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-07-21 19:59:21,731 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-07-21 19:59:21,732 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.07 07:59:20" (1/3) ... [2020-07-21 19:59:21,733 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4280e61a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.07 07:59:21, skipping insertion in model container [2020-07-21 19:59:21,733 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 07:59:21" (2/3) ... [2020-07-21 19:59:21,734 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4280e61a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.07 07:59:21, skipping insertion in model container [2020-07-21 19:59:21,734 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 07:59:21" (3/3) ... [2020-07-21 19:59:21,737 INFO L109 eAbstractionObserver]: Analyzing ICFG mutex_lock_int.i [2020-07-21 19:59:21,753 INFO L157 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBPonlyIfFpWasNotPerfect Determinization: PREDICATE_ABSTRACTION [2020-07-21 19:59:21,762 INFO L169 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-07-21 19:59:21,825 INFO L251 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2020-07-21 19:59:21,898 INFO L375 AbstractCegarLoop]: Interprodecural is true [2020-07-21 19:59:21,898 INFO L376 AbstractCegarLoop]: Hoare is true [2020-07-21 19:59:21,899 INFO L377 AbstractCegarLoop]: Compute interpolants for FPandBPonlyIfFpWasNotPerfect [2020-07-21 19:59:21,899 INFO L378 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-07-21 19:59:21,899 INFO L379 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-07-21 19:59:21,899 INFO L380 AbstractCegarLoop]: Difference is false [2020-07-21 19:59:21,899 INFO L381 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-07-21 19:59:21,900 INFO L385 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-07-21 19:59:21,928 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states. [2020-07-21 19:59:21,937 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2020-07-21 19:59:21,937 INFO L414 BasicCegarLoop]: Found error trace [2020-07-21 19:59:21,938 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-21 19:59:21,939 INFO L427 AbstractCegarLoop]: === Iteration 1 === [errErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-21 19:59:21,951 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-21 19:59:21,952 INFO L82 PathProgramCache]: Analyzing trace with hash 589228543, now seen corresponding path program 1 times [2020-07-21 19:59:21,967 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-07-21 19:59:21,968 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [911601094] [2020-07-21 19:59:21,969 INFO L95 rtionOrderModulation]: Keeping assertion order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 2 partitions) No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 19:59:22,097 INFO L228 tOrderPrioritization]: Assert order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 2 partitions) issued 1 check-sat command(s) [2020-07-21 19:59:22,098 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2020-07-21 19:59:22,110 INFO L263 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 13 conjunts are in the unsatisfiable core [2020-07-21 19:59:22,122 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-07-21 19:59:22,227 INFO L384 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 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 11 treesize of output 7 [2020-07-21 19:59:22,228 INFO L544 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-07-21 19:59:22,243 INFO L624 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-07-21 19:59:22,243 INFO L544 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2020-07-21 19:59:22,244 INFO L244 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:11, output treesize:7 [2020-07-21 19:59:22,314 INFO L384 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 7 [2020-07-21 19:59:22,315 INFO L544 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-07-21 19:59:22,320 INFO L624 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-07-21 19:59:22,321 INFO L544 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2020-07-21 19:59:22,322 INFO L244 ElimStorePlain]: Needed 2 recursive calls to eliminate 3 variables, input treesize:15, output treesize:3 [2020-07-21 19:59:22,347 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-21 19:59:22,348 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2020-07-21 19:59:22,349 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModulePreferences [911601094] [2020-07-21 19:59:22,351 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-21 19:59:22,352 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-07-21 19:59:22,353 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1560865355] [2020-07-21 19:59:22,361 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2020-07-21 19:59:22,362 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FIXED_PREFERENCES [2020-07-21 19:59:22,375 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-07-21 19:59:22,376 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-07-21 19:59:22,379 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 5 states. [2020-07-21 19:59:22,540 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-21 19:59:22,541 INFO L93 Difference]: Finished difference Result 40 states and 45 transitions. [2020-07-21 19:59:22,541 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-07-21 19:59:22,543 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 11 [2020-07-21 19:59:22,544 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-21 19:59:22,552 INFO L225 Difference]: With dead ends: 40 [2020-07-21 19:59:22,552 INFO L226 Difference]: Without dead ends: 18 [2020-07-21 19:59:22,559 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 7 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2020-07-21 19:59:22,578 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states. [2020-07-21 19:59:22,607 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2020-07-21 19:59:22,609 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 18 states. [2020-07-21 19:59:22,611 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 17 transitions. [2020-07-21 19:59:22,614 INFO L78 Accepts]: Start accepts. Automaton has 18 states and 17 transitions. Word has length 11 [2020-07-21 19:59:22,614 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-21 19:59:22,614 INFO L479 AbstractCegarLoop]: Abstraction has 18 states and 17 transitions. [2020-07-21 19:59:22,614 INFO L480 AbstractCegarLoop]: Interpolant automaton has 5 states. [2020-07-21 19:59:22,615 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 17 transitions. [2020-07-21 19:59:22,616 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2020-07-21 19:59:22,616 INFO L414 BasicCegarLoop]: Found error trace [2020-07-21 19:59:22,616 INFO L422 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-21 19:59:22,822 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 19:59:22,823 INFO L427 AbstractCegarLoop]: === Iteration 2 === [errErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-21 19:59:22,824 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-21 19:59:22,824 INFO L82 PathProgramCache]: Analyzing trace with hash -1258570105, now seen corresponding path program 1 times [2020-07-21 19:59:22,825 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-07-21 19:59:22,825 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [2098082445] [2020-07-21 19:59:22,827 INFO L95 rtionOrderModulation]: Keeping assertion order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 2 partitions) No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 19:59:22,900 INFO L228 tOrderPrioritization]: Assert order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 2 partitions) issued 2 check-sat command(s) [2020-07-21 19:59:22,901 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2020-07-21 19:59:22,901 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-07-21 19:59:22,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-07-21 19:59:22,919 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-07-21 19:59:22,944 INFO L174 FreeRefinementEngine]: Strategy FIXED_PREFERENCES found a feasible trace [2020-07-21 19:59:22,944 INFO L520 BasicCegarLoop]: Counterexample might be feasible [2020-07-21 19:59:23,161 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 19:59:23,201 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.07 07:59:23 BoogieIcfgContainer [2020-07-21 19:59:23,201 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-07-21 19:59:23,204 INFO L168 Benchmark]: Toolchain (without parser) took 2497.84 ms. Allocated memory was 144.7 MB in the beginning and 206.6 MB in the end (delta: 61.9 MB). Free memory was 102.8 MB in the beginning and 126.9 MB in the end (delta: -24.1 MB). Peak memory consumption was 37.8 MB. Max. memory is 7.1 GB. [2020-07-21 19:59:23,204 INFO L168 Benchmark]: CDTParser took 0.55 ms. Allocated memory is still 144.7 MB. Free memory is still 120.5 MB. There was no memory consumed. Max. memory is 7.1 GB. [2020-07-21 19:59:23,205 INFO L168 Benchmark]: CACSL2BoogieTranslator took 398.94 ms. Allocated memory is still 144.7 MB. Free memory was 102.4 MB in the beginning and 93.0 MB in the end (delta: 9.4 MB). Peak memory consumption was 9.4 MB. Max. memory is 7.1 GB. [2020-07-21 19:59:23,206 INFO L168 Benchmark]: Boogie Preprocessor took 54.64 ms. Allocated memory is still 144.7 MB. Free memory was 93.0 MB in the beginning and 91.7 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. [2020-07-21 19:59:23,208 INFO L168 Benchmark]: RCFGBuilder took 559.75 ms. Allocated memory was 144.7 MB in the beginning and 206.6 MB in the end (delta: 61.9 MB). Free memory was 91.3 MB in the beginning and 172.4 MB in the end (delta: -81.1 MB). Peak memory consumption was 10.1 MB. Max. memory is 7.1 GB. [2020-07-21 19:59:23,209 INFO L168 Benchmark]: TraceAbstraction took 1475.49 ms. Allocated memory is still 206.6 MB. Free memory was 171.4 MB in the beginning and 126.9 MB in the end (delta: 44.5 MB). Peak memory consumption was 44.5 MB. Max. memory is 7.1 GB. [2020-07-21 19:59:23,213 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.55 ms. Allocated memory is still 144.7 MB. Free memory is still 120.5 MB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 398.94 ms. Allocated memory is still 144.7 MB. Free memory was 102.4 MB in the beginning and 93.0 MB in the end (delta: 9.4 MB). Peak memory consumption was 9.4 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 54.64 ms. Allocated memory is still 144.7 MB. Free memory was 93.0 MB in the beginning and 91.7 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 559.75 ms. Allocated memory was 144.7 MB in the beginning and 206.6 MB in the end (delta: 61.9 MB). Free memory was 91.3 MB in the beginning and 172.4 MB in the end (delta: -81.1 MB). Peak memory consumption was 10.1 MB. Max. memory is 7.1 GB. * TraceAbstraction took 1475.49 ms. Allocated memory is still 206.6 MB. Free memory was 171.4 MB in the beginning and 126.9 MB in the end (delta: 44.5 MB). Peak memory consumption was 44.5 MB. 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={2:0}] [L33] CALL mutex_lock(&m) VAL [a={2:0}] [L18] EXPR \read(*a) VAL [\read(*a)=0, a={2:0}, a={2:0}] [L18] COND FALSE !(*a == 1) [L19] *a = 1 VAL [a={2:0}, a={2:0}] [L33] RET mutex_lock(&m) VAL [m={2:0}] [L37] CALL mutex_lock(&m) VAL [a={2:0}] [L18] EXPR \read(*a) VAL [\read(*a)=1, a={2:0}, a={2:0}] [L18] COND TRUE *a == 1 [L18] CALL err() [L14] __VERIFIER_error() - StatisticsResult: Ultimate Automizer benchmark data CFG has 6 procedures, 29 locations, 1 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 1.2s, OverallIterations: 2, TraceHistogramMax: 2, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 18 SDtfs, 1 SDslu, 47 SDs, 0 SdLazy, 17 SolverSat, 1 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 7 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=26occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 28 NumberOfCodeBlocks, 23 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 10 ConstructedInterpolants, 0 QuantifiedInterpolants, 240 SizeOfPredicates, 6 NumberOfNonLiveVariables, 42 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...