Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001331/0.001331, allocations: 77.88 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.001288/0.001288, allocations: 168.6 kB / 24.82 MB, free: 9.262 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 1.129/1.129, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2668/0.2668, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.589e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.324/0.324, allocations: 146.4 MB / 0.5126 GB, free: 17.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005104/0.3291, allocations: 3.024 MB / 0.5156 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009458/0.33, allocations: 29.69 kB / 0.5156 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.3308, allocations: 238.6 kB / 0.5159 GB, free: 15.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.3344, allocations: 1.545 MB / 0.5174 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.3364, allocations: 0.946 MB / 0.5183 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.3388, allocations: 2.219 MB / 0.5205 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008806/0.3396, allocations: 0.5181 MB / 0.521 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.3436, allocations: 2.919 MB / 0.5238 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.3446, allocations: 0.6835 MB / 0.5245 GB, free: 11.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.3448, allocations: 74.28 kB / 0.5246 GB, free: 11.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.3461, allocations: 0.6703 MB / 0.5252 GB, free: 10.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.3464, allocations: 480.3 kB / 0.5257 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.3469, allocations: 411.2 kB / 0.5261 GB, free: 10.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3487, allocations: 1.462 MB / 0.5275 GB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3487, allocations: 0 / 0.5275 GB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3487, allocations: 0 / 0.5275 GB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3487, allocations: 3.938 kB / 0.5275 GB, free: 10.05 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001748/0.3505, allocations: 1.462 MB / 0.5289 GB, free: 9.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3505, allocations: 14.39 kB / 0.5289 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.3513, allocations: 385.7 kB / 0.5293 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.352, allocations: 0.5495 MB / 0.5298 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.031e-05/0.352, allocations: 170.9 kB / 0.53 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3521, allocations: 74.88 kB / 0.5301 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.3529, allocations: 1.483 MB / 0.5315 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.353, allocations: 3.953 kB / 0.5315 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.353, allocations: 38.61 kB / 0.5316 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.567e-05/0.3531, allocations: 86.88 kB / 0.5316 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.3535, allocations: 345.1 kB / 0.532 GB, free: 7.062 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.003017/0.3565, allocations: 4.169 MB / 0.536 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3568, allocations: 166.9 kB / 0.5362 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.3568, allocations: 68.8 kB / 0.5363 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.3569, allocations: 23.73 kB / 0.5363 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3569, allocations: 46.73 kB / 0.5363 GB, free: 3.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.3569, allocations: 0 / 0.5363 GB, free: 3.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002705/0.3596, allocations: 1.197 MB / 0.5375 GB, free: 2.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3596, allocations: 131.2 kB / 0.5376 GB, free: 2.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.3601, allocations: 0.8159 MB / 0.5384 GB, free: 2.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3602, allocations: 32.27 kB / 0.5385 GB, free: 2.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.3604, allocations: 0.6581 MB / 0.5391 GB, free: 1.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.3605, allocations: 140.5 kB / 0.5392 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.3606, allocations: 243.7 kB / 0.5395 GB, free: 1.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3607, allocations: 0.5842 MB / 0.54 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3609, allocations: 87.05 kB / 0.5401 GB, free: 1.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.3613, allocations: 1.062 MB / 0.5412 GB, free: 15.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.3622, allocations: 1.156 MB / 0.5423 GB, free: 14.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3622, allocations: 5.594 kB / 0.5423 GB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0009154/0.3631, allocations: 0.8861 MB / 0.5432 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3631, allocations: 13.84 kB / 0.5432 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3631, allocations: 21.78 kB / 0.5432 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.3637, allocations: 236.6 kB / 0.5434 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.364, allocations: 207.7 kB / 0.5436 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005576/0.3645, allocations: 0.9885 MB / 0.5446 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.3649, allocations: 44.8 kB / 0.5446 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.365, allocations: 60.22 kB / 0.5447 GB, free: 12.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (115): * Single equations (assignments): 114 * 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.0002055/0.3652, allocations: 241.1 kB / 0.5449 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.3653, allocations: 98.39 kB / 0.545 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.3657, allocations: 364.9 kB / 0.5453 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3657, allocations: 2.062 kB / 0.5454 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3657, allocations: 3.219 kB / 0.5454 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3658, allocations: 7.922 kB / 0.5454 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.3666, allocations: 0.7503 MB / 0.5461 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3666, allocations: 48 / 0.5461 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.367, allocations: 157 kB / 0.5462 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.938e-05/0.367, allocations: 19.55 kB / 0.5463 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3671, allocations: 7.125 kB / 0.5463 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.3687, allocations: 3.51 MB / 0.5497 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3687, allocations: 10.38 kB / 0.5497 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.3692, allocations: 0.4922 MB / 0.5502 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3693, allocations: 99.16 kB / 0.5503 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.3693, allocations: 6.875 kB / 0.5503 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3695, allocations: 20.3 kB / 0.5503 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.3696, allocations: 28.23 kB / 0.5503 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3696, allocations: 14.98 kB / 0.5503 GB, free: 7.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002776/0.3699, allocations: 428.6 kB / 0.5508 GB, free: 7.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3699, allocations: 4.031 kB / 0.5508 GB, free: 7.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008942/0.3708, allocations: 351.6 kB / 0.5511 GB, free: 7.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.0009591/0.3717, allocations: 498.4 kB / 0.5516 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.3724, allocations: 476.7 kB / 0.552 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3724, allocations: 3.938 kB / 0.552 GB, free: 6.039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.3728, allocations: 330.9 kB / 0.5523 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.3736, allocations: 360.7 kB / 0.5527 GB, free: 5.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3754, allocations: 1.35 MB / 0.554 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3755, allocations: 211.2 kB / 0.5542 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004706/0.376, allocations: 219.2 kB / 0.5544 GB, free: 3.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/0.3766, allocations: 429.8 kB / 0.5548 GB, free: 3.113 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3766, allocations: 0 / 0.5548 GB, free: 3.113 MB / 426.7 MB Notification: Performance of Templates: time 0.02445/0.4011, allocations: 20.28 MB / 0.5746 GB, free: 15.13 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.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.238842424936593]