Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.0009571/0.0009571, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001014/0.001014, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3291/0.3291, allocations: 32.81 MB / 294.6 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.893e-05, allocations: 6.25 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3963/0.3964, allocations: 146.3 MB / 0.5106 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.4014, allocations: 3.032 MB / 0.5135 GB, free: 17.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008576/0.4023, allocations: 26.44 kB / 0.5136 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.403, allocations: 244.1 kB / 0.5138 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.4065, allocations: 1.547 MB / 0.5153 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.4085, allocations: 0.9734 MB / 0.5163 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.4109, allocations: 2.331 MB / 0.5185 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009886/0.4119, allocations: 0.6384 MB / 0.5192 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.4162, allocations: 2.979 MB / 0.5221 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.4174, allocations: 0.8166 MB / 0.5229 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.4177, allocations: 98.97 kB / 0.523 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.4192, allocations: 0.6908 MB / 0.5236 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.4197, allocations: 0.7269 MB / 0.5243 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.4204, allocations: 0.5721 MB / 0.5249 GB, free: 12.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.4227, allocations: 1.863 MB / 0.5267 GB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4227, allocations: 0 / 0.5267 GB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4227, allocations: 0 / 0.5267 GB, free: 11.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.4227, allocations: 2.781 kB / 0.5267 GB, free: 11.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002167/0.4249, allocations: 1.73 MB / 0.5284 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4249, allocations: 14.67 kB / 0.5284 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.4259, allocations: 436.5 kB / 0.5288 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.4267, allocations: 0.6501 MB / 0.5295 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.4268, allocations: 193.4 kB / 0.5297 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.4269, allocations: 117 kB / 0.5298 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4281, allocations: 1.708 MB / 0.5314 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.4281, allocations: 6.953 kB / 0.5314 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.4282, allocations: 49.48 kB / 0.5315 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.4283, allocations: 98.75 kB / 0.5316 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.4289, allocations: 473.3 kB / 0.532 GB, free: 8.453 MB / 410.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.004165/0.4331, allocations: 4.448 MB / 0.5364 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.4335, allocations: 365.3 kB / 0.5367 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4337, allocations: 148.5 kB / 0.5369 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.191e-05/0.4337, allocations: 42.23 kB / 0.5369 GB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4338, allocations: 47.48 kB / 0.537 GB, free: 5.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.834e-06/0.4338, allocations: 3.938 kB / 0.537 GB, free: 5.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004434/0.4382, allocations: 2.261 MB / 0.5392 GB, free: 4.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4382, allocations: 109.8 kB / 0.5393 GB, free: 3.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.4387, allocations: 0.6415 MB / 0.5399 GB, free: 3.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.4387, allocations: 43.39 kB / 0.5399 GB, free: 3.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4389, allocations: 0.62 MB / 0.5405 GB, free: 2.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4391, allocations: 284.1 kB / 0.5408 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.4393, allocations: 226.5 kB / 0.541 GB, free: 2.531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4394, allocations: 0.579 MB / 0.5416 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.4396, allocations: 165.2 kB / 0.5418 GB, free: 1.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.44, allocations: 0.6418 MB / 0.5424 GB, free: 1.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.4408, allocations: 0.8029 MB / 0.5432 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4408, allocations: 3 kB / 0.5432 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001164/0.4419, allocations: 0.9641 MB / 0.5441 GB, free: 176 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.442, allocations: 8 kB / 0.5441 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.442, allocations: 12 kB / 0.5441 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.4443, allocations: 1.024 MB / 0.5451 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.4446, allocations: 147.8 kB / 0.5453 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4459, allocations: 1.328 MB / 0.5466 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.4463, allocations: 30.94 kB / 0.5466 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.4464, allocations: 59.98 kB / 0.5467 GB, free: 13.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.4468, allocations: 224.3 kB / 0.5469 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.447, allocations: 107.5 kB / 0.547 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.4486, allocations: 0.8284 MB / 0.5478 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.4486, allocations: 8 kB / 0.5478 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4486, allocations: 0 / 0.5478 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4486, allocations: 3.984 kB / 0.5478 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.4507, allocations: 1.457 MB / 0.5492 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4507, allocations: 0 / 0.5492 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008336/0.4516, allocations: 287.7 kB / 0.5495 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.4517, allocations: 39.59 kB / 0.5495 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/0.4518, allocations: 35.97 kB / 0.5496 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.4535, allocations: 3.547 MB / 0.553 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4535, allocations: 4.031 kB / 0.553 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4546, allocations: 0.9615 MB / 0.554 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.4549, allocations: 175.4 kB / 0.5541 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.455, allocations: 31.98 kB / 0.5542 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4554, allocations: 39.97 kB / 0.5542 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.4558, allocations: 72.41 kB / 0.5543 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/0.4559, allocations: 55.95 kB / 0.5543 GB, free: 5.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.4562, allocations: 382.9 kB / 0.5547 GB, free: 4.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4562, allocations: 4 kB / 0.5547 GB, free: 4.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00123/0.4574, allocations: 447.6 kB / 0.5551 GB, free: 4.547 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.0009498/0.4583, allocations: 0.5226 MB / 0.5556 GB, free: 4.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4594, allocations: 0.6819 MB / 0.5563 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4594, allocations: 6.078 kB / 0.5563 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.4601, allocations: 0.5296 MB / 0.5568 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4612, allocations: 491.8 kB / 0.5573 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.4647, allocations: 2.293 MB / 0.5595 GB, free: 0 / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4649, allocations: 281.3 kB / 0.5598 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007204/0.4657, allocations: 259 kB / 0.56 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.4667, allocations: 0.6108 MB / 0.5606 GB, free: 14.83 MB / 442.7 MB Notification: Performance of SimCode: time 2.255e-06/0.4667, allocations: 0 / 0.5606 GB, free: 14.83 MB / 442.7 MB Notification: Performance of Templates: time 0.04037/0.5071, allocations: 31.7 MB / 0.5916 GB, free: 15.49 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.752828254830092]