Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001436/0.001436, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001144/0.001144, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.8932/0.8932, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.1395/0.1395, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,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.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.535e-05, allocations: 6.25 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3109/0.3109, allocations: 146.9 MB / 446 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.3153, allocations: 3.096 MB / 449.1 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.3157, allocations: 27.75 kB / 449.1 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.3163, allocations: 234.5 kB / 449.3 MB, free: 7.594 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.3197, allocations: 1.61 MB / 450.9 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.3214, allocations: 0.9513 MB / 451.9 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.3236, allocations: 2.227 MB / 454.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000995/0.3246, allocations: 0.5142 MB / 454.6 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2189/0.5435, allocations: 2.752 MB / 457.4 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.5451, allocations: 0.6394 MB / 458 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.5454, allocations: 75.06 kB / 458.1 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.5472, allocations: 0.6903 MB / 458.8 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.5477, allocations: 480.5 kB / 459.2 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007368/0.5485, allocations: 414.4 kB / 459.6 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.5511, allocations: 1.474 MB / 461.1 MB, free: 6.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5512, allocations: 1.625 kB / 461.1 MB, free: 6.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5512, allocations: 0 / 461.1 MB, free: 6.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.5512, allocations: 1.906 kB / 461.1 MB, free: 6.129 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.002508/0.5537, allocations: 1.254 MB / 462.4 MB, free: 5.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5537, allocations: 10.69 kB / 462.4 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.5547, allocations: 369.4 kB / 462.8 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.5555, allocations: 0.4898 MB / 463.2 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5556, allocations: 164.4 kB / 463.4 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5558, allocations: 84.17 kB / 463.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5569, allocations: 1.461 MB / 464.9 MB, free: 20.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5569, allocations: 5.25 kB / 464.9 MB, free: 20.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.557, allocations: 35.45 kB / 465 MB, free: 20.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.494e-05/0.5571, allocations: 87.25 kB / 465.1 MB, free: 20.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.5577, allocations: 329.1 kB / 465.4 MB, free: 19.99 MB / 426.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.003835/0.5615, allocations: 3.141 MB / 468.5 MB, free: 18.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.5617, allocations: 139 kB / 468.7 MB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.5618, allocations: 54.19 kB / 468.7 MB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/0.5618, allocations: 57.42 kB / 468.8 MB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5619, allocations: 44.27 kB / 468.8 MB, free: 18.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.5619, allocations: 2.844 kB / 468.8 MB, free: 18.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002687/0.5646, allocations: 1.133 MB / 470 MB, free: 17.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.5646, allocations: 131.1 kB / 470.1 MB, free: 17.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.565, allocations: 0.6815 MB / 470.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.5651, allocations: 33.55 kB / 470.8 MB, free: 17.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.5653, allocations: 0.534 MB / 471.3 MB, free: 16.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.5653, allocations: 137.7 kB / 471.5 MB, free: 16.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.5655, allocations: 213.7 kB / 471.7 MB, free: 16.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5656, allocations: 393.1 kB / 472.1 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.5657, allocations: 83.48 kB / 472.1 MB, free: 16.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.5661, allocations: 0.7874 MB / 472.9 MB, free: 15.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.5667, allocations: 0.8847 MB / 473.8 MB, free: 14.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5667, allocations: 9.75 kB / 473.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0007657/0.5675, allocations: 0.7359 MB / 474.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5675, allocations: 15.28 kB / 474.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5675, allocations: 19.94 kB / 474.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.568, allocations: 234.8 kB / 474.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.5683, allocations: 204.7 kB / 475 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004554/0.5688, allocations: 0.6883 MB / 475.7 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.5691, allocations: 48.16 kB / 475.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.5692, allocations: 58.19 kB / 475.8 MB, free: 14.27 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.0001869/0.5693, allocations: 207.7 kB / 476 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.5694, allocations: 61.33 kB / 476.1 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.5698, allocations: 269.2 kB / 476.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5698, allocations: 4.438 kB / 476.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5698, allocations: 2.25 kB / 476.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.5698, allocations: 0 / 476.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.5705, allocations: 0.6565 MB / 477 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5705, allocations: 3.047 kB / 477 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.5708, allocations: 150.1 kB / 477.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.691e-05/0.5709, allocations: 24.94 kB / 477.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5709, allocations: 7.5 kB / 477.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.5721, allocations: 2.418 MB / 479.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5721, allocations: 0.9375 kB / 479.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.5725, allocations: 421 kB / 480 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5726, allocations: 89.73 kB / 480.1 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/0.5726, allocations: 9.5 kB / 480.1 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.5728, allocations: 12.45 kB / 480.1 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.5729, allocations: 28.45 kB / 480.2 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.5729, allocations: 16.5 kB / 480.2 MB, free: 11.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.5731, allocations: 291.4 kB / 480.5 MB, free: 11.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.5731, allocations: 1.156 kB / 480.5 MB, free: 11.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008116/0.5739, allocations: 354.8 kB / 480.8 MB, free: 11.1 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.0009592/0.5749, allocations: 0.5099 MB / 481.3 MB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.5755, allocations: 428.9 kB / 481.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-05/0.5755, allocations: 20.31 kB / 481.7 MB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.5759, allocations: 271.5 kB / 482 MB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.5767, allocations: 361.2 kB / 482.4 MB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.5784, allocations: 1.338 MB / 483.7 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.5785, allocations: 206.7 kB / 483.9 MB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.5789, allocations: 142.9 kB / 484 MB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.5794, allocations: 346.3 kB / 484.4 MB, free: 10.01 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5794, allocations: 0 / 484.4 MB, free: 10.01 MB / 426.7 MB Notification: Performance of Templates: time 0.02156/0.601, allocations: 20.46 MB / 0.493 GB, free: 5.672 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.972385525237769]