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.001936/0.001936, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00214/0.00214, allocations: 207.1 kB / 23.73 MB, free: 4.379 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2339/0.2339, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002106/0.002106, allocations: 63.91 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4005, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2432/0.6437, allocations: 156.5 MB / 0.7139 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.6552, allocations: 5.978 MB / 0.7198 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009503/0.6561, allocations: 27.75 kB / 0.7198 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.6576, allocations: 389.7 kB / 0.7202 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.6632, allocations: 1.799 MB / 0.7219 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005223/0.6684, allocations: 1.51 MB / 0.7234 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003767/0.6721, allocations: 2.137 MB / 0.7255 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.6733, allocations: 493.3 kB / 0.726 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.678, allocations: 1.795 MB / 0.7277 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.6816, allocations: 1.562 MB / 0.7292 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.682, allocations: 76 kB / 0.7293 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.6853, allocations: 1.165 MB / 0.7305 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.686, allocations: 454.7 kB / 0.7309 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.6871, allocations: 478.2 kB / 0.7313 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.691, allocations: 2.076 MB / 0.7334 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.691, allocations: 0 / 0.7334 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.691, allocations: 0 / 0.7334 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.015e-05/0.6911, allocations: 0 / 0.7334 GB, free: 3.121 MB / 0.5606 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.004811/0.6959, allocations: 1.395 MB / 0.7347 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.696, allocations: 12.03 kB / 0.7347 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.6977, allocations: 287.1 kB / 0.735 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.6995, allocations: 0.5829 MB / 0.7356 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.6997, allocations: 164.1 kB / 0.7357 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.7, allocations: 75.91 kB / 0.7358 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2792/0.9792, allocations: 1.954 MB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.9792, allocations: 4.719 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.9794, allocations: 30.38 kB / 0.7378 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.9795, allocations: 85.62 kB / 0.7378 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.9815, allocations: 1.053 MB / 0.7389 GB, free: 174.3 MB / 0.5606 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.005669/0.9871, allocations: 3.859 MB / 0.7426 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.9876, allocations: 300.6 kB / 0.7429 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.9878, allocations: 136.2 kB / 0.7431 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.268e-05/0.9878, allocations: 20.8 kB / 0.7431 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.9879, allocations: 37.3 kB / 0.7431 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.9879, allocations: 0 / 0.7431 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006121/0.994, allocations: 1.748 MB / 0.7448 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.994, allocations: 132.5 kB / 0.7449 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.9947, allocations: 0.8369 MB / 0.7458 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.9948, allocations: 40.77 kB / 0.7458 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.995, allocations: 0.5867 MB / 0.7464 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.9951, allocations: 146.1 kB / 0.7465 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.9953, allocations: 222.8 kB / 0.7467 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.9954, allocations: 390.7 kB / 0.7471 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.9957, allocations: 274.5 kB / 0.7474 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.9963, allocations: 0.9427 MB / 0.7483 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.9972, allocations: 1.172 MB / 0.7494 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.9972, allocations: 8 kB / 0.7494 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001521/0.9987, allocations: 1.223 MB / 0.7506 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9987, allocations: 16 kB / 0.7506 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.9987, allocations: 23.31 kB / 0.7507 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1, allocations: 286.6 kB / 0.7509 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/1, allocations: 203.6 kB / 0.7511 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008142/1.001, allocations: 0.9253 MB / 0.752 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/1.002, allocations: 42.03 kB / 0.7521 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/1.002, allocations: 71.98 kB / 0.7521 GB, free: 162.3 MB / 0.5606 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.0003599/1.002, allocations: 345.2 kB / 0.7525 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.003, allocations: 87.11 kB / 0.7526 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/1.003, allocations: 0.5048 MB / 0.753 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.003, allocations: 7.938 kB / 0.7531 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.003, allocations: 0 / 0.7531 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.003, allocations: 0 / 0.7531 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/1.005, allocations: 0.9688 MB / 0.754 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.005, allocations: 0 / 0.754 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/1.006, allocations: 191.4 kB / 0.7542 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.396e-05/1.006, allocations: 21.94 kB / 0.7542 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/1.006, allocations: 8 kB / 0.7542 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/1.007, allocations: 2.622 MB / 0.7568 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.007, allocations: 3.938 kB / 0.7568 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/1.008, allocations: 0.6859 MB / 0.7574 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/1.008, allocations: 111.2 kB / 0.7576 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.008, allocations: 8 kB / 0.7576 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/1.009, allocations: 19.98 kB / 0.7576 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/1.009, allocations: 31.83 kB / 0.7576 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/1.009, allocations: 19.98 kB / 0.7576 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004821/1.009, allocations: 0.5272 MB / 0.7581 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.009, allocations: 0 / 0.7581 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001209/1.011, allocations: 383.5 kB / 0.7585 GB, free: 155.6 MB / 0.5606 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.001383/1.012, allocations: 0.6281 MB / 0.7591 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.013, allocations: 0.6494 MB / 0.7598 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.013, allocations: 3.953 kB / 0.7598 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008114/1.014, allocations: 368.1 kB / 0.7601 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.015, allocations: 336.8 kB / 0.7604 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/1.017, allocations: 1.619 MB / 0.762 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/1.018, allocations: 441.4 kB / 0.7624 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00079/1.018, allocations: 362 kB / 0.7628 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/1.019, allocations: 71.42 kB / 0.7628 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/1.019, allocations: 0 / 0.7628 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.02692/1.046, allocations: 21.24 MB / 0.7836 GB, free: 130.3 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.919172771740705]