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.001106/0.001106, allocations: 106.3 kB / 17.2 MB, free: 6.289 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.001067/0.001068, allocations: 194 kB / 18.12 MB, free: 5.383 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.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.19 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1293, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4795/0.6088, allocations: 172.5 MB / 0.626 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008259/0.6171, allocations: 5.483 MB / 0.6314 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009841/0.6181, allocations: 31.75 kB / 0.6314 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.6193, allocations: 270.5 kB / 0.6317 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.6229, allocations: 1.216 MB / 0.6328 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.6261, allocations: 0.9423 MB / 0.6338 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003587/0.6297, allocations: 2.722 MB / 0.6364 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000728/0.6304, allocations: 410.2 kB / 0.6368 GB, free: 9.527 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.6333, allocations: 0.9496 MB / 0.6377 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.6349, allocations: 0.7783 MB / 0.6385 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.6351, allocations: 32 kB / 0.6385 GB, free: 7.762 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.6366, allocations: 0.5266 MB / 0.639 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.6369, allocations: 239.2 kB / 0.6393 GB, free: 7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.6374, allocations: 374.2 kB / 0.6396 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.6395, allocations: 1.274 MB / 0.6409 GB, free: 5.355 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6395, allocations: 4 kB / 0.6409 GB, free: 5.352 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6395, allocations: 0 / 0.6409 GB, free: 5.352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.6396, allocations: 0 / 0.6409 GB, free: 5.352 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.002769/0.6423, allocations: 1.099 MB / 0.642 GB, free: 4.199 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6424, allocations: 19.91 kB / 0.642 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/0.6433, allocations: 131 kB / 0.6421 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.6443, allocations: 0.4963 MB / 0.6426 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.6444, allocations: 108.4 kB / 0.6427 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6445, allocations: 47.91 kB / 0.6427 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.6459, allocations: 0.8214 MB / 0.6435 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.646, allocations: 3.938 kB / 0.6435 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.6461, allocations: 27.92 kB / 0.6436 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-05/0.6462, allocations: 36.98 kB / 0.6436 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6473, allocations: 0.6321 MB / 0.6442 GB, free: 1.754 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.006105/0.6534, allocations: 3.961 MB / 0.6481 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.6542, allocations: 351.6 kB / 0.6484 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.6545, allocations: 173.3 kB / 0.6486 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.6547, allocations: 89.38 kB / 0.6487 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.6548, allocations: 39.72 kB / 0.6487 GB, free: 12.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 4.769e-06/0.6548, allocations: 0 / 0.6487 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006394/0.6612, allocations: 1.675 MB / 0.6503 GB, free: 11.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.6614, allocations: 136.5 kB / 0.6505 GB, free: 10.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/0.6623, allocations: 0.6133 MB / 0.6511 GB, free: 10.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.6624, allocations: 33.7 kB / 0.6511 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.6627, allocations: 366.8 kB / 0.6515 GB, free: 9.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6629, allocations: 142.1 kB / 0.6516 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.6632, allocations: 154.5 kB / 0.6517 GB, free: 9.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.6634, allocations: 378.8 kB / 0.6521 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.6638, allocations: 205.8 kB / 0.6523 GB, free: 9.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.6645, allocations: 0.5125 MB / 0.6528 GB, free: 8.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.6656, allocations: 0.7563 MB / 0.6535 GB, free: 7.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.6657, allocations: 4 kB / 0.6535 GB, free: 7.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001721/0.6674, allocations: 0.8878 MB / 0.6544 GB, free: 6.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.6674, allocations: 8 kB / 0.6544 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.6675, allocations: 12 kB / 0.6544 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.6691, allocations: 307.2 kB / 0.6547 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.6696, allocations: 119.8 kB / 0.6548 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.6712, allocations: 0.9347 MB / 0.6557 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.672, allocations: 51.77 kB / 0.6558 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6721, allocations: 67.98 kB / 0.6559 GB, free: 5.074 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.0005486/0.6727, allocations: 250.1 kB / 0.6561 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.6729, allocations: 67.25 kB / 0.6562 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.6749, allocations: 0.8774 MB / 0.657 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6749, allocations: 4 kB / 0.657 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6749, allocations: 0 / 0.657 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6749, allocations: 0 / 0.657 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.6773, allocations: 1.465 MB / 0.6585 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6773, allocations: 3.938 kB / 0.6585 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6784, allocations: 212 kB / 0.6587 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.6785, allocations: 28.83 kB / 0.6587 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.6786, allocations: 16 kB / 0.6587 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.6811, allocations: 2.68 MB / 0.6613 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6811, allocations: 4.031 kB / 0.6613 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.6825, allocations: 0.8206 MB / 0.6621 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.6829, allocations: 188.2 kB / 0.6623 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.683, allocations: 19.92 kB / 0.6623 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.6834, allocations: 23.98 kB / 0.6623 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.6835, allocations: 40.02 kB / 0.6624 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.6836, allocations: 43.98 kB / 0.6624 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006017/0.6842, allocations: 443 kB / 0.6628 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6842, allocations: 0 / 0.6628 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001059/0.6853, allocations: 251.9 kB / 0.6631 GB, free: 13.19 MB / 0.4981 GB 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.0008815/0.6862, allocations: 293.8 kB / 0.6634 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.6874, allocations: 0.5479 MB / 0.6639 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.6874, allocations: 8 kB / 0.6639 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6885, allocations: 410.3 kB / 0.6643 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6902, allocations: 350.5 kB / 0.6646 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.6926, allocations: 1.557 MB / 0.6662 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.6932, allocations: 0.93 MB / 0.6671 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001275/0.6945, allocations: 466.4 kB / 0.6675 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.6949, allocations: 111.4 kB / 0.6676 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.6949, allocations: 4 kB / 0.6676 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.02927/0.7242, allocations: 16.82 MB / 0.684 GB, free: 7.812 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches