Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001054/0.001054, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001043/0.001043, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.326/0.326, allocations: 32.81 MB / 294.6 MB, free: 1.289 MB / 266.7 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 3.938 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.915e-05, allocations: 2.312 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3258/0.3259, allocations: 173.8 MB / 0.5369 GB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006293/0.3321, allocations: 6.631 MB / 0.5434 GB, free: 13.27 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.3327, allocations: 27.28 kB / 0.5434 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3337, allocations: 407.7 kB / 0.5438 GB, free: 13.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.3371, allocations: 1.836 MB / 0.5456 GB, free: 12.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.3399, allocations: 1.582 MB / 0.5471 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.3421, allocations: 2.267 MB / 0.5493 GB, free: 9.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008787/0.343, allocations: 0.629 MB / 0.5499 GB, free: 9.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.3458, allocations: 2.106 MB / 0.552 GB, free: 8.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.3478, allocations: 1.609 MB / 0.5536 GB, free: 7.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.348, allocations: 104 kB / 0.5537 GB, free: 7.359 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.3497, allocations: 1.191 MB / 0.5548 GB, free: 6.586 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.3502, allocations: 0.7289 MB / 0.5555 GB, free: 5.855 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.3507, allocations: 0.5693 MB / 0.5561 GB, free: 5.285 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.353, allocations: 2.166 MB / 0.5582 GB, free: 3.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.353, allocations: 0 / 0.5582 GB, free: 3.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.353, allocations: 0 / 0.5582 GB, free: 3.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.026e-05/0.353, allocations: 0 / 0.5582 GB, free: 3.109 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002587/0.3556, allocations: 1.781 MB / 0.56 GB, free: 1.285 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3556, allocations: 11.98 kB / 0.56 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.3568, allocations: 474.4 kB / 0.5604 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/0.3577, allocations: 0.6949 MB / 0.5611 GB, free: 84 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.3578, allocations: 192.7 kB / 0.5613 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.358, allocations: 123.9 kB / 0.5614 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.3597, allocations: 1.828 MB / 0.5632 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.3597, allocations: 7.938 kB / 0.5632 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3598, allocations: 44 kB / 0.5632 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.243e-05/0.3599, allocations: 93.95 kB / 0.5633 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.3609, allocations: 0.5932 MB / 0.5639 GB, free: 12.92 MB / 442.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.004998/0.3659, allocations: 4.726 MB / 0.5685 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.3667, allocations: 402.5 kB / 0.5689 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.3669, allocations: 181.6 kB / 0.5691 GB, free: 7.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.292e-05/0.367, allocations: 32.48 kB / 0.5691 GB, free: 7.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.367, allocations: 49.89 kB / 0.5692 GB, free: 7.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 1.893e-06/0.367, allocations: 0 / 0.5692 GB, free: 7.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.005411/0.3725, allocations: 2.609 MB / 0.5717 GB, free: 4.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3725, allocations: 111.5 kB / 0.5718 GB, free: 4.621 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.373, allocations: 0.6398 MB / 0.5724 GB, free: 3.969 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.3731, allocations: 41.7 kB / 0.5725 GB, free: 3.922 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.3734, allocations: 0.6118 MB / 0.5731 GB, free: 3.301 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.3736, allocations: 285.6 kB / 0.5733 GB, free: 3.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.3738, allocations: 212.2 kB / 0.5735 GB, free: 2.805 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.374, allocations: 0.5664 MB / 0.5741 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3743, allocations: 205.9 kB / 0.5743 GB, free: 2.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.3749, allocations: 0.6552 MB / 0.5749 GB, free: 1.191 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3759, allocations: 0.8461 MB / 0.5758 GB, free: 200 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3759, allocations: 8 kB / 0.5758 GB, free: 192 kB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001368/0.3773, allocations: 1.059 MB / 0.5768 GB, free: 15.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3773, allocations: 8.125 kB / 0.5768 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3773, allocations: 12 kB / 0.5768 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.3795, allocations: 1.096 MB / 0.5779 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.3798, allocations: 151.7 kB / 0.578 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.381, allocations: 1.344 MB / 0.5793 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.3814, allocations: 43.98 kB / 0.5794 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/0.3815, allocations: 71.98 kB / 0.5795 GB, free: 12.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.3817, allocations: 216.3 kB / 0.5797 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3818, allocations: 103.5 kB / 0.5798 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.383, allocations: 0.9067 MB / 0.5806 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.383, allocations: 11.98 kB / 0.5807 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.383, allocations: 0 / 0.5807 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.383, allocations: 3.984 kB / 0.5807 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3851, allocations: 1.711 MB / 0.5823 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3851, allocations: 0 / 0.5823 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/0.386, allocations: 320.4 kB / 0.5826 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.3861, allocations: 43.66 kB / 0.5827 GB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.3862, allocations: 31.98 kB / 0.5827 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.3877, allocations: 3.596 MB / 0.5862 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3877, allocations: 0 / 0.5862 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.3889, allocations: 1.067 MB / 0.5873 GB, free: 4.039 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.3892, allocations: 207.3 kB / 0.5875 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.3893, allocations: 35.88 kB / 0.5875 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3896, allocations: 47.95 kB / 0.5875 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3898, allocations: 56.55 kB / 0.5876 GB, free: 3.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.3898, allocations: 63.95 kB / 0.5877 GB, free: 3.637 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000302/0.3901, allocations: 415 kB / 0.5881 GB, free: 3.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3901, allocations: 0 / 0.5881 GB, free: 3.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009317/0.3911, allocations: 483.5 kB / 0.5885 GB, free: 2.762 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.001166/0.3922, allocations: 0.6816 MB / 0.5892 GB, free: 2.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3935, allocations: 0.7643 MB / 0.5899 GB, free: 1.301 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3935, allocations: 4.656 kB / 0.5899 GB, free: 1.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.3942, allocations: 0.5815 MB / 0.5905 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3954, allocations: 496.4 kB / 0.591 GB, free: 240 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.3984, allocations: 2.294 MB / 0.5932 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.3986, allocations: 281.2 kB / 0.5935 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006551/0.3992, allocations: 360.4 kB / 0.5938 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.3995, allocations: 96.47 kB / 0.5939 GB, free: 13.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3995, allocations: 0 / 0.5939 GB, free: 13.17 MB / 474.7 MB Notification: Performance of Templates: time 0.1631/0.5626, allocations: 30.05 MB / 0.6233 GB, free: 182.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.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.901672878069803]