Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 107.7 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007983/0.0007985, allocations: 43.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2028, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3066/0.5094, allocations: 148.6 MB / 0.5102 GB, free: 13.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.5109, allocations: 1.546 MB / 0.5117 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.5111, allocations: 0 / 0.5117 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.5113, allocations: 45.27 kB / 0.5117 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006639/0.512, allocations: 346.4 kB / 0.5121 GB, free: 13.13 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.5124, allocations: 159.1 kB / 0.5122 GB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.5127, allocations: 247.5 kB / 0.5125 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.5127, allocations: 6.625 kB / 0.5125 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.5128, allocations: 71.67 kB / 0.5125 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.5129, allocations: 59.16 kB / 0.5126 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.513, allocations: 7.141 kB / 0.5126 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.514, allocations: 0.6795 MB / 0.5133 GB, free: 13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.5141, allocations: 26.28 kB / 0.5133 GB, free: 13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.5142, allocations: 46.53 kB / 0.5133 GB, free: 13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.5149, allocations: 435.9 kB / 0.5137 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5149, allocations: 0 / 0.5137 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.5149, allocations: 0 / 0.5137 GB, free: 12.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.5149, allocations: 0 / 0.5137 GB, free: 12.97 MB / 394.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.0005153/0.5155, allocations: 429.3 kB / 0.5142 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5155, allocations: 9.25 kB / 0.5142 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5175, allocations: 199.2 kB / 0.5144 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.5177, allocations: 206 kB / 0.5146 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.5178, allocations: 10.81 kB / 0.5146 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.5178, allocations: 10.88 kB / 0.5146 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.5182, allocations: 202.2 kB / 0.5148 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.5182, allocations: 1.203 kB / 0.5148 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.5183, allocations: 3.875 kB / 0.5148 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5183, allocations: 1.812 kB / 0.5148 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.5188, allocations: 240.6 kB / 0.515 GB, free: 12.32 MB / 394.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.001631/0.5204, allocations: 0.676 MB / 0.5157 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.5208, allocations: 183.2 kB / 0.5158 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.521, allocations: 96.62 kB / 0.5159 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.5212, allocations: 88.78 kB / 0.516 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5212, allocations: 44.91 kB / 0.5161 GB, free: 11.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.5212, allocations: 1.094 kB / 0.5161 GB, free: 11.77 MB / 394.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.005528/0.5268, allocations: 1.534 MB / 0.5176 GB, free: 11.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5268, allocations: 53.53 kB / 0.5176 GB, free: 11.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.5269, allocations: 109.6 kB / 0.5177 GB, free: 10.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.5269, allocations: 33.64 kB / 0.5177 GB, free: 10.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.527, allocations: 102.3 kB / 0.5178 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.5271, allocations: 69.03 kB / 0.5179 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.5272, allocations: 48.67 kB / 0.518 GB, free: 10.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.5273, allocations: 324.1 kB / 0.5183 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.5275, allocations: 87.39 kB / 0.5183 GB, free: 10.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.5277, allocations: 122.9 kB / 0.5185 GB, free: 10.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.5282, allocations: 227.9 kB / 0.5187 GB, free: 10.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5282, allocations: 0.9375 kB / 0.5187 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005998/0.5288, allocations: 285.2 kB / 0.519 GB, free: 10.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5288, allocations: 9.25 kB / 0.519 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5288, allocations: 2.703 kB / 0.519 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.529, allocations: 24.47 kB / 0.519 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.5294, allocations: 58.59 kB / 0.519 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000344/0.5298, allocations: 0.5369 MB / 0.5196 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.5301, allocations: 19.16 kB / 0.5196 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.5301, allocations: 9.328 kB / 0.5196 GB, free: 9.801 MB / 394.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.0001226/0.5303, allocations: 130.8 kB / 0.5197 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.5303, allocations: 8.656 kB / 0.5197 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.5311, allocations: 312.3 kB / 0.52 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5311, allocations: 2.719 kB / 0.52 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5311, allocations: 3.938 kB / 0.52 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.5311, allocations: 8.5 kB / 0.52 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5322, allocations: 0.6734 MB / 0.5207 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5322, allocations: 0.75 kB / 0.5207 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.5326, allocations: 48.42 kB / 0.5207 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-05/0.5327, allocations: 24.16 kB / 0.5208 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5327, allocations: 14.09 kB / 0.5208 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/0.5336, allocations: 1.26 MB / 0.522 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5336, allocations: 7.062 kB / 0.522 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/0.5588, allocations: 4.897 MB / 0.5268 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.5589, allocations: 91.11 kB / 0.5269 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.5589, allocations: 6.031 kB / 0.5269 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.5593, allocations: 12.95 kB / 0.5269 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.5593, allocations: 19.08 kB / 0.5269 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.5594, allocations: 11.58 kB / 0.5269 GB, free: 4.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.5594, allocations: 89.7 kB / 0.527 GB, free: 4.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5594, allocations: 1.203 kB / 0.527 GB, free: 4.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001079/0.5605, allocations: 339.2 kB / 0.5273 GB, free: 4.855 MB / 394.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.001957/0.5625, allocations: 465 kB / 0.5278 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.5631, allocations: 225.4 kB / 0.528 GB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5631, allocations: 96 / 0.528 GB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.5635, allocations: 243.4 kB / 0.5282 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.564, allocations: 46.33 kB / 0.5283 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5651, allocations: 0.8002 MB / 0.5291 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5653, allocations: 0.713 MB / 0.5298 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004222/0.5657, allocations: 57.27 kB / 0.5298 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5659, allocations: 30.98 kB / 0.5298 GB, free: 3.047 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5659, allocations: 0 / 0.5298 GB, free: 3.047 MB / 394.7 MB Notification: Performance of Templates: time 0.02134/0.5872, allocations: 18.51 MB / 0.5479 GB, free: 9.176 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches