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.001333/0.001333, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001571/0.001571, allocations: 168.2 kB / 24.91 MB, free: 9.16 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 0.9657/0.9657, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2897/0.2897, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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 1.653e-06/1.653e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.812e-05, allocations: 6.047 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3175/0.3175, allocations: 148.4 MB / 473.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.3213, allocations: 3.104 MB / 476.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.3217, allocations: 26.59 kB / 476.8 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.3223, allocations: 238.2 kB / 477 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.3247, allocations: 1.549 MB / 478.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3261, allocations: 0.9748 MB / 479.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.3281, allocations: 2.334 MB / 481.9 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.3289, allocations: 0.6359 MB / 482.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.332, allocations: 2.903 MB / 485.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.3329, allocations: 0.7688 MB / 486.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.3331, allocations: 96.66 kB / 486.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3341, allocations: 0.6761 MB / 487 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.3345, allocations: 0.7339 MB / 487.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005507/0.3351, allocations: 0.5652 MB / 488.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3368, allocations: 1.871 MB / 490.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3368, allocations: 0 / 490.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3368, allocations: 2.312 kB / 490.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.3369, allocations: 0 / 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.001934/0.3388, allocations: 1.547 MB / 491.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.3388, allocations: 8.312 kB / 491.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.3397, allocations: 430.5 kB / 492.1 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.3403, allocations: 0.5771 MB / 492.7 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.3404, allocations: 194.5 kB / 492.9 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3405, allocations: 118.1 kB / 493 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009871/0.3415, allocations: 1.684 MB / 494.7 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3415, allocations: 6.875 kB / 494.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.3416, allocations: 44.09 kB / 494.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/0.3417, allocations: 97.3 kB / 494.8 MB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.3423, allocations: 444.5 kB / 495.3 MB, free: 7.996 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.003513/0.3458, allocations: 3.555 MB / 498.8 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.3462, allocations: 381.2 kB / 499.2 MB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3463, allocations: 130.8 kB / 499.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.194e-05/0.3464, allocations: 57.39 kB / 499.4 MB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3464, allocations: 44.38 kB / 499.4 MB, free: 5.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.3464, allocations: 0 / 499.4 MB, free: 5.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004089/0.3505, allocations: 2.197 MB / 0.4899 GB, free: 4.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3505, allocations: 111.3 kB / 0.49 GB, free: 4.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.3509, allocations: 0.5454 MB / 0.4905 GB, free: 4.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.3509, allocations: 51.3 kB / 0.4906 GB, free: 3.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3511, allocations: 0.502 MB / 0.4911 GB, free: 3.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3512, allocations: 270.6 kB / 0.4913 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.3514, allocations: 191.5 kB / 0.4915 GB, free: 3.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.3515, allocations: 396.4 kB / 0.4919 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.3517, allocations: 157.5 kB / 0.492 GB, free: 2.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.352, allocations: 495.6 kB / 0.4925 GB, free: 2.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.3525, allocations: 0.6788 MB / 0.4932 GB, free: 1.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3525, allocations: 3.219 kB / 0.4932 GB, free: 1.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008539/0.3533, allocations: 0.7668 MB / 0.4939 GB, free: 1.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3534, allocations: 8.781 kB / 0.4939 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3534, allocations: 8.219 kB / 0.4939 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.3552, allocations: 0.9653 MB / 0.4949 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3555, allocations: 146.1 kB / 0.495 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008154/0.3563, allocations: 0.976 MB / 0.496 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3566, allocations: 33.47 kB / 0.496 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.3567, allocations: 62.3 kB / 0.496 GB, free: 0.5977 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.0001936/0.3568, allocations: 180.2 kB / 0.4962 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.357, allocations: 75.08 kB / 0.4963 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.3577, allocations: 0.7079 MB / 0.497 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3577, allocations: 8.312 kB / 0.497 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3577, allocations: 0 / 0.497 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3577, allocations: 3.984 kB / 0.497 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.359, allocations: 1.269 MB / 0.4982 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.359, allocations: 0 / 0.4982 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.3598, allocations: 281.6 kB / 0.4985 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.3599, allocations: 42.58 kB / 0.4985 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.3599, allocations: 26.64 kB / 0.4986 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.361, allocations: 2.449 MB / 0.501 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.361, allocations: 0 / 0.501 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.3618, allocations: 0.815 MB / 0.5018 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3621, allocations: 152.7 kB / 0.5019 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.3621, allocations: 28.3 kB / 0.5019 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.3625, allocations: 43.48 kB / 0.502 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.3625, allocations: 63.69 kB / 0.502 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.3626, allocations: 49.92 kB / 0.5021 GB, free: 12.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.3628, allocations: 253 kB / 0.5023 GB, free: 12.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3628, allocations: 0 / 0.5023 GB, free: 12.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007379/0.3635, allocations: 450.3 kB / 0.5028 GB, free: 11.97 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.0008221/0.3643, allocations: 0.4996 MB / 0.5032 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.3652, allocations: 0.6241 MB / 0.5038 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.3652, allocations: 10.58 kB / 0.5039 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.3657, allocations: 456.6 kB / 0.5043 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3667, allocations: 0.5124 MB / 0.5048 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.3693, allocations: 2.135 MB / 0.5069 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3695, allocations: 281.3 kB / 0.5071 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005239/0.37, allocations: 255 kB / 0.5074 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00096/0.371, allocations: 0.491 MB / 0.5079 GB, free: 6.73 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.371, allocations: 3.938 kB / 0.5079 GB, free: 6.727 MB / 426.7 MB Notification: Performance of Templates: time 0.033/0.404, allocations: 31.64 MB / 0.5388 GB, free: 7.5 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 -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.18229701789096]