Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001552/0.001552, allocations: 83.06 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00169/0.00169, allocations: 163.8 kB / 23.95 MB, free: 4.156 MB / 14.72 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.44/1.44, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.213/0.213, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.628e-06/4.628e-06, allocations: 4 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/3.008e-05, allocations: 6.219 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3804/0.3805, allocations: 156.4 MB / 0.5826 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009635/0.3901, allocations: 5.985 MB / 0.5884 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.3908, allocations: 27.75 kB / 0.5884 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3921, allocations: 389.6 kB / 0.5888 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006326/0.3985, allocations: 1.838 MB / 0.5906 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.403, allocations: 1.546 MB / 0.5921 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00326/0.4063, allocations: 2.146 MB / 0.5942 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.4074, allocations: 477.9 kB / 0.5947 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/0.4125, allocations: 2.06 MB / 0.5967 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.4157, allocations: 1.484 MB / 0.5981 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003145/0.416, allocations: 80 kB / 0.5982 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.4188, allocations: 1.157 MB / 0.5993 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006933/0.4195, allocations: 478.7 kB / 0.5998 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008733/0.4204, allocations: 419.1 kB / 0.6002 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.4242, allocations: 2.201 MB / 0.6023 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4242, allocations: 0 / 0.6023 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4242, allocations: 0 / 0.6023 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.4243, allocations: 0 / 0.6023 GB, free: 9.145 MB / 0.4981 GB 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.003367/0.4276, allocations: 1.392 MB / 0.6037 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.4277, allocations: 11.98 kB / 0.6037 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.4292, allocations: 295.1 kB / 0.604 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.4303, allocations: 0.5712 MB / 0.6046 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.4305, allocations: 176 kB / 0.6047 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.4307, allocations: 73.09 kB / 0.6048 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.4331, allocations: 1.966 MB / 0.6067 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.4331, allocations: 4 kB / 0.6067 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4332, allocations: 32 kB / 0.6067 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.4333, allocations: 77.27 kB / 0.6068 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.4351, allocations: 1.047 MB / 0.6078 GB, free: 3.184 MB / 0.4981 GB 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.006367/0.4415, allocations: 3.862 MB / 0.6116 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.442, allocations: 304.1 kB / 0.6119 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.4423, allocations: 136.7 kB / 0.612 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/0.4424, allocations: 19.98 kB / 0.6121 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4424, allocations: 40.88 kB / 0.6121 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.4424, allocations: 0 / 0.6121 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.006524/0.4489, allocations: 1.759 MB / 0.6138 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.449, allocations: 136.5 kB / 0.6139 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.45, allocations: 0.8283 MB / 0.6148 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.45, allocations: 41.69 kB / 0.6148 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.4505, allocations: 0.5882 MB / 0.6154 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.4506, allocations: 134.9 kB / 0.6155 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.4509, allocations: 222.8 kB / 0.6157 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4511, allocations: 390.7 kB / 0.6161 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.4516, allocations: 274.4 kB / 0.6163 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.4526, allocations: 0.9392 MB / 0.6173 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.4542, allocations: 1.188 MB / 0.6184 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4542, allocations: 4 kB / 0.6184 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002082/0.4563, allocations: 1.224 MB / 0.6196 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4563, allocations: 18.5 kB / 0.6196 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.4563, allocations: 20 kB / 0.6197 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.4576, allocations: 283.6 kB / 0.6199 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.4582, allocations: 211.5 kB / 0.6201 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4594, allocations: 0.9114 MB / 0.621 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.4601, allocations: 51.92 kB / 0.6211 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4602, allocations: 68 kB / 0.6211 GB, free: 4.695 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0004851/0.4607, allocations: 334 kB / 0.6214 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4608, allocations: 83.48 kB / 0.6215 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.462, allocations: 0.5167 MB / 0.622 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.462, allocations: 4 kB / 0.622 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.462, allocations: 0 / 0.622 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.462, allocations: 3.984 kB / 0.622 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4637, allocations: 0.9609 MB / 0.623 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.4637, allocations: 8.031 kB / 0.623 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.4648, allocations: 183.8 kB / 0.6232 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.574e-05/0.4649, allocations: 16.84 kB / 0.6232 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.4649, allocations: 15.98 kB / 0.6232 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.4673, allocations: 2.621 MB / 0.6258 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4673, allocations: 0 / 0.6258 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4685, allocations: 0.6973 MB / 0.6264 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.4687, allocations: 103.9 kB / 0.6265 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.4688, allocations: 23.94 kB / 0.6266 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.4692, allocations: 12 kB / 0.6266 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.4693, allocations: 23.95 kB / 0.6266 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4693, allocations: 23.92 kB / 0.6266 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006847/0.47, allocations: 0.5224 MB / 0.6271 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.47, allocations: 0 / 0.6271 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001389/0.4714, allocations: 383.5 kB / 0.6275 GB, free: 13.9 MB / 0.5294 GB 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.001739/0.4732, allocations: 0.6465 MB / 0.6281 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.4745, allocations: 0.6512 MB / 0.6288 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4745, allocations: 0 / 0.6288 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.4755, allocations: 366.3 kB / 0.6291 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.477, allocations: 347.2 kB / 0.6294 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.4794, allocations: 1.511 MB / 0.6309 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4799, allocations: 437.4 kB / 0.6313 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008414/0.4807, allocations: 366.2 kB / 0.6317 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.4809, allocations: 72.48 kB / 0.6317 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.4809, allocations: 0 / 0.6317 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of Templates: time 0.2034/0.6843, allocations: 19.32 MB / 0.6506 GB, free: 189 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.944360606372356]