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/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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 96.23 kB / 17.3 MB, free: 6.387 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.000963/0.0009631, allocations: 177.4 kB / 18.21 MB, free: 5.551 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.324/1.324, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.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.0005024/0.0005024, allocations: 15.12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09236, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3474/0.4398, allocations: 146.7 MB / 475.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.4421, allocations: 1.515 MB / 477.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.4422, allocations: 3.938 kB / 477.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.4426, allocations: 43.8 kB / 477.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.4437, allocations: 355.1 kB / 477.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.4443, allocations: 151.6 kB / 477.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.4447, allocations: 251.1 kB / 478 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.4448, allocations: 4 kB / 478 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.445, allocations: 67.7 kB / 478 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.4452, allocations: 63.75 kB / 478.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.4452, allocations: 4 kB / 478.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.4466, allocations: 0.6782 MB / 478.8 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.4467, allocations: 29.22 kB / 478.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.4468, allocations: 77.48 kB / 478.9 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.4475, allocations: 424.6 kB / 479.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.4475, allocations: 0 / 479.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4475, allocations: 0 / 479.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.4475, allocations: 0 / 479.3 MB, free: 3.57 MB / 366.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.0005699/0.4481, allocations: 408 kB / 479.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4481, allocations: 8.031 kB / 479.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.4505, allocations: 196.6 kB / 479.9 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4507, allocations: 208.1 kB / 480.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4508, allocations: 12.31 kB / 480.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.4508, allocations: 8 kB / 480.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.4513, allocations: 201.5 kB / 480.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4514, allocations: 0 / 480.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.4514, allocations: 15.94 kB / 480.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4514, allocations: 0 / 480.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.452, allocations: 239.8 kB / 480.6 MB, free: 2.211 MB / 366.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.0019/0.454, allocations: 0.6776 MB / 481.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.4544, allocations: 190.4 kB / 481.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.4547, allocations: 92.81 kB / 481.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.4549, allocations: 93.08 kB / 481.6 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4549, allocations: 34.56 kB / 481.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.707e-06/0.4549, allocations: 4 kB / 481.7 MB, free: 1.035 MB / 366.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.006066/0.461, allocations: 1.537 MB / 483.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.461, allocations: 55.41 kB / 483.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4611, allocations: 113.8 kB / 483.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.4612, allocations: 29.7 kB / 483.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.4613, allocations: 96.36 kB / 483.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.4614, allocations: 67 kB / 483.5 MB, free: 15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.4614, allocations: 25.72 kB / 483.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4616, allocations: 322.8 kB / 483.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.4618, allocations: 95.81 kB / 484 MB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.4621, allocations: 123.4 kB / 484.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.4626, allocations: 227.3 kB / 484.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4626, allocations: 0 / 484.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006573/0.4633, allocations: 282.2 kB / 484.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4633, allocations: 4 kB / 484.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4633, allocations: 4 kB / 484.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.4635, allocations: 28.88 kB / 484.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.4639, allocations: 59.95 kB / 484.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003825/0.4643, allocations: 0.5328 MB / 485.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.4647, allocations: 15.92 kB / 485.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.4647, allocations: 12 kB / 485.2 MB, free: 13.21 MB / 382.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.0001464/0.4649, allocations: 125.9 kB / 485.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.465, allocations: 11.91 kB / 485.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.4658, allocations: 311.4 kB / 485.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.4658, allocations: 4 kB / 485.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4658, allocations: 3.938 kB / 485.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4658, allocations: 7.922 kB / 485.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.467, allocations: 0.668 MB / 486.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.467, allocations: 4 kB / 486.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/0.4675, allocations: 51.89 kB / 486.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.4675, allocations: 24.83 kB / 486.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.4676, allocations: 11.98 kB / 486.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009358/0.4685, allocations: 1.268 MB / 487.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4685, allocations: 0 / 487.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.4694, allocations: 450.8 kB / 488.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.4695, allocations: 89.03 kB / 488.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.4696, allocations: 8 kB / 488.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.4699, allocations: 19.91 kB / 488.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.47, allocations: 15.97 kB / 488.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.47, allocations: 12 kB / 488.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.4701, allocations: 87.2 kB / 488.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4701, allocations: 0 / 488.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.4707, allocations: 135.9 kB / 488.5 MB, free: 9.66 MB / 382.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.0007505/0.4714, allocations: 243 kB / 488.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.4721, allocations: 231.8 kB / 489 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4721, allocations: 0 / 489 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.4725, allocations: 237.6 kB / 489.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.473, allocations: 57.45 kB / 489.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.4741, allocations: 0.5784 MB / 489.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.4745, allocations: 0.7088 MB / 490.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.4749, allocations: 49.39 kB / 490.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.475, allocations: 23.42 kB / 490.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.475, allocations: 4 kB / 490.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of Templates: time 0.01179/0.4868, allocations: 6.096 MB / 496.7 MB, free: 1.367 MB / 382.1 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/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