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.001311/0.001311, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.001529/0.001529, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.524/1.524, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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.2293/0.2293, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 67.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3738, allocations: 65.48 MB / 0.5582 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.222/0.5958, allocations: 156.5 MB / 0.7111 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.606, allocations: 5.989 MB / 0.7169 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.6069, allocations: 27.75 kB / 0.7169 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.6083, allocations: 389.7 kB / 0.7173 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.6136, allocations: 1.788 MB / 0.719 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.618, allocations: 1.511 MB / 0.7205 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.6214, allocations: 2.134 MB / 0.7226 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009298/0.6224, allocations: 477.4 kB / 0.7231 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.6268, allocations: 1.799 MB / 0.7248 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.6303, allocations: 1.534 MB / 0.7263 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.6306, allocations: 80 kB / 0.7264 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.6336, allocations: 1.15 MB / 0.7275 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.6342, allocations: 446.8 kB / 0.7279 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.635, allocations: 482.1 kB / 0.7284 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.6388, allocations: 2.075 MB / 0.7304 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6388, allocations: 0 / 0.7304 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6388, allocations: 3.938 kB / 0.7304 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.6388, allocations: 0 / 0.7304 GB, free: 6.457 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.003581/0.6424, allocations: 1.399 MB / 0.7318 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6424, allocations: 8.031 kB / 0.7318 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.6439, allocations: 291.1 kB / 0.7321 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.6453, allocations: 0.579 MB / 0.7326 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.6455, allocations: 164.1 kB / 0.7328 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.6456, allocations: 67.98 kB / 0.7329 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.6482, allocations: 1.966 MB / 0.7348 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.6482, allocations: 3.938 kB / 0.7348 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6484, allocations: 36 kB / 0.7348 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.6485, allocations: 77.27 kB / 0.7349 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.6503, allocations: 1.055 MB / 0.7359 GB, free: 0.4922 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.3232/0.9734, allocations: 3.86 MB / 0.7397 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.9741, allocations: 292 kB / 0.74 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.9743, allocations: 140.4 kB / 0.7401 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.791e-05/0.9744, allocations: 14.95 kB / 0.7401 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.9744, allocations: 43.45 kB / 0.7402 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.9744, allocations: 0 / 0.7402 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006029/0.9804, allocations: 1.746 MB / 0.7419 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.9805, allocations: 131.7 kB / 0.742 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.9813, allocations: 0.8385 MB / 0.7428 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.9813, allocations: 33.64 kB / 0.7428 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.9816, allocations: 0.5965 MB / 0.7434 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.9816, allocations: 137.9 kB / 0.7436 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.9818, allocations: 217.2 kB / 0.7438 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.9819, allocations: 385.9 kB / 0.7441 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.9823, allocations: 280.4 kB / 0.7444 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.9828, allocations: 0.939 MB / 0.7453 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008774/0.9837, allocations: 1.18 MB / 0.7465 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.9837, allocations: 4.766 kB / 0.7465 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001461/0.9852, allocations: 1.226 MB / 0.7477 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.9852, allocations: 12 kB / 0.7477 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.9852, allocations: 23.94 kB / 0.7477 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.9864, allocations: 299.1 kB / 0.748 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.9869, allocations: 203.6 kB / 0.7482 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008419/0.9877, allocations: 0.9137 MB / 0.7491 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.9883, allocations: 42.62 kB / 0.7491 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.9884, allocations: 71.98 kB / 0.7492 GB, free: 168.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.0003341/0.9887, allocations: 346.3 kB / 0.7495 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.9889, allocations: 86.52 kB / 0.7496 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008068/0.9897, allocations: 0.5119 MB / 0.7501 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9897, allocations: 4 kB / 0.7501 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9897, allocations: 0 / 0.7501 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.9897, allocations: 7.938 kB / 0.7501 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.991, allocations: 0.9647 MB / 0.7511 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.991, allocations: 3.469 kB / 0.7511 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.9919, allocations: 187.7 kB / 0.7512 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-05/0.992, allocations: 24.84 kB / 0.7513 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.992, allocations: 8 kB / 0.7513 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.9933, allocations: 2.623 MB / 0.7538 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.9933, allocations: 3.438 kB / 0.7538 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.9941, allocations: 0.6859 MB / 0.7545 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.9943, allocations: 115.4 kB / 0.7546 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.9944, allocations: 7.938 kB / 0.7546 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.9948, allocations: 19.98 kB / 0.7546 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.9949, allocations: 27.95 kB / 0.7547 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.9949, allocations: 19.98 kB / 0.7547 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004758/0.9954, allocations: 0.5224 MB / 0.7552 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9954, allocations: 3.219 kB / 0.7552 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001206/0.9966, allocations: 383.5 kB / 0.7556 GB, free: 161.5 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.001312/0.9979, allocations: 0.6323 MB / 0.7562 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.999, allocations: 0.6458 MB / 0.7568 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.999, allocations: 4 kB / 0.7568 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.9997, allocations: 352.8 kB / 0.7572 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.001, allocations: 348.2 kB / 0.7575 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.003, allocations: 1.667 MB / 0.7591 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/1.003, allocations: 437.4 kB / 0.7595 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/1.004, allocations: 79.42 kB / 0.7596 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/1.004, allocations: 0 / 0.7596 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02078/1.024, allocations: 22.1 MB / 0.7812 GB, free: 135.4 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/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: 12.266107318922877]