Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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) 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(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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 175 kB / 16.72 MB, free: 5.082 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.338/1.338, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000732/0.000732, allocations: 96.84 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3288/0.5482, allocations: 156.9 MB / 0.5196 GB, free: 1.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.5513, allocations: 2.998 MB / 0.5225 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.5516, allocations: 4.625 kB / 0.5225 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.5521, allocations: 128.8 kB / 0.5226 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008111/0.5529, allocations: 364.1 kB / 0.523 GB, free: 1.027 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.5537, allocations: 273.9 kB / 0.5232 GB, free: 1.023 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.5549, allocations: 1.114 MB / 0.5243 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.5551, allocations: 77.22 kB / 0.5244 GB, free: 1.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.5567, allocations: 0.6901 MB / 0.5251 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.5571, allocations: 279.2 kB / 0.5253 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.5571, allocations: 14.81 kB / 0.5254 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.5574, allocations: 100 kB / 0.5255 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.5575, allocations: 79.66 kB / 0.5255 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.5577, allocations: 189 kB / 0.5257 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.5581, allocations: 402.8 kB / 0.5261 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5582, allocations: 0 / 0.5261 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5582, allocations: 3.609 kB / 0.5261 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.5582, allocations: 0 / 0.5261 GB, free: 0.9258 MB / 378.7 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.0007573/0.5589, allocations: 0.5135 MB / 0.5266 GB, free: 16.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.559, allocations: 9.25 kB / 0.5266 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.5592, allocations: 45.31 kB / 0.5266 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.5596, allocations: 286.2 kB / 0.5269 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.5596, allocations: 21.25 kB / 0.5269 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.5597, allocations: 22.59 kB / 0.527 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.5602, allocations: 314.9 kB / 0.5273 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5602, allocations: 7.156 kB / 0.5273 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.5602, allocations: 11.5 kB / 0.5273 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.5603, allocations: 6.531 kB / 0.5273 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.5606, allocations: 206.5 kB / 0.5275 GB, free: 16.15 MB / 394.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.001745/0.5623, allocations: 1.582 MB / 0.529 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.5626, allocations: 177 kB / 0.5292 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.5628, allocations: 91.95 kB / 0.5293 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.5628, allocations: 10.47 kB / 0.5293 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5629, allocations: 36.34 kB / 0.5293 GB, free: 14.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.535e-06/0.5629, allocations: 0 / 0.5293 GB, free: 14.88 MB / 394.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004932/0.5678, allocations: 1.64 MB / 0.5309 GB, free: 14.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.5679, allocations: 54.72 kB / 0.531 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.5681, allocations: 255.1 kB / 0.5312 GB, free: 13.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.5681, allocations: 32.39 kB / 0.5313 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.5682, allocations: 174.9 kB / 0.5314 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.5683, allocations: 97.55 kB / 0.5315 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.5683, allocations: 6.5 kB / 0.5315 GB, free: 13.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5684, allocations: 338.2 kB / 0.5318 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5686, allocations: 93.77 kB / 0.5319 GB, free: 13.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.5688, allocations: 186.3 kB / 0.5321 GB, free: 13.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.5692, allocations: 304.3 kB / 0.5324 GB, free: 13.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5692, allocations: 2.625 kB / 0.5324 GB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005467/0.5698, allocations: 386.9 kB / 0.5328 GB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5698, allocations: 6.219 kB / 0.5328 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5698, allocations: 3.25 kB / 0.5328 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.57, allocations: 77.73 kB / 0.5329 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.5703, allocations: 88.41 kB / 0.5329 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.5716, allocations: 1.855 MB / 0.5348 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.5719, allocations: 21.19 kB / 0.5348 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.5719, allocations: 40.45 kB / 0.5348 GB, free: 11.31 MB / 394.7 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.0001578/0.5721, allocations: 160.5 kB / 0.535 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.5722, allocations: 32.2 kB / 0.535 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008893/0.5731, allocations: 438 kB / 0.5354 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5731, allocations: 6.938 kB / 0.5354 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5731, allocations: 0 / 0.5354 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005211/0.5736, allocations: 0.5618 MB / 0.536 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.5746, allocations: 0.7214 MB / 0.5367 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5746, allocations: 7.469 kB / 0.5367 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.5749, allocations: 70.89 kB / 0.5368 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/0.5749, allocations: 26.48 kB / 0.5368 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.575, allocations: 18.38 kB / 0.5368 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007938/0.5758, allocations: 1.279 MB / 0.538 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5758, allocations: 0 / 0.538 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.5764, allocations: 486.4 kB / 0.5385 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.5765, allocations: 107.1 kB / 0.5386 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.5765, allocations: 9.922 kB / 0.5386 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.5768, allocations: 15.42 kB / 0.5386 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.5768, allocations: 28.73 kB / 0.5387 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.5769, allocations: 30.58 kB / 0.5387 GB, free: 8.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.5771, allocations: 186.8 kB / 0.5389 GB, free: 8.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5771, allocations: 4.062 kB / 0.5389 GB, free: 8.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.5777, allocations: 125.9 kB / 0.539 GB, free: 8.621 MB / 394.7 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.0004166/0.5781, allocations: 152.5 kB / 0.5391 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.5787, allocations: 369 kB / 0.5395 GB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.5788, allocations: 2.812 kB / 0.5395 GB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.579, allocations: 230.2 kB / 0.5397 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.5799, allocations: 161.8 kB / 0.5399 GB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5813, allocations: 0.8576 MB / 0.5407 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.5817, allocations: 0.7705 MB / 0.5415 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.5819, allocations: 72.88 kB / 0.5415 GB, free: 7.078 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5819, allocations: 0 / 0.5415 GB, free: 7.078 MB / 394.7 MB Notification: Performance of Templates: time 0.009855/0.5918, allocations: 7.462 MB / 0.5488 GB, free: 3.332 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches