Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2322/0.2322, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.058e-06/4.058e-06, allocations: 4 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.032e-05/4.437e-05, allocations: 2.312 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3976/0.3977, allocations: 155.6 MB / 0.4907 GB, free: 1.414 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008371/0.406, allocations: 5.282 MB / 0.4959 GB, free: 13.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009767/0.407, allocations: 33.84 kB / 0.4959 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4081, allocations: 310.2 kB / 0.4962 GB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.4133, allocations: 1.62 MB / 0.4978 GB, free: 11.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.4173, allocations: 1.275 MB / 0.4991 GB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.4204, allocations: 1.883 MB / 0.5009 GB, free: 9.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.4212, allocations: 423.6 kB / 0.5013 GB, free: 9.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.4252, allocations: 1.495 MB / 0.5028 GB, free: 8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.4268, allocations: 0.7164 MB / 0.5035 GB, free: 7.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.4269, allocations: 64 kB / 0.5035 GB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.4289, allocations: 0.7564 MB / 0.5043 GB, free: 6.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003755/0.4293, allocations: 287.1 kB / 0.5045 GB, free: 6.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.4298, allocations: 279.4 kB / 0.5048 GB, free: 5.906 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.4325, allocations: 1.539 MB / 0.5063 GB, free: 4.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4325, allocations: 0 / 0.5063 GB, free: 4.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4325, allocations: 0 / 0.5063 GB, free: 4.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.4325, allocations: 0 / 0.5063 GB, free: 4.363 MB / 378.7 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.002825/0.4353, allocations: 1.076 MB / 0.5073 GB, free: 3.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4354, allocations: 12.03 kB / 0.5074 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4364, allocations: 227 kB / 0.5076 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.4377, allocations: 0.4897 MB / 0.5081 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.438, allocations: 163.7 kB / 0.5082 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.4382, allocations: 55.94 kB / 0.5083 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.4404, allocations: 1.165 MB / 0.5094 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4404, allocations: 0 / 0.5094 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.4405, allocations: 23.98 kB / 0.5094 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-05/0.4406, allocations: 44.92 kB / 0.5095 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.4418, allocations: 0.6166 MB / 0.5101 GB, free: 256 kB / 378.7 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.005008/0.4468, allocations: 3.243 MB / 0.5132 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.4475, allocations: 339.6 kB / 0.5136 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.4478, allocations: 157.3 kB / 0.5137 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.4482, allocations: 134.1 kB / 0.5138 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.4482, allocations: 42.83 kB / 0.5139 GB, free: 12.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.4482, allocations: 4 kB / 0.5139 GB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.005805/0.454, allocations: 1.569 MB / 0.5154 GB, free: 10.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4541, allocations: 132.5 kB / 0.5155 GB, free: 10.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.4549, allocations: 0.5338 MB / 0.5161 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.455, allocations: 33.7 kB / 0.5161 GB, free: 9.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.4553, allocations: 380.2 kB / 0.5165 GB, free: 9.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.4555, allocations: 150.7 kB / 0.5166 GB, free: 9.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.4557, allocations: 154.6 kB / 0.5167 GB, free: 9.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.4559, allocations: 370.7 kB / 0.5171 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.4563, allocations: 201.9 kB / 0.5173 GB, free: 8.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008616/0.4572, allocations: 0.588 MB / 0.5179 GB, free: 7.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4583, allocations: 0.7333 MB / 0.5186 GB, free: 6.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.4583, allocations: 7.938 kB / 0.5186 GB, free: 6.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001664/0.46, allocations: 0.8881 MB / 0.5195 GB, free: 6.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.46, allocations: 12 kB / 0.5195 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.46, allocations: 12.09 kB / 0.5195 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.4614, allocations: 303.7 kB / 0.5198 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.4618, allocations: 119.8 kB / 0.5199 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.4632, allocations: 0.9192 MB / 0.5208 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.4637, allocations: 27.98 kB / 0.5208 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/0.4638, allocations: 56 kB / 0.5209 GB, free: 4.605 MB / 394.7 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.0004207/0.4642, allocations: 254.7 kB / 0.5211 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4644, allocations: 79.58 kB / 0.5212 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.4658, allocations: 0.6245 MB / 0.5218 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.4658, allocations: 4 kB / 0.5218 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4658, allocations: 4 kB / 0.5218 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4658, allocations: 3.984 kB / 0.5218 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.4681, allocations: 1.141 MB / 0.5229 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4681, allocations: 0 / 0.5229 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.4692, allocations: 203.9 kB / 0.5231 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.4693, allocations: 24.84 kB / 0.5231 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.4693, allocations: 16 kB / 0.5232 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.4719, allocations: 2.632 MB / 0.5257 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4719, allocations: 0 / 0.5257 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4733, allocations: 0.786 MB / 0.5265 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.4736, allocations: 103.6 kB / 0.5266 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.4737, allocations: 12.31 kB / 0.5266 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.474, allocations: 19.98 kB / 0.5266 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4741, allocations: 39.83 kB / 0.5267 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.4742, allocations: 35.98 kB / 0.5267 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005227/0.4747, allocations: 362.8 kB / 0.527 GB, free: 13.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4747, allocations: 0 / 0.527 GB, free: 13.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0011/0.4758, allocations: 299.6 kB / 0.5273 GB, free: 13.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 36 * 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.001181/0.477, allocations: 392.4 kB / 0.5277 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.4783, allocations: 0.5083 MB / 0.5282 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4783, allocations: 0 / 0.5282 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.4794, allocations: 402.1 kB / 0.5286 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.4808, allocations: 318.8 kB / 0.5289 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.4832, allocations: 1.224 MB / 0.5301 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4836, allocations: 336.3 kB / 0.5304 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000744/0.4844, allocations: 233.2 kB / 0.5306 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.4846, allocations: 88.47 kB / 0.5307 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4847, allocations: 0 / 0.5307 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Templates: time 0.03055/0.5152, allocations: 16.33 MB / 0.5467 GB, free: 9.898 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.914668728015386]