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.001431/0.001431, allocations: 103.3 kB / 18.4 MB, free: 4.57 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.001725/0.001725, allocations: 188 kB / 19.34 MB, free: 3.641 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.35/1.35, allocations: 222.9 MB / 243 MB, free: 15.15 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.2066/0.2066, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 58.53 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4147/0.528, allocations: 174.3 MB / 0.6299 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007671/0.5357, allocations: 5.338 MB / 0.6351 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.5364, allocations: 19.88 kB / 0.6352 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.5374, allocations: 310 kB / 0.6354 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.5407, allocations: 1.336 MB / 0.6368 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.5436, allocations: 1.066 MB / 0.6378 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.5459, allocations: 1.837 MB / 0.6396 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.5466, allocations: 467.9 kB / 0.64 GB, free: 7.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.5489, allocations: 1.063 MB / 0.6411 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.5502, allocations: 0.7587 MB / 0.6418 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.5503, allocations: 60 kB / 0.6419 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5518, allocations: 0.6242 MB / 0.6425 GB, free: 4.848 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.5521, allocations: 259.3 kB / 0.6427 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.5526, allocations: 394.2 kB / 0.6431 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.5542, allocations: 1.309 MB / 0.6444 GB, free: 2.895 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5542, allocations: 7.984 kB / 0.6444 GB, free: 2.887 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5542, allocations: 4 kB / 0.6444 GB, free: 2.883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.5543, allocations: 0 / 0.6444 GB, free: 2.883 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.002103/0.5564, allocations: 1.087 MB / 0.6455 GB, free: 1.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5564, allocations: 8.031 kB / 0.6455 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/0.5572, allocations: 135.1 kB / 0.6456 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.5581, allocations: 0.5314 MB / 0.6461 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.5582, allocations: 100.4 kB / 0.6462 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.5583, allocations: 59.88 kB / 0.6463 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5595, allocations: 0.8097 MB / 0.6471 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5596, allocations: 4 kB / 0.6471 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.092e-05/0.5596, allocations: 23.98 kB / 0.6471 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.5597, allocations: 48.92 kB / 0.6471 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5608, allocations: 0.6243 MB / 0.6477 GB, free: 15.28 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.004481/0.5653, allocations: 3.957 MB / 0.6516 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.5658, allocations: 355.6 kB / 0.6519 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.5661, allocations: 165.3 kB / 0.6521 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.5663, allocations: 97.31 kB / 0.6522 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.5663, allocations: 38.84 kB / 0.6522 GB, free: 10.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.5663, allocations: 4 kB / 0.6522 GB, free: 10.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005447/0.5718, allocations: 1.663 MB / 0.6539 GB, free: 8.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.5719, allocations: 136.5 kB / 0.654 GB, free: 8.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.5726, allocations: 0.6249 MB / 0.6546 GB, free: 7.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.5727, allocations: 29.7 kB / 0.6546 GB, free: 7.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.5729, allocations: 366.9 kB / 0.655 GB, free: 7.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5731, allocations: 142 kB / 0.6551 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.5733, allocations: 158.5 kB / 0.6553 GB, free: 7.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5735, allocations: 374.8 kB / 0.6556 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.5738, allocations: 201.9 kB / 0.6558 GB, free: 6.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.5744, allocations: 0.5164 MB / 0.6563 GB, free: 5.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/0.5754, allocations: 0.7525 MB / 0.657 GB, free: 5.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5754, allocations: 4 kB / 0.6571 GB, free: 5.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001475/0.5769, allocations: 0.8831 MB / 0.6579 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5769, allocations: 16.44 kB / 0.6579 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5769, allocations: 8 kB / 0.6579 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5783, allocations: 312.6 kB / 0.6582 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.5787, allocations: 127.8 kB / 0.6584 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.5799, allocations: 0.9334 MB / 0.6593 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.5804, allocations: 27.98 kB / 0.6593 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.5805, allocations: 68.06 kB / 0.6594 GB, free: 2.621 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.0003536/0.5809, allocations: 251.4 kB / 0.6596 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.581, allocations: 71.16 kB / 0.6597 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.5826, allocations: 0.8637 MB / 0.6605 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5826, allocations: 4 kB / 0.6605 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5826, allocations: 3.938 kB / 0.6605 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5826, allocations: 0 / 0.6605 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.5847, allocations: 1.466 MB / 0.6619 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5847, allocations: 0 / 0.6619 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5858, allocations: 211.9 kB / 0.6622 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.962e-05/0.5859, allocations: 28.84 kB / 0.6622 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.5859, allocations: 16 kB / 0.6622 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.5881, allocations: 2.877 MB / 0.665 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5881, allocations: 3.938 kB / 0.665 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5893, allocations: 0.8258 MB / 0.6658 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.5897, allocations: 184.3 kB / 0.666 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5898, allocations: 12 kB / 0.666 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.5902, allocations: 15.98 kB / 0.666 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.5903, allocations: 47.89 kB / 0.6661 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.5904, allocations: 43.98 kB / 0.6661 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005129/0.5909, allocations: 443 kB / 0.6665 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5909, allocations: 0 / 0.6665 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008877/0.5918, allocations: 255.9 kB / 0.6668 GB, free: 10.54 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.0007785/0.5926, allocations: 290.1 kB / 0.667 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.5938, allocations: 0.5662 MB / 0.6676 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5938, allocations: 4 kB / 0.6676 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5948, allocations: 418.3 kB / 0.668 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.5964, allocations: 362.2 kB / 0.6683 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.5986, allocations: 1.324 MB / 0.6696 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.5992, allocations: 0.9378 MB / 0.6706 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001017/0.6002, allocations: 462.4 kB / 0.671 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.6006, allocations: 119.3 kB / 0.6711 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.6006, allocations: 0 / 0.6711 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.02813/0.6287, allocations: 17.4 MB / 0.6881 GB, free: 4.777 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/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