Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.0009038/0.0009038, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009335/0.0009335, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9912/0.9912, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2893/0.2893, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.701e-05, allocations: 6.312 kB / 323.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3098/0.3099, allocations: 148.6 MB / 471.9 MB, free: 12.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3135, allocations: 3.084 MB / 475 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.3139, allocations: 29.28 kB / 475 MB, free: 12.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.3145, allocations: 242.3 kB / 475.2 MB, free: 12.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.317, allocations: 1.507 MB / 476.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3184, allocations: 0.9225 MB / 477.6 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.3203, allocations: 2.216 MB / 479.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.3209, allocations: 0.5226 MB / 480.4 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.324, allocations: 2.836 MB / 483.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008567/0.3248, allocations: 0.638 MB / 483.9 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.325, allocations: 74.97 kB / 483.9 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.3261, allocations: 0.6892 MB / 484.6 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.3264, allocations: 480.2 kB / 485.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3268, allocations: 415 kB / 485.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.3283, allocations: 1.465 MB / 487 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3283, allocations: 0 / 487 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3283, allocations: 0 / 487 MB, free: 11.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.3283, allocations: 0 / 487 MB, free: 11.7 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001685/0.33, allocations: 1.305 MB / 488.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.33, allocations: 8.312 kB / 488.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.3309, allocations: 374.7 kB / 488.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.3315, allocations: 0.4934 MB / 489.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.3315, allocations: 166.8 kB / 489.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3316, allocations: 84.39 kB / 489.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.3324, allocations: 1.437 MB / 490.8 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3324, allocations: 6.75 kB / 490.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.3325, allocations: 36.27 kB / 490.9 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.3325, allocations: 81.2 kB / 490.9 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.3329, allocations: 333.1 kB / 491.3 MB, free: 9.328 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.002553/0.3355, allocations: 3.116 MB / 494.4 MB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3357, allocations: 139.6 kB / 494.5 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.3357, allocations: 60.53 kB / 494.6 MB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-05/0.3358, allocations: 42.94 kB / 494.6 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.3358, allocations: 40.53 kB / 494.7 MB, free: 7.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.3358, allocations: 0 / 494.7 MB, free: 7.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002487/0.3383, allocations: 1.154 MB / 495.8 MB, free: 6.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.3383, allocations: 131.8 kB / 495.9 MB, free: 6.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.3387, allocations: 0.686 MB / 496.6 MB, free: 5.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3387, allocations: 32.7 kB / 496.7 MB, free: 5.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3389, allocations: 0.5281 MB / 497.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.3389, allocations: 147.8 kB / 497.3 MB, free: 5.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3391, allocations: 208.9 kB / 497.5 MB, free: 5.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.3391, allocations: 397.9 kB / 497.9 MB, free: 5.059 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3392, allocations: 88.81 kB / 498 MB, free: 5.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.3395, allocations: 0.7919 MB / 498.8 MB, free: 4.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.3399, allocations: 0.8871 MB / 499.7 MB, free: 3.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.34, allocations: 5.5 kB / 499.7 MB, free: 3.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006604/0.3406, allocations: 0.7285 MB / 0.4887 GB, free: 2.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3406, allocations: 16.72 kB / 0.4887 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3406, allocations: 23.33 kB / 0.4887 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.3411, allocations: 229 kB / 0.4889 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.3415, allocations: 217.9 kB / 0.4892 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00034/0.3418, allocations: 0.693 MB / 0.4898 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.3421, allocations: 41.69 kB / 0.4899 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.3422, allocations: 63.98 kB / 0.4899 GB, free: 2.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (115): * Single equations (assignments): 114 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.3423, allocations: 192.7 kB / 0.4901 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.3424, allocations: 72.02 kB / 0.4902 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.3427, allocations: 310.4 kB / 0.4905 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3427, allocations: 3.125 kB / 0.4905 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3427, allocations: 6.719 kB / 0.4905 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3427, allocations: 4 kB / 0.4905 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.3433, allocations: 0.6611 MB / 0.4911 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3433, allocations: 0 / 0.4911 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.3438, allocations: 166 kB / 0.4913 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-05/0.3438, allocations: 27.91 kB / 0.4913 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3439, allocations: 13.7 kB / 0.4913 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/0.3447, allocations: 2.409 MB / 0.4937 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3447, allocations: 2.625 kB / 0.4937 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.3451, allocations: 421.3 kB / 0.4941 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3452, allocations: 78.56 kB / 0.4942 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.3452, allocations: 9.469 kB / 0.4942 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3454, allocations: 15.61 kB / 0.4942 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.3457, allocations: 27.64 kB / 0.4942 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.3458, allocations: 15.64 kB / 0.4942 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.346, allocations: 288 kB / 0.4945 GB, free: 14.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.346, allocations: 0 / 0.4945 GB, free: 14.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007047/0.3467, allocations: 347.3 kB / 0.4948 GB, free: 14.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.0007535/0.3474, allocations: 479.3 kB / 0.4953 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.3479, allocations: 433 kB / 0.4957 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.442e-05/0.348, allocations: 21.97 kB / 0.4957 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.3483, allocations: 274.2 kB / 0.496 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.349, allocations: 350.3 kB / 0.4963 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3507, allocations: 1.358 MB / 0.4977 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3508, allocations: 211.9 kB / 0.4979 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000404/0.3512, allocations: 225.7 kB / 0.4981 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/0.3518, allocations: 352.8 kB / 0.4984 GB, free: 12.79 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3518, allocations: 0 / 0.4984 GB, free: 12.79 MB / 426.7 MB Notification: Performance of Templates: time 0.02307/0.3749, allocations: 20.27 MB / 0.5182 GB, free: 11.9 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.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: 3.9554347447119653]