Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 175.3 kB / 16.72 MB, free: 4.961 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.188/1.188, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007059/0.0007059, allocations: 85.42 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2734/0.2734, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 16 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09139, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2733/0.3647, allocations: 136.8 MB / 0.6129 GB, free: 13.86 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3663, allocations: 1.393 MB / 0.6143 GB, free: 12.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.3663, allocations: 4 kB / 0.6143 GB, free: 12.48 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.3666, allocations: 43.8 kB / 0.6143 GB, free: 12.44 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.3673, allocations: 333 kB / 0.6147 GB, free: 12.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.3677, allocations: 131.6 kB / 0.6148 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.3679, allocations: 215.1 kB / 0.615 GB, free: 11.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.3679, allocations: 6.922 kB / 0.615 GB, free: 11.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3681, allocations: 71.75 kB / 0.6151 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3682, allocations: 67.75 kB / 0.6151 GB, free: 11.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3682, allocations: 4 kB / 0.6151 GB, free: 11.63 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3693, allocations: 0.6665 MB / 0.6158 GB, free: 10.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.3693, allocations: 35.88 kB / 0.6158 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.3694, allocations: 69.5 kB / 0.6159 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.3698, allocations: 277.1 kB / 0.6161 GB, free: 10.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3698, allocations: 0 / 0.6161 GB, free: 10.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3698, allocations: 0 / 0.6161 GB, free: 10.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3698, allocations: 3.938 kB / 0.6162 GB, free: 10.58 MB / 442.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.0004393/0.3702, allocations: 412.1 kB / 0.6165 GB, free: 10.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3703, allocations: 8.031 kB / 0.6166 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.3722, allocations: 193.1 kB / 0.6167 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3724, allocations: 200.3 kB / 0.6169 GB, free: 9.703 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3725, allocations: 8.312 kB / 0.6169 GB, free: 9.695 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3725, allocations: 16 kB / 0.6169 GB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.373, allocations: 205.4 kB / 0.6171 GB, free: 9.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.373, allocations: 3.984 kB / 0.6171 GB, free: 9.473 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.373, allocations: 0 / 0.6171 GB, free: 9.473 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.373, allocations: 7.984 kB / 0.6172 GB, free: 9.465 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.3736, allocations: 240.7 kB / 0.6174 GB, free: 9.23 MB / 442.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.001591/0.3752, allocations: 0.6741 MB / 0.618 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3756, allocations: 182.4 kB / 0.6182 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3758, allocations: 92.81 kB / 0.6183 GB, free: 8.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.3759, allocations: 97.09 kB / 0.6184 GB, free: 8.133 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.376, allocations: 34.56 kB / 0.6184 GB, free: 8.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.376, allocations: 0 / 0.6184 GB, free: 8.09 MB / 442.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.005148/0.3811, allocations: 1.546 MB / 0.6199 GB, free: 6.445 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3812, allocations: 55.41 kB / 0.62 GB, free: 6.379 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.3813, allocations: 109.8 kB / 0.6201 GB, free: 6.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3813, allocations: 29.7 kB / 0.6201 GB, free: 6.227 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3814, allocations: 104.2 kB / 0.6202 GB, free: 6.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.3814, allocations: 71 kB / 0.6203 GB, free: 6.051 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.3815, allocations: 4 kB / 0.6203 GB, free: 6.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.3816, allocations: 318.8 kB / 0.6206 GB, free: 5.727 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.3818, allocations: 87.95 kB / 0.6207 GB, free: 5.641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.382, allocations: 124.7 kB / 0.6208 GB, free: 5.508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.3824, allocations: 219.4 kB / 0.621 GB, free: 5.281 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3825, allocations: 0 / 0.621 GB, free: 5.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005728/0.383, allocations: 290.2 kB / 0.6213 GB, free: 4.988 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3831, allocations: 8 kB / 0.6213 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3831, allocations: 4 kB / 0.6213 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.3832, allocations: 21.78 kB / 0.6213 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.3836, allocations: 59.89 kB / 0.6214 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003129/0.384, allocations: 0.529 MB / 0.6219 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.3842, allocations: 16.02 kB / 0.6219 GB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.3843, allocations: 4 kB / 0.6219 GB, free: 4.32 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.3844, allocations: 138.2 kB / 0.622 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.3845, allocations: 11.84 kB / 0.6221 GB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.3852, allocations: 329.2 kB / 0.6224 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3852, allocations: 0 / 0.6224 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.3852, allocations: 9 kB / 0.6224 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3852, allocations: 0 / 0.6224 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3863, allocations: 0.6679 MB / 0.623 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3863, allocations: 0 / 0.623 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.3867, allocations: 47.95 kB / 0.6231 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-05/0.3868, allocations: 24.84 kB / 0.6231 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.3868, allocations: 12.08 kB / 0.6231 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007774/0.3876, allocations: 1.265 MB / 0.6244 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3876, allocations: 4.031 kB / 0.6244 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.3884, allocations: 458.4 kB / 0.6248 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.3885, allocations: 88.98 kB / 0.6249 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.3885, allocations: 8 kB / 0.6249 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.3888, allocations: 15.92 kB / 0.6249 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.3888, allocations: 11.98 kB / 0.6249 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.3889, allocations: 15.98 kB / 0.6249 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.3889, allocations: 83.22 kB / 0.625 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3889, allocations: 0 / 0.625 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.3894, allocations: 136 kB / 0.6251 GB, free: 0.7617 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006153/0.39, allocations: 247 kB / 0.6254 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.3906, allocations: 227.7 kB / 0.6256 GB, free: 296 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3906, allocations: 4 kB / 0.6256 GB, free: 292 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.391, allocations: 234.9 kB / 0.6258 GB, free: 44 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.3914, allocations: 48.52 kB / 0.6259 GB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.3922, allocations: 0.6048 MB / 0.6265 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3924, allocations: 0.7049 MB / 0.6271 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3926, allocations: 31.42 kB / 0.6272 GB, free: 14.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3926, allocations: 4 kB / 0.6272 GB, free: 14.59 MB / 458.7 MB Notification: Performance of Templates: time 0.006764/0.3994, allocations: 5.09 MB / 0.6321 GB, free: 9.504 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches