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.001373/0.001373, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00149/0.00149, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2791/0.2791, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.00218/0.00218, allocations: 67.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3737, allocations: 65.49 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2171/0.5908, allocations: 156.5 MB / 0.7103 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.6019, allocations: 5.974 MB / 0.7161 GB, free: 4.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.6032, allocations: 27.75 kB / 0.7162 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.6049, allocations: 393.7 kB / 0.7166 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.6104, allocations: 1.795 MB / 0.7183 GB, free: 2.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.615, allocations: 1.514 MB / 0.7198 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.6183, allocations: 2.122 MB / 0.7219 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.6194, allocations: 493.3 kB / 0.7223 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.6237, allocations: 1.795 MB / 0.7241 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003335/0.6271, allocations: 1.534 MB / 0.7256 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.6274, allocations: 80 kB / 0.7257 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.6305, allocations: 1.146 MB / 0.7268 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.6312, allocations: 454.7 kB / 0.7272 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.6324, allocations: 474.1 kB / 0.7277 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004431/0.6368, allocations: 2.079 MB / 0.7297 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6368, allocations: 0 / 0.7297 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6368, allocations: 0 / 0.7297 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.507e-05/0.6369, allocations: 0 / 0.7297 GB, free: 6.469 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.004037/0.6409, allocations: 1.403 MB / 0.7311 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.641, allocations: 12.03 kB / 0.7311 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.6424, allocations: 287.1 kB / 0.7313 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.6439, allocations: 0.579 MB / 0.7319 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.6441, allocations: 164.1 kB / 0.7321 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.6442, allocations: 71.98 kB / 0.7321 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.6468, allocations: 1.966 MB / 0.7341 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.6468, allocations: 0 / 0.7341 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6469, allocations: 39.92 kB / 0.7341 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.647, allocations: 85.2 kB / 0.7342 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.6488, allocations: 1.051 MB / 0.7352 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.3091/0.9578, allocations: 3.853 MB / 0.739 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.9585, allocations: 291.5 kB / 0.7392 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.9588, allocations: 139 kB / 0.7394 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/0.9589, allocations: 18.75 kB / 0.7394 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.9589, allocations: 34.56 kB / 0.7394 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.9589, allocations: 3.969 kB / 0.7394 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006303/0.9652, allocations: 1.756 MB / 0.7411 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.9653, allocations: 132.1 kB / 0.7413 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.9662, allocations: 0.8334 MB / 0.7421 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.9662, allocations: 34.45 kB / 0.7421 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.9665, allocations: 0.6012 MB / 0.7427 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.9666, allocations: 140.8 kB / 0.7428 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.9669, allocations: 213.2 kB / 0.743 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.967, allocations: 391.5 kB / 0.7434 GB, free: 174 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.9674, allocations: 278.2 kB / 0.7437 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.968, allocations: 0.9463 MB / 0.7446 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.969, allocations: 1.175 MB / 0.7458 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.969, allocations: 8 kB / 0.7458 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001696/0.9707, allocations: 1.223 MB / 0.747 GB, free: 170 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.9708, allocations: 12 kB / 0.747 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.9708, allocations: 23.94 kB / 0.747 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.972, allocations: 293.4 kB / 0.7473 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.9726, allocations: 206.4 kB / 0.7475 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008814/0.9734, allocations: 0.9194 MB / 0.7484 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.9743, allocations: 40 kB / 0.7484 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.9743, allocations: 74.42 kB / 0.7485 GB, free: 168.5 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.0004723/0.9748, allocations: 337.2 kB / 0.7488 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.9749, allocations: 86.52 kB / 0.7489 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/0.9758, allocations: 0.5074 MB / 0.7494 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.9758, allocations: 4 kB / 0.7494 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9758, allocations: 0 / 0.7494 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.9758, allocations: 3.938 kB / 0.7494 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.9773, allocations: 0.9648 MB / 0.7503 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.9773, allocations: 0 / 0.7503 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009022/0.9782, allocations: 190.9 kB / 0.7505 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.9782, allocations: 24.78 kB / 0.7505 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.9783, allocations: 10.3 kB / 0.7505 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.9797, allocations: 2.63 MB / 0.7531 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9797, allocations: 0 / 0.7531 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.9806, allocations: 0.6819 MB / 0.7538 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.9809, allocations: 115.4 kB / 0.7539 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.981, allocations: 8 kB / 0.7539 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.9814, allocations: 11.98 kB / 0.7539 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.9815, allocations: 27.95 kB / 0.7539 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.9815, allocations: 23.45 kB / 0.7539 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005384/0.9821, allocations: 0.5263 MB / 0.7545 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.9821, allocations: 0 / 0.7545 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001323/0.9834, allocations: 387.4 kB / 0.7548 GB, free: 161.7 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.001398/0.9848, allocations: 0.6342 MB / 0.7555 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.986, allocations: 0.6513 MB / 0.7561 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.986, allocations: 0 / 0.7561 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008166/0.9868, allocations: 368.7 kB / 0.7564 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.9883, allocations: 346.6 kB / 0.7568 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.9905, allocations: 1.613 MB / 0.7583 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.9909, allocations: 433.4 kB / 0.7588 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007834/0.9916, allocations: 354.2 kB / 0.7591 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.9918, allocations: 75.42 kB / 0.7592 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.093e-06/0.9918, allocations: 0 / 0.7592 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.0271/1.019, allocations: 20.84 MB / 0.7795 GB, free: 136.8 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/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: 6.995481321588159]