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.001425/0.001425, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001648/0.001648, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.382/1.382, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2221/0.2221, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4508, allocations: 60.82 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2238/0.6747, allocations: 174.3 MB / 0.6892 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009337/0.6841, allocations: 5.334 MB / 0.6944 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.6857, allocations: 19.88 kB / 0.6944 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.6873, allocations: 318 kB / 0.6947 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006084/0.6935, allocations: 1.331 MB / 0.696 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.6975, allocations: 1.059 MB / 0.697 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003579/0.7011, allocations: 1.852 MB / 0.6988 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.7023, allocations: 465.3 kB / 0.6993 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.7056, allocations: 1.07 MB / 0.7003 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.7077, allocations: 0.751 MB / 0.7011 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.7081, allocations: 60 kB / 0.7011 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.7103, allocations: 0.6164 MB / 0.7017 GB, free: 180 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005776/0.7109, allocations: 279.2 kB / 0.702 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009983/0.7119, allocations: 390.2 kB / 0.7024 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.7149, allocations: 1.305 MB / 0.7036 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7149, allocations: 0 / 0.7036 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7149, allocations: 0 / 0.7036 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.7149, allocations: 0 / 0.7036 GB, free: 14.21 MB / 0.5606 GB 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.002406/0.7173, allocations: 1.098 MB / 0.7047 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.7174, allocations: 12.03 kB / 0.7047 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.7183, allocations: 131.1 kB / 0.7048 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.7191, allocations: 0.5274 MB / 0.7054 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.7193, allocations: 108.4 kB / 0.7055 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.7194, allocations: 47.94 kB / 0.7055 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.7206, allocations: 0.8097 MB / 0.7063 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.7207, allocations: 4 kB / 0.7063 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.7208, allocations: 28 kB / 0.7063 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.7208, allocations: 48.84 kB / 0.7064 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.7219, allocations: 0.6166 MB / 0.707 GB, free: 10.6 MB / 0.5606 GB 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.004388/0.7263, allocations: 3.973 MB / 0.7109 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.7269, allocations: 355.6 kB / 0.7112 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.7272, allocations: 169.3 kB / 0.7114 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.7273, allocations: 97.31 kB / 0.7114 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7273, allocations: 46.83 kB / 0.7115 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.7273, allocations: 0 / 0.7115 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005764/0.7331, allocations: 1.653 MB / 0.7131 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.7332, allocations: 140.5 kB / 0.7132 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.734, allocations: 0.6055 MB / 0.7138 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.734, allocations: 37.7 kB / 0.7139 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.7343, allocations: 366.8 kB / 0.7142 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.7344, allocations: 142.1 kB / 0.7143 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.7346, allocations: 154.5 kB / 0.7145 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7348, allocations: 382.6 kB / 0.7149 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.7352, allocations: 201.9 kB / 0.7151 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.7358, allocations: 0.5164 MB / 0.7156 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009599/0.7367, allocations: 0.7513 MB / 0.7163 GB, free: 344 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7367, allocations: 8 kB / 0.7163 GB, free: 336 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3836/1.12, allocations: 0.8704 MB / 0.7171 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/1.12, allocations: 9.375 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.12, allocations: 10.39 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/1.122, allocations: 313.5 kB / 0.7175 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/1.123, allocations: 128.9 kB / 0.7176 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.124, allocations: 0.931 MB / 0.7185 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/1.124, allocations: 33.3 kB / 0.7185 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.124, allocations: 63.58 kB / 0.7186 GB, free: 189.2 MB / 0.5606 GB 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.0004032/1.125, allocations: 245.5 kB / 0.7188 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.125, allocations: 68.03 kB / 0.7189 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.127, allocations: 0.864 MB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.127, allocations: 4.344 kB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.127, allocations: 3.688 kB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.127, allocations: 3.047 kB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.129, allocations: 1.463 MB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.129, allocations: 1.156 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.13, allocations: 213.2 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.894e-05/1.13, allocations: 24.66 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/1.13, allocations: 24.77 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/1.132, allocations: 2.878 MB / 0.7242 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.132, allocations: 4.594 kB / 0.7242 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.133, allocations: 0.8284 MB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/1.134, allocations: 185.8 kB / 0.7252 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.134, allocations: 13.86 kB / 0.7252 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/1.134, allocations: 15.75 kB / 0.7253 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.134, allocations: 37.7 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/1.134, allocations: 43.97 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006568/1.135, allocations: 441 kB / 0.7258 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.135, allocations: 2.531 kB / 0.7258 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001162/1.136, allocations: 253.9 kB / 0.726 GB, free: 184.1 MB / 0.5606 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.000842/1.137, allocations: 303.4 kB / 0.7263 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.138, allocations: 0.5523 MB / 0.7268 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.139, allocations: 4.969 kB / 0.7268 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.14, allocations: 422.9 kB / 0.7272 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.141, allocations: 363.5 kB / 0.7276 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/1.144, allocations: 1.327 MB / 0.7289 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/1.144, allocations: 0.9296 MB / 0.7298 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001197/1.145, allocations: 471 kB / 0.7302 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.146, allocations: 116.6 kB / 0.7303 GB, free: 182 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.146, allocations: 0 / 0.7303 GB, free: 182 MB / 0.5606 GB Notification: Performance of Templates: time 0.02758/1.173, allocations: 17.57 MB / 0.7475 GB, free: 169.7 MB / 0.5606 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