Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001186/0.001186, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.002963, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001201/0.001201, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002686, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9481/0.9481, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09704/1.045, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2332/0.2332, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02289/0.2561, allocations: 13.23 MB / 292.6 MB, free: 6.484 MB / 282.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 4 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.142e-05, allocations: 2.312 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.304/0.304, allocations: 149 MB / 442.9 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.3079, allocations: 3.1 MB / 446 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.3083, allocations: 30.44 kB / 446 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.3086, allocations: 243.3 kB / 446.2 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.3107, allocations: 1.492 MB / 447.7 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3121, allocations: 0.9212 MB / 448.7 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.3137, allocations: 2.254 MB / 450.9 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.3141, allocations: 0.5146 MB / 451.4 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.3169, allocations: 2.84 MB / 454.3 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.3175, allocations: 0.6465 MB / 454.9 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.3176, allocations: 72.72 kB / 455 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008733/0.3185, allocations: 0.699 MB / 455.7 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3187, allocations: 405.7 kB / 456.1 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.319, allocations: 327.5 kB / 456.4 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3201, allocations: 1.289 MB / 457.7 MB, free: 3.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.3201, allocations: 3.188 kB / 457.7 MB, free: 3.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3201, allocations: 0.5938 kB / 457.7 MB, free: 3.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.3202, allocations: 0 / 457.7 MB, free: 3.105 MB / 426.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.001653/0.3218, allocations: 1.653 MB / 459.3 MB, free: 18.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.208e-05/0.3218, allocations: 14.22 kB / 459.4 MB, free: 18.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.3225, allocations: 363.1 kB / 459.7 MB, free: 18.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.323, allocations: 0.5012 MB / 460.2 MB, free: 18.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-05/0.3231, allocations: 160.8 kB / 460.4 MB, free: 18.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.3232, allocations: 80.91 kB / 460.5 MB, free: 18.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.324, allocations: 1.445 MB / 461.9 MB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3241, allocations: 3.062 kB / 461.9 MB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.3241, allocations: 36.58 kB / 461.9 MB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.3242, allocations: 81.17 kB / 462 MB, free: 16.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3245, allocations: 334.8 kB / 462.3 MB, free: 16.89 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.00257/0.3271, allocations: 3.126 MB / 465.5 MB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3273, allocations: 140.1 kB / 465.6 MB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.3273, allocations: 55.09 kB / 465.7 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-05/0.3274, allocations: 42.56 kB / 465.7 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3274, allocations: 44.09 kB / 465.7 MB, free: 15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.243e-06/0.3274, allocations: 0 / 465.7 MB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0022/0.3296, allocations: 1.114 MB / 466.9 MB, free: 14.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.3296, allocations: 60.19 kB / 466.9 MB, free: 14.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.33, allocations: 0.6815 MB / 467.6 MB, free: 14.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.33, allocations: 36.23 kB / 467.6 MB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3302, allocations: 0.5388 MB / 468.2 MB, free: 13.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.3302, allocations: 137 kB / 468.3 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3303, allocations: 210.7 kB / 468.5 MB, free: 13.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.3304, allocations: 396.7 kB / 468.9 MB, free: 13.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.3305, allocations: 85.03 kB / 469 MB, free: 13.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3308, allocations: 0.7822 MB / 469.8 MB, free: 12.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.3314, allocations: 0.8943 MB / 470.7 MB, free: 11.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3314, allocations: 6.031 kB / 470.7 MB, free: 11.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006439/0.332, allocations: 0.7318 MB / 471.4 MB, free: 11.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.332, allocations: 11.78 kB / 471.4 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.332, allocations: 21.34 kB / 471.4 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.3325, allocations: 224.4 kB / 471.6 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3328, allocations: 229 kB / 471.9 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.3332, allocations: 0.6938 MB / 472.6 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.3335, allocations: 43.22 kB / 472.6 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.3335, allocations: 62.84 kB / 472.7 MB, free: 11.23 MB / 442.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.0001692/0.3337, allocations: 198.1 kB / 472.9 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.3338, allocations: 65.47 kB / 472.9 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.3341, allocations: 314.6 kB / 473.2 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3341, allocations: 2.312 kB / 473.2 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3341, allocations: 4.125 kB / 473.2 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3341, allocations: 0 / 473.2 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.3347, allocations: 0.6534 MB / 473.9 MB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3347, allocations: 6.562 kB / 473.9 MB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.3352, allocations: 172.8 kB / 474.1 MB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3353, allocations: 81.95 kB / 474.1 MB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.127e-05/0.3353, allocations: 23.58 kB / 474.2 MB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3353, allocations: 9.75 kB / 474.2 MB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009656/0.3363, allocations: 2.421 MB / 476.6 MB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3363, allocations: 0 / 476.6 MB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3366, allocations: 423.1 kB / 477 MB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.3367, allocations: 6.812 kB / 477 MB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3368, allocations: 13.56 kB / 477 MB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3369, allocations: 26.62 kB / 477.1 MB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3369, allocations: 12.84 kB / 477.1 MB, free: 8.113 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.3371, allocations: 289.4 kB / 477.4 MB, free: 8.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3371, allocations: 0.5938 kB / 477.4 MB, free: 8.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.3376, allocations: 347.5 kB / 477.7 MB, free: 8.07 MB / 442.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.000613/0.3382, allocations: 427.7 kB / 478.1 MB, free: 7.973 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.3387, allocations: 424 kB / 478.5 MB, free: 7.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.511e-05/0.3387, allocations: 20.34 kB / 478.5 MB, free: 7.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.339, allocations: 283.4 kB / 478.8 MB, free: 7.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.3398, allocations: 460.8 kB / 479.3 MB, free: 7.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.347, allocations: 1.378 MB / 480.7 MB, free: 7.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3471, allocations: 212.3 kB / 480.9 MB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.3475, allocations: 219.3 kB / 481.1 MB, free: 7.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.348, allocations: 352 kB / 481.4 MB, free: 6.953 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.348, allocations: 0 / 481.4 MB, free: 6.953 MB / 442.7 MB Notification: Performance of Templates: time 0.01983/0.3678, allocations: 20.41 MB / 0.4901 GB, free: 1.199 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7594129433855414]