Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_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_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 167.6 kB / 16.57 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.411/0.411, allocations: 43.57 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005512/0.0005512, allocations: 18.97 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4171/0.5532, allocations: 136.8 MB / 0.5661 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.5551, allocations: 1.381 MB / 0.5674 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.5552, allocations: 0 / 0.5674 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.5554, allocations: 35.81 kB / 0.5674 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008707/0.5563, allocations: 277.9 kB / 0.5677 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.5568, allocations: 123.5 kB / 0.5678 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.5571, allocations: 215.2 kB / 0.568 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.5571, allocations: 6.656 kB / 0.568 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.5573, allocations: 65.27 kB / 0.5681 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.5575, allocations: 63.75 kB / 0.5682 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.5575, allocations: 8 kB / 0.5682 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.5585, allocations: 435.2 kB / 0.5686 GB, free: 380 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.5586, allocations: 31.88 kB / 0.5686 GB, free: 348 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.5586, allocations: 41.7 kB / 0.5686 GB, free: 300 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.5591, allocations: 261.5 kB / 0.5689 GB, free: 40 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5591, allocations: 0 / 0.5689 GB, free: 40 kB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.5591, allocations: 0 / 0.5689 GB, free: 40 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.5591, allocations: 0 / 0.5689 GB, free: 40 kB / 430.1 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.0006052/0.5597, allocations: 406.9 kB / 0.5693 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5598, allocations: 12.02 kB / 0.5693 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.5617, allocations: 192.9 kB / 0.5695 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.5621, allocations: 207 kB / 0.5697 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.5621, allocations: 192 / 0.5697 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.5622, allocations: 12 kB / 0.5697 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.5627, allocations: 207.4 kB / 0.5699 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5627, allocations: 0 / 0.5699 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.5627, allocations: 8 kB / 0.5699 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5628, allocations: 0 / 0.5699 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.5633, allocations: 240.4 kB / 0.5701 GB, free: 14.7 MB / 446.1 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.001718/0.5651, allocations: 0.6833 MB / 0.5708 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.5655, allocations: 182.5 kB / 0.571 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.5657, allocations: 84.83 kB / 0.571 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.5659, allocations: 93.09 kB / 0.5711 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.566, allocations: 46.48 kB / 0.5712 GB, free: 13.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.566, allocations: 0 / 0.5712 GB, free: 13.55 MB / 446.1 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.006385/0.5724, allocations: 1.535 MB / 0.5727 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.5725, allocations: 55.41 kB / 0.5727 GB, free: 11.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5726, allocations: 109.8 kB / 0.5728 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.5726, allocations: 29.7 kB / 0.5729 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.5727, allocations: 96.92 kB / 0.573 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.5728, allocations: 71 kB / 0.573 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.5728, allocations: 4 kB / 0.573 GB, free: 11.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.573, allocations: 326.8 kB / 0.5733 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.5733, allocations: 87.95 kB / 0.5734 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.5735, allocations: 126 kB / 0.5735 GB, free: 10.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.5738, allocations: 99.98 kB / 0.5736 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5738, allocations: 0.75 kB / 0.5736 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000723/0.5745, allocations: 282.3 kB / 0.5739 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5746, allocations: 8 kB / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5746, allocations: 3.938 kB / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.5747, allocations: 24.94 kB / 0.5739 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.5751, allocations: 59.89 kB / 0.574 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003857/0.5755, allocations: 0.5329 MB / 0.5745 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.5758, allocations: 13.98 kB / 0.5745 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.5759, allocations: 9.781 kB / 0.5745 GB, free: 9.914 MB / 446.1 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.000153/0.576, allocations: 137.8 kB / 0.5747 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5762, allocations: 11.91 kB / 0.5747 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.577, allocations: 319 kB / 0.575 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.577, allocations: 4 kB / 0.575 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.577, allocations: 3.953 kB / 0.575 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.577, allocations: 0 / 0.575 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5783, allocations: 0.6717 MB / 0.5757 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5783, allocations: 4 kB / 0.5757 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.5787, allocations: 51.89 kB / 0.5757 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.5788, allocations: 20.84 kB / 0.5757 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.5789, allocations: 11.98 kB / 0.5757 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.58, allocations: 1.264 MB / 0.577 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.58, allocations: 0 / 0.577 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.5809, allocations: 461.6 kB / 0.5774 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.581, allocations: 81.02 kB / 0.5775 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.581, allocations: 8 kB / 0.5775 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.5814, allocations: 16.05 kB / 0.5775 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.5814, allocations: 11.98 kB / 0.5775 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5815, allocations: 19.94 kB / 0.5775 GB, free: 6.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.5815, allocations: 83.28 kB / 0.5776 GB, free: 6.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5815, allocations: 3.938 kB / 0.5776 GB, free: 6.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005731/0.5821, allocations: 127.9 kB / 0.5777 GB, free: 6.367 MB / 446.1 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.0006465/0.5828, allocations: 239 kB / 0.578 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.5834, allocations: 226.8 kB / 0.5782 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5834, allocations: 8.125 kB / 0.5782 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.5838, allocations: 231 kB / 0.5784 GB, free: 5.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.5844, allocations: 45.02 kB / 0.5785 GB, free: 5.617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/0.5853, allocations: 0.5636 MB / 0.579 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.5856, allocations: 0.7088 MB / 0.5797 GB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004273/0.586, allocations: 57.86 kB / 0.5798 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.5862, allocations: 27.42 kB / 0.5798 GB, free: 4.207 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5862, allocations: 0 / 0.5798 GB, free: 4.207 MB / 446.1 MB Notification: Performance of Templates: time 0.01076/0.5969, allocations: 6.01 MB / 0.5857 GB, free: 14.21 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches