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.001323/0.001323, allocations: 102.9 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 193.9 kB / 17.56 MB, free: 5.938 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.453/1.453, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 43.52 MB / 314.3 MB, free: 0.7109 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.001469/0.001469, allocations: 64.61 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4209/0.5391, allocations: 148.7 MB / 0.5756 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.5408, allocations: 1.497 MB / 0.577 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.5409, allocations: 0 / 0.577 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.5413, allocations: 47.77 kB / 0.5771 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009841/0.5423, allocations: 358.8 kB / 0.5774 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.5429, allocations: 154.8 kB / 0.5776 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.5431, allocations: 182.1 kB / 0.5777 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.5432, allocations: 9 kB / 0.5778 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.5433, allocations: 83.19 kB / 0.5778 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.5435, allocations: 56.92 kB / 0.5779 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.5435, allocations: 11.97 kB / 0.5779 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009466/0.5445, allocations: 0.5964 MB / 0.5785 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.5445, allocations: 28.36 kB / 0.5785 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.5446, allocations: 52.5 kB / 0.5786 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.545, allocations: 275.7 kB / 0.5788 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.545, allocations: 3.938 kB / 0.5788 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.545, allocations: 0 / 0.5788 GB, free: 11.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5451, allocations: 0 / 0.5788 GB, free: 11.71 MB / 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.0006029/0.5457, allocations: 432.5 kB / 0.5792 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5457, allocations: 13.48 kB / 0.5792 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.5479, allocations: 192.5 kB / 0.5794 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.5481, allocations: 211.5 kB / 0.5796 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.5482, allocations: 7.125 kB / 0.5796 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.5482, allocations: 14.75 kB / 0.5797 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.5487, allocations: 199.4 kB / 0.5798 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5487, allocations: 2.75 kB / 0.5798 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.5488, allocations: 3.688 kB / 0.5799 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5488, allocations: 2.094 kB / 0.5799 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.5493, allocations: 241.7 kB / 0.5801 GB, free: 11.06 MB / 430.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.001677/0.551, allocations: 0.6763 MB / 0.5807 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.5514, allocations: 182.9 kB / 0.5809 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.5516, allocations: 91.41 kB / 0.581 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.5518, allocations: 98.95 kB / 0.5811 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5518, allocations: 37.88 kB / 0.5811 GB, free: 10.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.5518, allocations: 0 / 0.5811 GB, free: 10.5 MB / 430.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.005941/0.5578, allocations: 1.531 MB / 0.5826 GB, free: 9.887 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5579, allocations: 51.41 kB / 0.5827 GB, free: 9.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.558, allocations: 112.2 kB / 0.5828 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.558, allocations: 29.08 kB / 0.5828 GB, free: 9.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.5581, allocations: 101.3 kB / 0.5829 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.5581, allocations: 71.58 kB / 0.583 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.5582, allocations: 42.28 kB / 0.583 GB, free: 9.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5584, allocations: 320.4 kB / 0.5833 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.5586, allocations: 90.28 kB / 0.5834 GB, free: 9.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.5588, allocations: 132.9 kB / 0.5835 GB, free: 9.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.5593, allocations: 224.5 kB / 0.5838 GB, free: 9.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5593, allocations: 0 / 0.5838 GB, free: 9.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005889/0.5599, allocations: 290.5 kB / 0.584 GB, free: 9.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5599, allocations: 6.125 kB / 0.584 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5599, allocations: 0 / 0.584 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.5601, allocations: 25.69 kB / 0.5841 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.5605, allocations: 53.61 kB / 0.5841 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/0.5609, allocations: 0.5368 MB / 0.5846 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.5612, allocations: 16.72 kB / 0.5846 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.5613, allocations: 18.11 kB / 0.5847 GB, free: 8.543 MB / 430.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 (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.0001343/0.5614, allocations: 132.1 kB / 0.5848 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.5615, allocations: 15.34 kB / 0.5848 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.5622, allocations: 309.6 kB / 0.5851 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5622, allocations: 4 kB / 0.5851 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.5622, allocations: 6.469 kB / 0.5851 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5622, allocations: 0 / 0.5851 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5633, allocations: 0.6743 MB / 0.5858 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5633, allocations: 4.094 kB / 0.5858 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.5638, allocations: 51.55 kB / 0.5858 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.361e-05/0.5639, allocations: 27.25 kB / 0.5859 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.5639, allocations: 9.312 kB / 0.5859 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009842/0.5649, allocations: 1.366 MB / 0.5872 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5649, allocations: 2.625 kB / 0.5872 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007849/0.5657, allocations: 454.7 kB / 0.5876 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.5658, allocations: 93.92 kB / 0.5877 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.5658, allocations: 2.5 kB / 0.5877 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.5661, allocations: 20.11 kB / 0.5877 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.5662, allocations: 14.8 kB / 0.5878 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.5662, allocations: 11.86 kB / 0.5878 GB, free: 6.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.5663, allocations: 89.7 kB / 0.5879 GB, free: 6.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5663, allocations: 0 / 0.5879 GB, free: 6.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006007/0.5669, allocations: 127.4 kB / 0.588 GB, free: 6.191 MB / 430.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 (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.0006925/0.5676, allocations: 260.1 kB / 0.5882 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006177/0.5682, allocations: 241.2 kB / 0.5885 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.5682, allocations: 0 / 0.5885 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.5686, allocations: 227.8 kB / 0.5887 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.5691, allocations: 51.19 kB / 0.5887 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.5701, allocations: 0.5414 MB / 0.5892 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.5704, allocations: 0.7058 MB / 0.5899 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.5706, allocations: 32.95 kB / 0.59 GB, free: 4.711 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5706, allocations: 0 / 0.59 GB, free: 4.711 MB / 430.1 MB Notification: Performance of Templates: time 0.007819/0.5784, allocations: 5.116 MB / 0.595 GB, free: 2.027 MB / 430.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/jenkins1/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