Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 169.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.058/1.058, allocations: 177 MB / 205.2 MB, free: 5.172 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2918/0.2918, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.664e-05, allocations: 4.141 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3087/0.3087, allocations: 173.8 MB / 0.5396 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.3149, allocations: 6.629 MB / 0.546 GB, free: 10.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.3153, allocations: 31.44 kB / 0.5461 GB, free: 10.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.3162, allocations: 414.5 kB / 0.5465 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.3192, allocations: 1.833 MB / 0.5483 GB, free: 9.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.3217, allocations: 1.578 MB / 0.5498 GB, free: 8.258 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.3238, allocations: 2.266 MB / 0.552 GB, free: 6.965 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009751/0.3248, allocations: 0.6257 MB / 0.5526 GB, free: 6.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.3275, allocations: 2.114 MB / 0.5547 GB, free: 5.258 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.3295, allocations: 1.614 MB / 0.5563 GB, free: 3.836 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.3297, allocations: 104 kB / 0.5564 GB, free: 3.734 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.3315, allocations: 1.173 MB / 0.5575 GB, free: 2.555 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.332, allocations: 0.7444 MB / 0.5582 GB, free: 1.809 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.3325, allocations: 0.5654 MB / 0.5588 GB, free: 1.242 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.3347, allocations: 2.166 MB / 0.5609 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3347, allocations: 0 / 0.5609 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3347, allocations: 0 / 0.5609 GB, free: 15.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.3347, allocations: 0 / 0.5609 GB, free: 15.07 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.00245/0.3372, allocations: 1.773 MB / 0.5626 GB, free: 13.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3372, allocations: 12.03 kB / 0.5626 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3384, allocations: 466.5 kB / 0.5631 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.3392, allocations: 0.6996 MB / 0.5638 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.3394, allocations: 192.8 kB / 0.564 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3395, allocations: 123.9 kB / 0.5641 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.3411, allocations: 1.827 MB / 0.5659 GB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.3412, allocations: 4 kB / 0.5659 GB, free: 9.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3413, allocations: 47.98 kB / 0.5659 GB, free: 9.578 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/0.3413, allocations: 97.88 kB / 0.566 GB, free: 9.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3424, allocations: 0.601 MB / 0.5666 GB, free: 8.883 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.004786/0.3472, allocations: 4.725 MB / 0.5712 GB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.3477, allocations: 412 kB / 0.5716 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.348, allocations: 170.6 kB / 0.5718 GB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.348, allocations: 32.48 kB / 0.5718 GB, free: 3.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3481, allocations: 49.89 kB / 0.5718 GB, free: 3.383 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 1.813e-06/0.3481, allocations: 0 / 0.5718 GB, free: 3.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.005318/0.3534, allocations: 2.599 MB / 0.5744 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3534, allocations: 115.5 kB / 0.5745 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.3539, allocations: 0.636 MB / 0.5751 GB, free: 15.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.354, allocations: 45.7 kB / 0.5751 GB, free: 15.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3543, allocations: 0.6078 MB / 0.5757 GB, free: 15.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.3544, allocations: 285.6 kB / 0.576 GB, free: 15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.3547, allocations: 212.2 kB / 0.5762 GB, free: 14.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3548, allocations: 0.5664 MB / 0.5768 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.3552, allocations: 201.9 kB / 0.577 GB, free: 14.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.3557, allocations: 0.6552 MB / 0.5776 GB, free: 13.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.3566, allocations: 0.854 MB / 0.5784 GB, free: 12.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.3566, allocations: 4 kB / 0.5784 GB, free: 12.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001418/0.358, allocations: 1.066 MB / 0.5795 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.358, allocations: 8 kB / 0.5795 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.358, allocations: 16.02 kB / 0.5795 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/0.3604, allocations: 1.102 MB / 0.5806 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.3607, allocations: 143.8 kB / 0.5807 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.362, allocations: 1.348 MB / 0.582 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.3624, allocations: 51.91 kB / 0.5821 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.3625, allocations: 70.72 kB / 0.5822 GB, free: 8.34 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.0002477/0.3627, allocations: 220.3 kB / 0.5824 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3629, allocations: 99.53 kB / 0.5825 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.3641, allocations: 0.9055 MB / 0.5833 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3641, allocations: 8 kB / 0.5833 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3641, allocations: 0 / 0.5833 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3641, allocations: 3.984 kB / 0.5834 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.3662, allocations: 1.715 MB / 0.585 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3662, allocations: 3.938 kB / 0.585 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/0.3671, allocations: 319.6 kB / 0.5853 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.3672, allocations: 35.67 kB / 0.5854 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.3673, allocations: 39.97 kB / 0.5854 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.369, allocations: 3.588 MB / 0.5889 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.369, allocations: 4 kB / 0.5889 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3702, allocations: 1.063 MB / 0.59 GB, free: 12 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.3705, allocations: 199.4 kB / 0.5901 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/0.3706, allocations: 31.88 kB / 0.5902 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.371, allocations: 51.89 kB / 0.5902 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3711, allocations: 60.55 kB / 0.5903 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.3712, allocations: 67.94 kB / 0.5903 GB, free: 15.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002969/0.3715, allocations: 407 kB / 0.5907 GB, free: 15.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 4 kB / 0.5907 GB, free: 15.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008463/0.3723, allocations: 483.4 kB / 0.5912 GB, free: 14.74 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.001147/0.3734, allocations: 0.6813 MB / 0.5919 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3746, allocations: 0.7643 MB / 0.5926 GB, free: 13.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3746, allocations: 4.656 kB / 0.5926 GB, free: 13.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.3753, allocations: 0.5853 MB / 0.5932 GB, free: 12.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3765, allocations: 499.7 kB / 0.5937 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.3797, allocations: 2.278 MB / 0.5959 GB, free: 9.898 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.3799, allocations: 281.2 kB / 0.5962 GB, free: 9.602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.3806, allocations: 369.8 kB / 0.5965 GB, free: 9.238 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.3808, allocations: 96.47 kB / 0.5966 GB, free: 9.145 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3808, allocations: 4 kB / 0.5966 GB, free: 9.141 MB / 474.7 MB Notification: Performance of Templates: time 0.1608/0.5416, allocations: 30.03 MB / 0.6259 GB, free: 179.2 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.872567523969337]