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.001104/0.001104, allocations: 101.5 kB / 17.77 MB, free: 5.277 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.001101/0.001101, allocations: 188 kB / 18.71 MB, free: 4.348 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.208/0.208, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.445, allocations: 60.81 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.226/0.671, allocations: 174.3 MB / 0.6891 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008294/0.6793, allocations: 5.338 MB / 0.6944 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.6805, allocations: 19.88 kB / 0.6944 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.6819, allocations: 314 kB / 0.6947 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.6869, allocations: 1.335 MB / 0.696 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.6907, allocations: 1.055 MB / 0.697 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.6939, allocations: 1.856 MB / 0.6988 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.695, allocations: 457.3 kB / 0.6993 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.6983, allocations: 1.074 MB / 0.7003 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.7003, allocations: 0.7509 MB / 0.701 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.7007, allocations: 64 kB / 0.7011 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.7029, allocations: 0.6242 MB / 0.7017 GB, free: 180 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.7034, allocations: 263.2 kB / 0.702 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008472/0.7042, allocations: 398.2 kB / 0.7023 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.707, allocations: 1.293 MB / 0.7036 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7071, allocations: 4 kB / 0.7036 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7071, allocations: 7.938 kB / 0.7036 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.133e-05/0.7071, allocations: 3.984 kB / 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.003344/0.7105, allocations: 1.091 MB / 0.7047 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.7106, allocations: 8.031 kB / 0.7047 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.7116, allocations: 139.1 kB / 0.7048 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.7128, allocations: 0.5352 MB / 0.7054 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.713, allocations: 96.41 kB / 0.7054 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.7131, allocations: 55.98 kB / 0.7055 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.7146, allocations: 0.8097 MB / 0.7063 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.7146, allocations: 3.938 kB / 0.7063 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/0.7147, allocations: 27.98 kB / 0.7063 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-05/0.7148, allocations: 44.92 kB / 0.7064 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.7159, allocations: 0.6166 MB / 0.707 GB, free: 10.61 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.005022/0.7209, allocations: 3.973 MB / 0.7108 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.7215, allocations: 359.5 kB / 0.7112 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.7218, allocations: 173.3 kB / 0.7114 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.7219, allocations: 93.38 kB / 0.7114 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.722, allocations: 42.84 kB / 0.7115 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.722, allocations: 0 / 0.7115 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00596/0.728, allocations: 1.656 MB / 0.7131 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.7281, allocations: 132.5 kB / 0.7132 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7293, allocations: 0.6211 MB / 0.7138 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.852e-05/0.7294, allocations: 29.7 kB / 0.7139 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.7298, allocations: 370.8 kB / 0.7142 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.7299, allocations: 138.1 kB / 0.7143 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.7303, allocations: 158.5 kB / 0.7145 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.7305, allocations: 374.8 kB / 0.7149 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.7309, allocations: 201.9 kB / 0.715 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/0.7316, allocations: 0.5202 MB / 0.7156 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7328, allocations: 0.7513 MB / 0.7163 GB, free: 348 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.7328, allocations: 11.94 kB / 0.7163 GB, free: 336 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3586/1.091, allocations: 0.8741 MB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/1.092, allocations: 12.38 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/1.092, allocations: 12.28 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/1.093, allocations: 309.1 kB / 0.7175 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/1.094, allocations: 125.7 kB / 0.7176 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/1.095, allocations: 0.9325 MB / 0.7185 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/1.095, allocations: 28.72 kB / 0.7185 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.096, allocations: 64.42 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.0004198/1.096, allocations: 248 kB / 0.7188 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/1.096, allocations: 73.94 kB / 0.7189 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/1.098, allocations: 0.8623 MB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.098, allocations: 4.25 kB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.098, allocations: 0.8438 kB / 0.7197 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.098, allocations: 10.66 kB / 0.7198 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/1.1, allocations: 1.456 MB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.1, allocations: 2.812 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.101, allocations: 210 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/1.101, allocations: 24 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/1.101, allocations: 23.34 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.103, allocations: 2.871 MB / 0.7242 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.103, allocations: 2.594 kB / 0.7242 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/1.105, allocations: 0.8347 MB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/1.105, allocations: 188.5 kB / 0.7252 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.105, allocations: 13.28 kB / 0.7252 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/1.105, allocations: 19.67 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.105, allocations: 39.22 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.764e-05/1.106, allocations: 44.66 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006324/1.106, allocations: 441.1 kB / 0.7258 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 0 / 0.7258 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001072/1.107, allocations: 252.4 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.000771/1.108, allocations: 297.4 kB / 0.7263 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001176/1.109, allocations: 0.5613 MB / 0.7268 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.109, allocations: 1.188 kB / 0.7268 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/1.11, allocations: 418 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.001559/1.112, allocations: 364.3 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.002167/1.114, 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.0003718/1.114, allocations: 0.9321 MB / 0.7298 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009833/1.115, allocations: 464 kB / 0.7302 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/1.116, allocations: 108.6 kB / 0.7303 GB, free: 182 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/1.116, allocations: 4 kB / 0.7303 GB, free: 182 MB / 0.5606 GB Notification: Performance of Templates: time 0.02672/1.142, allocations: 17.79 MB / 0.7477 GB, free: 169.5 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