Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001189/0.001189, allocations: 71.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.001259/0.001259, allocations: 165.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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.2475/0.2475, allocations: 34.26 MB / 296 MB, free: 0.7891 MB / 266.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.018e-05, allocations: 6.25 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3408/0.3409, allocations: 173.8 MB / 0.5389 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006772/0.3476, allocations: 6.639 MB / 0.5453 GB, free: 11.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.348, allocations: 27.41 kB / 0.5454 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.3489, allocations: 411.5 kB / 0.5458 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.3517, allocations: 1.839 MB / 0.5475 GB, free: 9.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.3541, allocations: 1.568 MB / 0.5491 GB, free: 8.918 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.3564, allocations: 2.273 MB / 0.5513 GB, free: 7.617 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007193/0.3571, allocations: 0.6258 MB / 0.5519 GB, free: 7.188 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.3597, allocations: 2.11 MB / 0.554 GB, free: 5.914 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.3616, allocations: 1.611 MB / 0.5555 GB, free: 4.723 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3617, allocations: 104 kB / 0.5556 GB, free: 4.621 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.3633, allocations: 1.192 MB / 0.5568 GB, free: 3.422 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.3638, allocations: 0.7328 MB / 0.5575 GB, free: 2.688 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.3643, allocations: 0.5693 MB / 0.5581 GB, free: 2.117 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.3663, allocations: 2.154 MB / 0.5602 GB, free: 15.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3663, allocations: 0 / 0.5602 GB, free: 15.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3663, allocations: 4 kB / 0.5602 GB, free: 15.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.3664, allocations: 0 / 0.5602 GB, free: 15.95 MB / 442.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.002212/0.3686, allocations: 1.785 MB / 0.5619 GB, free: 14.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.3686, allocations: 8.031 kB / 0.5619 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.3696, allocations: 470.4 kB / 0.5624 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.3704, allocations: 0.6909 MB / 0.5631 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.3705, allocations: 192.8 kB / 0.5632 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3707, allocations: 123.9 kB / 0.5634 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3722, allocations: 1.828 MB / 0.5652 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.3723, allocations: 7.875 kB / 0.5652 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.3724, allocations: 48 kB / 0.5652 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.881e-05/0.3724, allocations: 89.95 kB / 0.5653 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009896/0.3734, allocations: 0.5971 MB / 0.5659 GB, free: 9.766 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.004497/0.3779, allocations: 4.733 MB / 0.5705 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3785, allocations: 394.5 kB / 0.5709 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.3787, allocations: 178.2 kB / 0.571 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.3788, allocations: 40.42 kB / 0.5711 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3788, allocations: 45.89 kB / 0.5711 GB, free: 4.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 2.004e-06/0.3788, allocations: 0 / 0.5711 GB, free: 4.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.005102/0.3839, allocations: 2.605 MB / 0.5737 GB, free: 1.617 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.384, allocations: 111.5 kB / 0.5738 GB, free: 1.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.3844, allocations: 0.6398 MB / 0.5744 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.3845, allocations: 45.7 kB / 0.5744 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.3848, allocations: 0.604 MB / 0.575 GB, free: 168 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.3849, allocations: 293.8 kB / 0.5753 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.3852, allocations: 212.2 kB / 0.5755 GB, free: 15.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3853, allocations: 0.5703 MB / 0.5761 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3857, allocations: 205.9 kB / 0.5763 GB, free: 14.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.3862, allocations: 0.6513 MB / 0.5769 GB, free: 14.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.3871, allocations: 0.8459 MB / 0.5777 GB, free: 13.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3871, allocations: 0 / 0.5777 GB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001468/0.3885, allocations: 1.071 MB / 0.5788 GB, free: 11.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3886, allocations: 8 kB / 0.5788 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3886, allocations: 12.03 kB / 0.5788 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.3908, allocations: 1.104 MB / 0.5799 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.3912, allocations: 139.8 kB / 0.58 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.3925, allocations: 1.352 MB / 0.5813 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.3929, allocations: 39.97 kB / 0.5814 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.3929, allocations: 71.98 kB / 0.5814 GB, free: 9.219 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.0002393/0.3932, allocations: 216.3 kB / 0.5816 GB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.3933, allocations: 107.5 kB / 0.5817 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.3945, allocations: 0.9105 MB / 0.5826 GB, free: 7.973 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3945, allocations: 8 kB / 0.5826 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3945, allocations: 7.125 kB / 0.5826 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3945, allocations: 3.984 kB / 0.5826 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.3967, allocations: 1.703 MB / 0.5843 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3967, allocations: 4 kB / 0.5843 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.3976, allocations: 315.6 kB / 0.5846 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.3977, allocations: 43.67 kB / 0.5847 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.3978, allocations: 35.97 kB / 0.5847 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.3993, allocations: 3.585 MB / 0.5882 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3993, allocations: 7.922 kB / 0.5882 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.4006, allocations: 1.071 MB / 0.5892 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.4008, allocations: 203.3 kB / 0.5894 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.4009, allocations: 31.92 kB / 0.5895 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.4013, allocations: 43.95 kB / 0.5895 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4014, allocations: 60.55 kB / 0.5896 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/0.4015, allocations: 63.94 kB / 0.5896 GB, free: 500 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.4018, allocations: 411 kB / 0.59 GB, free: 92 kB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4018, allocations: 4 kB / 0.59 GB, free: 88 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.000999/0.4028, allocations: 479.5 kB / 0.5905 GB, free: 15.62 MB / 474.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.001458/0.4043, allocations: 0.6894 MB / 0.5912 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4054, allocations: 0.7643 MB / 0.5919 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4054, allocations: 0.6562 kB / 0.5919 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.4062, allocations: 0.5815 MB / 0.5925 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4073, allocations: 489.9 kB / 0.5929 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.4103, allocations: 2.294 MB / 0.5952 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4105, allocations: 281.2 kB / 0.5954 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006208/0.4112, allocations: 365.7 kB / 0.5958 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.4114, allocations: 100.5 kB / 0.5959 GB, free: 10.02 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4114, allocations: 4 kB / 0.5959 GB, free: 10.01 MB / 474.7 MB Notification: Performance of Templates: time 0.1689/0.5803, allocations: 30.04 MB / 0.6252 GB, free: 180.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.899724760791287]