Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 94.19 kB / 16.94 MB, free: 5.977 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.0009508/0.0009509, allocations: 184.9 kB / 17.83 MB, free: 5.641 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.431/1.431, allocations: 205.4 MB / 224 MB, free: 13.17 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.000446/0.000446, allocations: 19.44 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 47.57 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4269/0.5284, allocations: 137.2 MB / 465.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.5325, allocations: 1.942 MB / 467.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.533, allocations: 7.938 kB / 467.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.5339, allocations: 135.4 kB / 467.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.535, allocations: 279.1 kB / 467.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.5362, allocations: 272.2 kB / 468.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.5373, allocations: 486.9 kB / 468.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.5376, allocations: 77.17 kB / 468.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.5391, allocations: 434.9 kB / 469.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.5397, allocations: 171.4 kB / 469.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.5398, allocations: 12 kB / 469.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.5402, allocations: 103.8 kB / 469.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.5404, allocations: 75.78 kB / 469.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.5406, allocations: 93.52 kB / 469.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.5413, allocations: 393.7 kB / 470 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5413, allocations: 4 kB / 470 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5413, allocations: 0 / 470 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.5413, allocations: 0 / 470 MB, free: 11.07 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009244/0.5422, allocations: 0.5268 MB / 470.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5423, allocations: 8.031 kB / 470.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.5426, allocations: 43.61 kB / 470.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.5431, allocations: 270.7 kB / 470.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.5431, allocations: 16.56 kB / 470.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.5432, allocations: 27.91 kB / 470.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.5437, allocations: 315.6 kB / 471.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5437, allocations: 0 / 471.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.5438, allocations: 16 kB / 471.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5438, allocations: 15.89 kB / 471.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.5441, allocations: 201.6 kB / 471.4 MB, free: 9.531 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.001859/0.546, allocations: 1.569 MB / 473 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.5463, allocations: 178.7 kB / 473.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5463, allocations: 4 kB / 473.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5464, allocations: 34.56 kB / 473.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.896e-06/0.5464, allocations: 4 kB / 473.2 MB, free: 7.578 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005739/0.5521, allocations: 1.628 MB / 474.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5522, allocations: 59.34 kB / 474.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.5525, allocations: 256.8 kB / 475.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.5526, allocations: 33.7 kB / 475.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5527, allocations: 172.3 kB / 475.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.5528, allocations: 102.5 kB / 475.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.5528, allocations: 4 kB / 475.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5529, allocations: 338.8 kB / 475.8 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.5531, allocations: 95.73 kB / 475.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5534, allocations: 179.8 kB / 476 MB, free: 4.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.5536, allocations: 115.9 kB / 476.2 MB, free: 4.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5536, allocations: 0 / 476.2 MB, free: 4.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006577/0.5543, allocations: 398.9 kB / 476.6 MB, free: 4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5543, allocations: 8 kB / 476.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5543, allocations: 6.688 kB / 476.6 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.5545, allocations: 73.64 kB / 476.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.5549, allocations: 83.89 kB / 476.7 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.5564, allocations: 1.86 MB / 478.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5567, allocations: 27.98 kB / 478.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.5568, allocations: 36 kB / 478.6 MB, free: 1.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.557, allocations: 161.7 kB / 478.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.5571, allocations: 27.72 kB / 478.8 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/0.558, allocations: 434.5 kB / 479.3 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5581, allocations: 4 kB / 479.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5581, allocations: 0 / 479.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.5586, allocations: 0.5707 MB / 479.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.5597, allocations: 0.7077 MB / 480.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5598, allocations: 11.94 kB / 480.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.5601, allocations: 71.84 kB / 480.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.512e-05/0.5602, allocations: 29.64 kB / 480.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5602, allocations: 12 kB / 480.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009104/0.5611, allocations: 1.296 MB / 482 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5612, allocations: 256 / 482 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.5619, allocations: 0.4939 MB / 482.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.562, allocations: 100.8 kB / 482.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.562, allocations: 8 kB / 482.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.5623, allocations: 20.05 kB / 482.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.5624, allocations: 27.92 kB / 482.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.5624, allocations: 31.98 kB / 482.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.5626, allocations: 186 kB / 482.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5626, allocations: 3.938 kB / 482.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005884/0.5632, allocations: 124 kB / 482.9 MB, free: 13.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.0003894/0.5636, allocations: 151.1 kB / 483.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007175/0.5644, allocations: 370.7 kB / 483.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5644, allocations: 0 / 483.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.5647, allocations: 234.5 kB / 483.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/0.5656, allocations: 154.1 kB / 483.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5669, allocations: 0.8286 MB / 484.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.5673, allocations: 0.7762 MB / 485.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005778/0.5679, allocations: 118.9 kB / 485.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.5681, allocations: 63.42 kB / 485.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5681, allocations: 0 / 485.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01499/0.5831, allocations: 8.255 MB / 493.9 MB, free: 2.066 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches