Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) 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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 96.14 kB / 15.87 MB, free: 16 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.001182/0.001182, allocations: 202.5 kB / 16.79 MB, free: 6.84 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.419/1.419, allocations: 205.1 MB / 222.6 MB, free: 4.965 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.3638/0.3638, allocations: 43.5 MB / 313.5 MB, free: 8.652 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.001402/0.001402, allocations: 63.91 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 57.78 MB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4763/0.6258, allocations: 178.1 MB / 0.6034 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008905/0.6348, allocations: 5.933 MB / 0.6092 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.6359, allocations: 31.75 kB / 0.6093 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.637, allocations: 274.5 kB / 0.6095 GB, free: 3.996 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.6413, allocations: 1.405 MB / 0.6109 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.6449, allocations: 1.101 MB / 0.612 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.6479, allocations: 2.718 MB / 0.6146 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.6486, allocations: 391.4 kB / 0.615 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.6523, allocations: 1.113 MB / 0.6161 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.6539, allocations: 0.7744 MB / 0.6168 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.6541, allocations: 32 kB / 0.6169 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.656, allocations: 0.6981 MB / 0.6176 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.6564, allocations: 235.3 kB / 0.6178 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.6569, allocations: 370.2 kB / 0.6181 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.6591, allocations: 1.395 MB / 0.6195 GB, free: 9.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6591, allocations: 7.938 kB / 0.6195 GB, free: 9.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.6591, allocations: 0 / 0.6195 GB, free: 9.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.6591, allocations: 0 / 0.6195 GB, free: 9.781 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002544/0.6617, allocations: 1.126 MB / 0.6206 GB, free: 8.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6617, allocations: 16.03 kB / 0.6206 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008783/0.6626, allocations: 131.1 kB / 0.6207 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.6635, allocations: 0.5119 MB / 0.6212 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.6636, allocations: 100.4 kB / 0.6213 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.6637, allocations: 47.98 kB / 0.6214 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.6654, allocations: 0.8174 MB / 0.6222 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.6655, allocations: 3.938 kB / 0.6222 GB, free: 6.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.6656, allocations: 23.98 kB / 0.6222 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.709e-05/0.6657, allocations: 40.11 kB / 0.6223 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.6674, allocations: 0.6204 MB / 0.6229 GB, free: 6.172 MB / 494.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.004742/0.6721, allocations: 3.995 MB / 0.6268 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.6727, allocations: 347.6 kB / 0.6271 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.673, allocations: 176.2 kB / 0.6273 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.6734, allocations: 365.4 kB / 0.6276 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.6735, allocations: 42.78 kB / 0.6276 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.6735, allocations: 0 / 0.6276 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.2826/0.9561, allocations: 1.653 MB / 0.6293 GB, free: 159.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.9562, allocations: 139.1 kB / 0.6294 GB, free: 159.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.9569, allocations: 0.6154 MB / 0.63 GB, free: 159.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.957, allocations: 35.14 kB / 0.63 GB, free: 159.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.9572, allocations: 366.3 kB / 0.6304 GB, free: 159 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.9573, allocations: 138.6 kB / 0.6305 GB, free: 158.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.9575, allocations: 160.5 kB / 0.6307 GB, free: 158.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9576, allocations: 373.6 kB / 0.631 GB, free: 158.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.958, allocations: 201.9 kB / 0.6312 GB, free: 158.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.9585, allocations: 0.5182 MB / 0.6317 GB, free: 158.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.9593, allocations: 0.746 MB / 0.6324 GB, free: 157.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.9593, allocations: 2.75 kB / 0.6324 GB, free: 157.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/0.9607, allocations: 0.8774 MB / 0.6333 GB, free: 157.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9608, allocations: 8.438 kB / 0.6333 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.9608, allocations: 11.62 kB / 0.6333 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.9623, allocations: 318.5 kB / 0.6336 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.9627, allocations: 125.8 kB / 0.6337 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.9638, allocations: 0.9373 MB / 0.6347 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.9645, allocations: 51.23 kB / 0.6347 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.9646, allocations: 65.55 kB / 0.6348 GB, free: 157.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.9651, allocations: 245.4 kB / 0.635 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.9652, allocations: 72.62 kB / 0.6351 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.9667, allocations: 0.6774 MB / 0.6357 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9667, allocations: 5.875 kB / 0.6357 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.9668, allocations: 0 / 0.6357 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.9668, allocations: 10.27 kB / 0.6358 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.9688, allocations: 1.614 MB / 0.6373 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9688, allocations: 0 / 0.6373 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/0.9698, allocations: 210.3 kB / 0.6375 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-05/0.9699, allocations: 23.2 kB / 0.6376 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.97, allocations: 22.31 kB / 0.6376 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.9716, allocations: 2.689 MB / 0.6402 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.9716, allocations: 0 / 0.6402 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.9727, allocations: 0.8147 MB / 0.641 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.9729, allocations: 193.9 kB / 0.6412 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.973, allocations: 7.344 kB / 0.6412 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.9735, allocations: 28.94 kB / 0.6412 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.9736, allocations: 39.2 kB / 0.6413 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.9736, allocations: 44.39 kB / 0.6413 GB, free: 152.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004513/0.9741, allocations: 434.1 kB / 0.6417 GB, free: 152.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9741, allocations: 0 / 0.6417 GB, free: 152.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009956/0.9751, allocations: 297.6 kB / 0.642 GB, free: 152.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0008994/0.976, allocations: 363.6 kB / 0.6423 GB, free: 152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.977, allocations: 0.5353 MB / 0.6429 GB, free: 151.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.977, allocations: 3.438 kB / 0.6429 GB, free: 151.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008842/0.9779, allocations: 411.7 kB / 0.6433 GB, free: 151.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.9794, allocations: 348.5 kB / 0.6436 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.9813, allocations: 1.526 MB / 0.6451 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.9816, allocations: 0.9312 MB / 0.646 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009456/0.9826, allocations: 272.9 kB / 0.6463 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.9829, allocations: 99 kB / 0.6463 GB, free: 149.9 MB / 494.1 MB Notification: Performance of SimCode: time 4.5e-07/0.9829, allocations: 0 / 0.6463 GB, free: 149.9 MB / 494.1 MB Notification: Performance of Templates: time 0.03388/1.017, allocations: 17.74 MB / 0.6637 GB, free: 147.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches