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.00101/0.00101, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001872/0.001872, allocations: 165 kB / 23.79 MB, free: 0.7812 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.081/1.081, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1807/0.1807, allocations: 32.36 MB / 270.4 MB, free: 14.71 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 4.529e-06/4.529e-06, allocations: 4 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.264e-05/4.717e-05, allocations: 2.312 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3479/0.348, allocations: 147.5 MB / 495.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.3517, allocations: 3.063 MB / 498.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.352, allocations: 31.53 kB / 498.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.3527, allocations: 242.4 kB / 498.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.3554, allocations: 1.586 MB / 0.4884 GB, free: 7.105 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.3567, allocations: 0.9521 MB / 0.4894 GB, free: 6.688 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.3582, allocations: 2.223 MB / 0.4915 GB, free: 5.652 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000496/0.3587, allocations: 0.5173 MB / 0.492 GB, free: 5.277 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.3615, allocations: 2.836 MB / 0.4948 GB, free: 3.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.3622, allocations: 0.6817 MB / 0.4955 GB, free: 3.336 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3623, allocations: 74.72 kB / 0.4956 GB, free: 3.336 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008523/0.3631, allocations: 0.702 MB / 0.4962 GB, free: 2.996 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3634, allocations: 479.6 kB / 0.4967 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.3637, allocations: 414.6 kB / 0.4971 GB, free: 2.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3649, allocations: 1.478 MB / 0.4985 GB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3649, allocations: 0 / 0.4985 GB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3649, allocations: 0 / 0.4985 GB, free: 1.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3649, allocations: 4 kB / 0.4985 GB, free: 1.492 MB / 362.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.001462/0.3664, allocations: 1.414 MB / 0.4999 GB, free: 36 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3664, allocations: 8.031 kB / 0.4999 GB, free: 28 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008604/0.3673, allocations: 411.8 kB / 0.5003 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.3679, allocations: 0.5863 MB / 0.5009 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.368, allocations: 168.6 kB / 0.5011 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3681, allocations: 80.38 kB / 0.5011 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.3692, allocations: 1.571 MB / 0.5027 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3693, allocations: 7.938 kB / 0.5027 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.3693, allocations: 31.98 kB / 0.5027 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.322e-05/0.3694, allocations: 81.27 kB / 0.5028 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.37, allocations: 419.3 kB / 0.5032 GB, free: 12.36 MB / 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.00354/0.3736, allocations: 4.379 MB / 0.5075 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.3739, allocations: 172.2 kB / 0.5076 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.374, allocations: 76.39 kB / 0.5077 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.374, allocations: 62.31 kB / 0.5078 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.3741, allocations: 41.33 kB / 0.5078 GB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.3741, allocations: 0 / 0.5078 GB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003281/0.3773, allocations: 1.392 MB / 0.5091 GB, free: 6.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3774, allocations: 132.5 kB / 0.5093 GB, free: 5.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.378, allocations: 0.8268 MB / 0.5101 GB, free: 5.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3781, allocations: 29.7 kB / 0.5101 GB, free: 4.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3784, allocations: 0.6573 MB / 0.5108 GB, free: 4.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.3785, allocations: 135 kB / 0.5109 GB, free: 4.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3787, allocations: 240.4 kB / 0.5111 GB, free: 3.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3789, allocations: 0.5742 MB / 0.5117 GB, free: 3.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.379, allocations: 114.5 kB / 0.5118 GB, free: 3.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.3797, allocations: 1.07 MB / 0.5128 GB, free: 1.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008947/0.3806, allocations: 1.182 MB / 0.514 GB, free: 184 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.3806, allocations: 19.86 kB / 0.514 GB, free: 164 kB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001041/0.3816, allocations: 0.9574 MB / 0.5149 GB, free: 15.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3816, allocations: 12 kB / 0.5149 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3816, allocations: 20 kB / 0.515 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/0.3823, allocations: 238.6 kB / 0.5152 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.3826, allocations: 211.6 kB / 0.5154 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006295/0.3832, allocations: 1.003 MB / 0.5164 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3836, allocations: 48 kB / 0.5164 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.3836, allocations: 71.98 kB / 0.5165 GB, free: 13.57 MB / 394.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.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 (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.0001795/0.3838, allocations: 236.1 kB / 0.5167 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3839, allocations: 95.48 kB / 0.5168 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.3843, allocations: 344.8 kB / 0.5171 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3843, allocations: 4 kB / 0.5171 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3843, allocations: 0 / 0.5171 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3843, allocations: 0 / 0.5171 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.3852, allocations: 0.8912 MB / 0.518 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3852, allocations: 4.031 kB / 0.518 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.3857, allocations: 171.9 kB / 0.5182 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.055e-05/0.3858, allocations: 27.61 kB / 0.5182 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3858, allocations: 11.98 kB / 0.5182 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.3872, allocations: 3.555 MB / 0.5217 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3872, allocations: 4 kB / 0.5217 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.3877, allocations: 0.5314 MB / 0.5222 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3879, allocations: 103.4 kB / 0.5223 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.3879, allocations: 11.98 kB / 0.5223 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3881, allocations: 12 kB / 0.5223 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.3882, allocations: 27.95 kB / 0.5224 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3882, allocations: 23.92 kB / 0.5224 GB, free: 7.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.3885, allocations: 458.9 kB / 0.5228 GB, free: 6.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3885, allocations: 0 / 0.5228 GB, free: 6.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007096/0.3892, allocations: 355.5 kB / 0.5232 GB, free: 6.398 MB / 394.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.0009316/0.3902, allocations: 0.5252 MB / 0.5237 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.3908, allocations: 0.4907 MB / 0.5241 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3909, allocations: 4.062 kB / 0.5242 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.3913, allocations: 361.3 kB / 0.5245 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.3921, allocations: 335.2 kB / 0.5248 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.394, allocations: 1.369 MB / 0.5262 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.3941, allocations: 211.2 kB / 0.5264 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004748/0.3946, allocations: 278.9 kB / 0.5266 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3947, allocations: 72.48 kB / 0.5267 GB, free: 2.695 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3947, allocations: 0 / 0.5267 GB, free: 2.695 MB / 394.7 MB Notification: Performance of Templates: time 0.0228/0.4175, allocations: 20.33 MB / 0.5465 GB, free: 14.44 MB / 426.7 MB " [Timeout remaining time 660] 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: 4.386147428303957]