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.001349/0.001349, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001864/0.001864, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.298/1.298, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2084/0.2084, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4057, allocations: 60.83 MB / 0.5196 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2078/0.6136, allocations: 174.3 MB / 0.6898 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008474/0.6221, allocations: 5.342 MB / 0.695 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.6232, allocations: 19.81 kB / 0.695 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.6245, allocations: 314 kB / 0.6953 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.6292, allocations: 1.335 MB / 0.6967 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.633, allocations: 1.063 MB / 0.6977 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.6362, allocations: 1.848 MB / 0.6995 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009265/0.6371, allocations: 453.4 kB / 0.6999 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.6398, allocations: 1.082 MB / 0.701 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.6414, allocations: 0.751 MB / 0.7017 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.6417, allocations: 60 kB / 0.7018 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.6435, allocations: 0.6242 MB / 0.7024 GB, free: 372 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.6439, allocations: 263.3 kB / 0.7026 GB, free: 108 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007139/0.6446, allocations: 398.3 kB / 0.703 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.647, allocations: 1.293 MB / 0.7043 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.647, allocations: 4 kB / 0.7043 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.21e-06/0.647, allocations: 0 / 0.7043 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.684e-05/0.647, allocations: 3.938 kB / 0.7043 GB, free: 14.41 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.002848/0.6499, allocations: 1.102 MB / 0.7054 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6499, allocations: 8.031 kB / 0.7054 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.6509, allocations: 131.1 kB / 0.7055 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.6518, allocations: 0.5353 MB / 0.706 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.652, allocations: 108.4 kB / 0.7061 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6521, allocations: 44 kB / 0.7062 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6534, allocations: 0.8136 MB / 0.707 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.6534, allocations: 7.922 kB / 0.707 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.6535, allocations: 31.98 kB / 0.707 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.6536, allocations: 40.92 kB / 0.707 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.6547, allocations: 0.6204 MB / 0.7076 GB, free: 10.79 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.004671/0.6594, allocations: 3.961 MB / 0.7115 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.66, allocations: 363.5 kB / 0.7119 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.6603, allocations: 173.3 kB / 0.712 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.6605, allocations: 89.38 kB / 0.7121 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.6605, allocations: 38.84 kB / 0.7121 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.6605, allocations: 0 / 0.7121 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005896/0.6664, allocations: 1.668 MB / 0.7138 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.6665, allocations: 132.5 kB / 0.7139 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.6673, allocations: 0.6133 MB / 0.7145 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.6674, allocations: 33.7 kB / 0.7145 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6677, allocations: 366.9 kB / 0.7149 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.6678, allocations: 142 kB / 0.715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.668, allocations: 162.5 kB / 0.7152 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.6682, allocations: 374.8 kB / 0.7155 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.6686, allocations: 205.8 kB / 0.7157 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.6692, allocations: 0.5164 MB / 0.7162 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.6702, allocations: 0.7513 MB / 0.717 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6702, allocations: 4 kB / 0.717 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2886/0.9589, allocations: 0.8788 MB / 0.7178 GB, free: 190 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.9589, allocations: 9.344 kB / 0.7178 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.959, allocations: 14.81 kB / 0.7178 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.9606, allocations: 309.6 kB / 0.7181 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.961, allocations: 124.8 kB / 0.7183 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.9621, allocations: 0.9283 MB / 0.7192 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.9627, allocations: 30.17 kB / 0.7192 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.9628, allocations: 66.83 kB / 0.7193 GB, free: 189.5 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.0003675/0.9632, allocations: 247.2 kB / 0.7195 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.9633, allocations: 72.03 kB / 0.7196 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.9649, allocations: 0.8571 MB / 0.7204 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9649, allocations: 3.281 kB / 0.7204 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9649, allocations: 4.375 kB / 0.7204 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.9649, allocations: 2.203 kB / 0.7204 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.9672, allocations: 1.463 MB / 0.7218 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9672, allocations: 1.125 kB / 0.7218 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.9683, allocations: 211.7 kB / 0.722 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.099e-05/0.9684, allocations: 24.61 kB / 0.7221 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.9685, allocations: 19.61 kB / 0.7221 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.9703, allocations: 2.881 MB / 0.7249 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.9703, allocations: 1.969 kB / 0.7249 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.9718, allocations: 0.8291 MB / 0.7257 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.9721, allocations: 186.9 kB / 0.7259 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.9722, allocations: 15.06 kB / 0.7259 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.9726, allocations: 17.23 kB / 0.7259 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.9727, allocations: 37.88 kB / 0.726 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.9728, allocations: 43.34 kB / 0.726 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005769/0.9734, allocations: 446.7 kB / 0.7264 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9734, allocations: 0 / 0.7264 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000967/0.9744, allocations: 250.7 kB / 0.7267 GB, free: 184.4 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.0007913/0.9752, allocations: 296.2 kB / 0.7269 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.9762, allocations: 0.5533 MB / 0.7275 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9763, allocations: 5.875 kB / 0.7275 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008786/0.9771, allocations: 418.6 kB / 0.7279 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.9787, allocations: 369.6 kB / 0.7282 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.9807, allocations: 1.364 MB / 0.7296 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.981, allocations: 0.9264 MB / 0.7305 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.9814, allocations: 131.7 kB / 0.7306 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.9814, allocations: 1.031 kB / 0.7306 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02017/1.002, allocations: 16.56 MB / 0.7468 GB, free: 171.4 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/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