Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 93.27 kB / 291.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3371/0.3371, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 51.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, allocations: 60.8 MB / 0.5064 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1453/0.4423, allocations: 147.4 MB / 0.6503 GB, free: 12.3 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.4445, allocations: 1.643 MB / 0.6519 GB, free: 10.65 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.4446, allocations: 0 / 0.6519 GB, free: 10.65 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.445, allocations: 43.8 kB / 0.6519 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.4462, allocations: 370.4 kB / 0.6523 GB, free: 10.25 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.4467, allocations: 152.1 kB / 0.6524 GB, free: 10.1 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.4471, allocations: 247.2 kB / 0.6527 GB, free: 9.855 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.4471, allocations: 8 kB / 0.6527 GB, free: 9.848 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.4473, allocations: 73.81 kB / 0.6527 GB, free: 9.777 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.4475, allocations: 63.75 kB / 0.6528 GB, free: 9.715 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4475, allocations: 4 kB / 0.6528 GB, free: 9.711 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.4487, allocations: 0.6977 MB / 0.6535 GB, free: 9.012 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.4488, allocations: 35.89 kB / 0.6535 GB, free: 8.977 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.4489, allocations: 47.78 kB / 0.6536 GB, free: 8.93 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008534/0.4498, allocations: 446.8 kB / 0.654 GB, free: 8.492 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4498, allocations: 4 kB / 0.654 GB, free: 8.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.4498, allocations: 3.984 kB / 0.654 GB, free: 8.484 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.4498, allocations: 0 / 0.654 GB, free: 8.484 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005876/0.4504, allocations: 427.5 kB / 0.6544 GB, free: 8.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4504, allocations: 8.031 kB / 0.6544 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.4527, allocations: 196.6 kB / 0.6546 GB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.453, allocations: 215.7 kB / 0.6548 GB, free: 7.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.453, allocations: 4 kB / 0.6548 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.4531, allocations: 8 kB / 0.6548 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.4536, allocations: 199 kB / 0.655 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4536, allocations: 0 / 0.655 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.4536, allocations: 11.98 kB / 0.655 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4537, allocations: 7.875 kB / 0.655 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.4543, allocations: 239.8 kB / 0.6553 GB, free: 7.105 MB / 474.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.001897/0.4562, allocations: 0.6647 MB / 0.6559 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.4566, allocations: 182.5 kB / 0.6561 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.4568, allocations: 97.56 kB / 0.6562 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.457, allocations: 89.09 kB / 0.6563 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4571, allocations: 34.56 kB / 0.6563 GB, free: 5.961 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 3.737e-06/0.4571, allocations: 0 / 0.6563 GB, free: 5.961 MB / 474.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005836/0.4629, allocations: 1.547 MB / 0.6578 GB, free: 4.301 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.463, allocations: 55.41 kB / 0.6579 GB, free: 4.234 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.4631, allocations: 113.8 kB / 0.658 GB, free: 4.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.4631, allocations: 33.7 kB / 0.658 GB, free: 4.074 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.4631, allocations: 84.42 kB / 0.6581 GB, free: 3.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.4632, allocations: 78.92 kB / 0.6582 GB, free: 3.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.4633, allocations: 41.7 kB / 0.6582 GB, free: 3.863 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4634, allocations: 326.8 kB / 0.6585 GB, free: 3.535 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.4637, allocations: 87.95 kB / 0.6586 GB, free: 3.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.4639, allocations: 129.8 kB / 0.6587 GB, free: 3.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.4644, allocations: 229.1 kB / 0.6589 GB, free: 3.078 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4644, allocations: 4 kB / 0.6589 GB, free: 3.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006424/0.465, allocations: 278.2 kB / 0.6592 GB, free: 2.793 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4651, allocations: 4 kB / 0.6592 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4651, allocations: 3.938 kB / 0.6592 GB, free: 2.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.4653, allocations: 24.84 kB / 0.6592 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.4657, allocations: 60.06 kB / 0.6593 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003373/0.4661, allocations: 0.5327 MB / 0.6598 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.4664, allocations: 19.95 kB / 0.6598 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.4665, allocations: 8 kB / 0.6598 GB, free: 2.113 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.4666, allocations: 131.4 kB / 0.66 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.4667, allocations: 7.906 kB / 0.66 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.4675, allocations: 315.1 kB / 0.6603 GB, free: 1.648 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4675, allocations: 4 kB / 0.6603 GB, free: 1.645 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4675, allocations: 4 kB / 0.6603 GB, free: 1.641 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4675, allocations: 3.984 kB / 0.6603 GB, free: 1.637 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4687, allocations: 0.6678 MB / 0.6609 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4687, allocations: 4.094 kB / 0.6609 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.4692, allocations: 51.89 kB / 0.661 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/0.4692, allocations: 20.84 kB / 0.661 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4693, allocations: 4 kB / 0.661 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008483/0.4701, allocations: 1.264 MB / 0.6622 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4702, allocations: 7.969 kB / 0.6623 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02734/0.4975, allocations: 4.902 MB / 0.667 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.4976, allocations: 84.95 kB / 0.6671 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4976, allocations: 8 kB / 0.6671 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.498, allocations: 7.984 kB / 0.6671 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.498, allocations: 15.98 kB / 0.6672 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.4981, allocations: 11.98 kB / 0.6672 GB, free: 10.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.961e-05/0.4981, allocations: 91.27 kB / 0.6673 GB, free: 9.941 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4981, allocations: 128 / 0.6673 GB, free: 9.941 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009845/0.4991, allocations: 343.9 kB / 0.6676 GB, free: 9.605 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002068/0.5012, allocations: 463.2 kB / 0.668 GB, free: 9.141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.5019, allocations: 239.8 kB / 0.6683 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5019, allocations: 4 kB / 0.6683 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.5023, allocations: 234.4 kB / 0.6685 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.5028, allocations: 49.42 kB / 0.6685 GB, free: 8.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5039, allocations: 0.802 MB / 0.6693 GB, free: 7.754 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.5042, allocations: 0.7166 MB / 0.67 GB, free: 7.012 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.5046, allocations: 69.53 kB / 0.6701 GB, free: 6.945 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.5048, allocations: 31.42 kB / 0.6701 GB, free: 6.914 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5048, allocations: 0 / 0.6701 GB, free: 6.914 MB / 490.7 MB Notification: Performance of Templates: time 0.2141/0.7189, allocations: 18.43 MB / 0.6881 GB, free: 140.4 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches