Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009315/0.0009311, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001005/0.001005, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1899/0.1899, allocations: 44.26 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 13.33 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4561/0.592, allocations: 170.2 MB / 0.6275 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009501/0.6015, allocations: 5.421 MB / 0.6328 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.6029, allocations: 19.81 kB / 0.6328 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.6042, allocations: 274.5 kB / 0.633 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.6088, allocations: 1.204 MB / 0.6342 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.6123, allocations: 0.9549 MB / 0.6351 GB, free: 0.543 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003599/0.6159, allocations: 2.707 MB / 0.6378 GB, free: 13.83 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.617, allocations: 400.3 kB / 0.6382 GB, free: 13.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.6198, allocations: 0.9613 MB / 0.6391 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.6216, allocations: 0.7705 MB / 0.6399 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.6219, allocations: 32 kB / 0.6399 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.6238, allocations: 0.5343 MB / 0.6404 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.6242, allocations: 239.3 kB / 0.6406 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.6251, allocations: 399.9 kB / 0.641 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.6274, allocations: 1.254 MB / 0.6422 GB, free: 9.242 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6274, allocations: 0 / 0.6422 GB, free: 9.242 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.6274, allocations: 0 / 0.6422 GB, free: 9.242 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.6275, allocations: 0 / 0.6422 GB, free: 9.242 MB / 478.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.002436/0.6299, allocations: 0.9571 MB / 0.6432 GB, free: 8.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.63, allocations: 11.97 kB / 0.6432 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.631, allocations: 131.1 kB / 0.6433 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.632, allocations: 0.5002 MB / 0.6438 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.6321, allocations: 108.3 kB / 0.6439 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6323, allocations: 47.94 kB / 0.644 GB, free: 7.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.6337, allocations: 0.8175 MB / 0.6447 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.6338, allocations: 4 kB / 0.6448 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.6339, allocations: 23.98 kB / 0.6448 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.6339, allocations: 44.91 kB / 0.6448 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.6352, allocations: 0.6282 MB / 0.6454 GB, free: 5.797 MB / 478.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.005139/0.6403, allocations: 3.969 MB / 0.6493 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.641, allocations: 351.6 kB / 0.6496 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.6412, allocations: 173.3 kB / 0.6498 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.6414, allocations: 93.38 kB / 0.6499 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.6414, allocations: 34.84 kB / 0.6499 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.6414, allocations: 0 / 0.6499 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005853/0.6473, allocations: 1.671 MB / 0.6516 GB, free: 15.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.6474, allocations: 136.5 kB / 0.6517 GB, free: 14.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.6483, allocations: 0.6133 MB / 0.6523 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.6484, allocations: 33.7 kB / 0.6523 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.6487, allocations: 366.8 kB / 0.6527 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.6489, allocations: 142.1 kB / 0.6528 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.649, allocations: 61.69 kB / 0.6529 GB, free: 13.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6492, allocations: 374.8 kB / 0.6532 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.6496, allocations: 209.9 kB / 0.6534 GB, free: 13.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.6503, allocations: 0.5047 MB / 0.6539 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6513, allocations: 0.7523 MB / 0.6547 GB, free: 11.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6513, allocations: 8 kB / 0.6547 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001584/0.6529, allocations: 0.8841 MB / 0.6555 GB, free: 10.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.653, allocations: 16.03 kB / 0.6555 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.653, allocations: 12 kB / 0.6556 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.6545, allocations: 308.6 kB / 0.6558 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.655, allocations: 123.8 kB / 0.656 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6561, allocations: 0.9371 MB / 0.6569 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.6568, allocations: 47.83 kB / 0.6569 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/0.6569, allocations: 63.98 kB / 0.657 GB, free: 9.203 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.000442/0.6574, allocations: 254.1 kB / 0.6572 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.6575, allocations: 67.23 kB / 0.6573 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.6594, allocations: 0.8673 MB / 0.6581 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.6594, allocations: 4 kB / 0.6581 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6594, allocations: 0 / 0.6581 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6594, allocations: 7.938 kB / 0.6581 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.6618, allocations: 1.461 MB / 0.6596 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6618, allocations: 0 / 0.6596 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6629, allocations: 212 kB / 0.6598 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.663, allocations: 28.78 kB / 0.6598 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.6631, allocations: 19.98 kB / 0.6598 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6652, allocations: 2.691 MB / 0.6625 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6652, allocations: 0 / 0.6625 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.6665, allocations: 0.8167 MB / 0.6633 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.6669, allocations: 196.2 kB / 0.6634 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.6671, allocations: 11.94 kB / 0.6635 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.6676, allocations: 31.98 kB / 0.6635 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.6677, allocations: 43.95 kB / 0.6635 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.6678, allocations: 43.98 kB / 0.6636 GB, free: 1.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006329/0.6684, allocations: 435 kB / 0.664 GB, free: 1.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6684, allocations: 4 kB / 0.664 GB, free: 1.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001063/0.6695, allocations: 251.9 kB / 0.6642 GB, free: 1.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0008527/0.6704, allocations: 284.6 kB / 0.6645 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.6717, allocations: 0.5479 MB / 0.665 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6717, allocations: 4 kB / 0.665 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6727, allocations: 422.2 kB / 0.6654 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.6748, allocations: 354.8 kB / 0.6658 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6774, allocations: 1.647 MB / 0.6674 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.678, allocations: 0.93 MB / 0.6683 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001336/0.6793, allocations: 458.4 kB / 0.6687 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.6797, allocations: 119.4 kB / 0.6688 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.6797, allocations: 0 / 0.6688 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.02953/0.7093, allocations: 16.74 MB / 0.6852 GB, free: 11.93 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches