Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009649/0.0009649, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 166.3 kB / 24.82 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8904/0.8904, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.525e-05, allocations: 2.312 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2297/0.2297, allocations: 145.7 MB / 419 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.2329, allocations: 4.018 MB / 423 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.233, allocations: 0 / 423 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.2334, allocations: 103.4 kB / 423.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.2354, allocations: 1.237 MB / 424.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.2361, allocations: 406.4 kB / 424.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.2366, allocations: 470.7 kB / 425.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2366, allocations: 6.344 kB / 425.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.2373, allocations: 303 kB / 425.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.2375, allocations: 135.6 kB / 425.7 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.2375, allocations: 16 kB / 425.7 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.2405, allocations: 1.861 MB / 427.6 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2406, allocations: 151.7 kB / 427.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2407, allocations: 127.8 kB / 427.8 MB, free: 6.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.2428, allocations: 1.555 MB / 429.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2428, allocations: 0 / 429.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2428, allocations: 0 / 429.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2428, allocations: 0 / 429.4 MB, free: 5.395 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001268/0.2441, allocations: 0.7772 MB / 430.2 MB, free: 4.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2441, allocations: 15.97 kB / 430.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.2446, allocations: 152.5 kB / 430.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.2449, allocations: 212.4 kB / 430.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2449, allocations: 24.59 kB / 430.6 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.2449, allocations: 28 kB / 430.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.2455, allocations: 0.6741 MB / 431.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2455, allocations: 0 / 431.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.2455, allocations: 12 kB / 431.3 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.2455, allocations: 24.48 kB / 431.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.2458, allocations: 219.3 kB / 431.5 MB, free: 3.117 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.2473, allocations: 1.086 MB / 432.6 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.2478, allocations: 254.5 kB / 432.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2479, allocations: 103.3 kB / 432.9 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/0.2489, allocations: 491.8 kB / 433.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2489, allocations: 41.39 kB / 433.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.2489, allocations: 0 / 433.5 MB, free: 1.102 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.1552/0.4042, allocations: 2.399 MB / 435.9 MB, free: 16.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.4042, allocations: 85.16 kB / 435.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4043, allocations: 240.8 kB / 436.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.4043, allocations: 34.05 kB / 436.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.4044, allocations: 232.9 kB / 436.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4045, allocations: 186.2 kB / 436.6 MB, free: 15.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4047, allocations: 132 kB / 436.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.4047, allocations: 0.5087 MB / 437.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.405, allocations: 140.1 kB / 437.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.4053, allocations: 366.7 kB / 437.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.4058, allocations: 0.5278 MB / 438.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4058, allocations: 1.781 kB / 438.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008048/0.4066, allocations: 0.5797 MB / 438.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4066, allocations: 7.438 kB / 438.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4066, allocations: 5.688 kB / 438.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.4068, allocations: 58.12 kB / 438.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.4073, allocations: 168 kB / 439.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4084, allocations: 3.556 MB / 442.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.4088, allocations: 30.42 kB / 442.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.4088, allocations: 32.06 kB / 442.7 MB, free: 10.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.409, allocations: 193.2 kB / 442.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4091, allocations: 46.08 kB / 442.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000869/0.41, allocations: 0.5782 MB / 443.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.41, allocations: 5.188 kB / 443.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.41, allocations: 2.625 kB / 443.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.41, allocations: 4.609 kB / 443.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.4113, allocations: 1.274 MB / 444.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4113, allocations: 3.094 kB / 444.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.4118, allocations: 134.7 kB / 444.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.762e-05/0.4119, allocations: 47.23 kB / 445 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.4119, allocations: 24 kB / 445 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007198/0.4127, allocations: 3.412 MB / 448.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4127, allocations: 6.344 kB / 448.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.4135, allocations: 0.9501 MB / 449.4 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.4135, allocations: 31.94 kB / 449.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.4136, allocations: 13.19 kB / 449.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.4139, allocations: 26.53 kB / 449.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.414, allocations: 45.39 kB / 449.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.414, allocations: 34.09 kB / 449.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.4141, allocations: 154.4 kB / 449.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.4141, allocations: 0.8125 kB / 449.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001098/0.4152, allocations: 400.4 kB / 450.1 MB, free: 6.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.4166, allocations: 0.8934 MB / 451 MB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.4174, allocations: 0.7754 MB / 451.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4174, allocations: 3.625 kB / 451.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.4177, allocations: 0.5676 MB / 452.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.4182, allocations: 125.4 kB / 452.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4193, allocations: 0.8117 MB / 453.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.378e-05/0.4194, allocations: 111.7 kB / 453.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.4199, allocations: 153.3 kB / 453.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.4203, allocations: 213 kB / 453.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4203, allocations: 2.016 kB / 453.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01909/0.4394, allocations: 20.48 MB / 474.2 MB, free: 400 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.481961676850915]