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.0009762/0.0009762, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001717/0.001717, allocations: 171.4 kB / 24.91 MB, free: 8.719 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2626/0.2626, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.094e-06/2.094e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.81e-05, allocations: 2.312 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3399/0.3399, allocations: 148.5 MB / 473.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004456/0.3443, allocations: 3.093 MB / 476.9 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006791/0.345, allocations: 31.06 kB / 476.9 MB, free: 12.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.3457, allocations: 233.3 kB / 477.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.3487, allocations: 1.517 MB / 478.7 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.3505, allocations: 0.9538 MB / 479.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3529, allocations: 2.337 MB / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.3539, allocations: 0.6216 MB / 482.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.3576, allocations: 2.892 MB / 485.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.3587, allocations: 0.7589 MB / 486.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.3589, allocations: 99.75 kB / 486.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.3603, allocations: 0.7173 MB / 487 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005443/0.3609, allocations: 0.7347 MB / 487.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008489/0.3617, allocations: 0.5674 MB / 488.3 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.3641, allocations: 1.866 MB / 490.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3642, allocations: 0 / 490.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3642, allocations: 0 / 490.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.317e-05/0.3642, allocations: 2.906 kB / 490.2 MB, free: 10.91 MB / 410.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.002503/0.3667, allocations: 1.547 MB / 491.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3668, allocations: 8.75 kB / 491.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.3678, allocations: 425.8 kB / 492.2 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.3687, allocations: 0.5804 MB / 492.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.3688, allocations: 199.8 kB / 493 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.369, allocations: 122.1 kB / 493.1 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3702, allocations: 1.679 MB / 494.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.3703, allocations: 2.938 kB / 494.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.3704, allocations: 44.58 kB / 494.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.094e-05/0.3704, allocations: 98.27 kB / 494.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.3711, allocations: 447.9 kB / 495.3 MB, free: 7.988 MB / 410.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.004332/0.3755, allocations: 3.557 MB / 498.9 MB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.3759, allocations: 376.9 kB / 499.3 MB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3761, allocations: 124.5 kB / 499.4 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.3762, allocations: 60.39 kB / 499.4 MB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3762, allocations: 44.97 kB / 499.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.344e-06/0.3762, allocations: 0 / 499.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.00463/0.3808, allocations: 2.2 MB / 0.4899 GB, free: 4.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.3809, allocations: 112 kB / 0.49 GB, free: 4.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.3812, allocations: 0.5457 MB / 0.4906 GB, free: 4.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.3813, allocations: 43.61 kB / 0.4906 GB, free: 3.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.3814, allocations: 0.4976 MB / 0.4911 GB, free: 3.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3816, allocations: 275.9 kB / 0.4914 GB, free: 3.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.3818, allocations: 190 kB / 0.4915 GB, free: 3.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.3819, allocations: 395.7 kB / 0.4919 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3821, allocations: 157 kB / 0.4921 GB, free: 2.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.3824, allocations: 0.4922 MB / 0.4925 GB, free: 2.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.383, allocations: 0.6766 MB / 0.4932 GB, free: 1.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.383, allocations: 2.875 kB / 0.4932 GB, free: 1.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0009254/0.3839, allocations: 0.77 MB / 0.494 GB, free: 1.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3839, allocations: 7.688 kB / 0.494 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3839, allocations: 9.281 kB / 0.494 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.3859, allocations: 0.9737 MB / 0.4949 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.3863, allocations: 150.3 kB / 0.4951 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008661/0.3871, allocations: 0.9825 MB / 0.496 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.3875, allocations: 29.5 kB / 0.4961 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.3876, allocations: 59.2 kB / 0.4961 GB, free: 0.5898 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0002792/0.3879, allocations: 180.5 kB / 0.4963 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.388, allocations: 77.3 kB / 0.4964 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/0.3888, allocations: 0.7024 MB / 0.497 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3888, allocations: 8.312 kB / 0.497 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3888, allocations: 0 / 0.497 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3888, allocations: 3.984 kB / 0.4971 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.3904, allocations: 1.267 MB / 0.4983 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3904, allocations: 4.031 kB / 0.4983 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009475/0.3914, allocations: 321.1 kB / 0.4986 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.3915, allocations: 43.94 kB / 0.4986 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.3916, allocations: 27.77 kB / 0.4987 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.3929, allocations: 2.44 MB / 0.5011 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3929, allocations: 4 kB / 0.5011 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.3938, allocations: 0.8198 MB / 0.5019 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.394, allocations: 156 kB / 0.502 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.3941, allocations: 28.23 kB / 0.502 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.3945, allocations: 32.47 kB / 0.5021 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3946, allocations: 61.98 kB / 0.5021 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.3947, allocations: 51.7 kB / 0.5022 GB, free: 12.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.3949, allocations: 254.8 kB / 0.5024 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3949, allocations: 0 / 0.5024 GB, free: 12.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001032/0.3959, allocations: 451.9 kB / 0.5028 GB, free: 11.9 MB / 426.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.0009366/0.3968, allocations: 0.5007 MB / 0.5033 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009806/0.3978, allocations: 0.6311 MB / 0.504 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/0.3978, allocations: 9.391 kB / 0.504 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006168/0.3984, allocations: 453.6 kB / 0.5044 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3996, allocations: 0.5178 MB / 0.5049 GB, free: 9.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.4026, allocations: 2.138 MB / 0.507 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.4029, allocations: 277.3 kB / 0.5072 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.4035, allocations: 255 kB / 0.5075 GB, free: 7.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.4045, allocations: 0.5027 MB / 0.508 GB, free: 6.641 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4045, allocations: 0 / 0.508 GB, free: 6.641 MB / 426.7 MB Notification: Performance of Templates: time 0.035/0.4395, allocations: 31.67 MB / 0.5389 GB, free: 7.375 MB / 458.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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.245252491906285]