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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007482/0.0007482, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001848, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006944/0.0006944, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002031, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8975/0.8975, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.184/1.082, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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.1447/0.1447, allocations: 32.79 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02347/0.1681, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.754e-06/1.754e-06, allocations: 0 / 285.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.598e-05, allocations: 5.125 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2924/0.2924, allocations: 146.1 MB / 431.9 MB, free: 6.531 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.2962, allocations: 3.126 MB / 435.1 MB, free: 3.422 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.2965, allocations: 27.75 kB / 435.1 MB, free: 3.395 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.2969, allocations: 234.5 kB / 435.3 MB, free: 3.164 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.2991, allocations: 1.485 MB / 436.8 MB, free: 1.672 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3004, allocations: 0.927 MB / 437.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.3022, allocations: 2.263 MB / 440 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/0.3027, allocations: 0.51 MB / 440.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.3054, allocations: 2.755 MB / 443.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.306, allocations: 0.6467 MB / 443.9 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.516e-05/0.3061, allocations: 76 kB / 444 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009478/0.3071, allocations: 0.686 MB / 444.7 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.3074, allocations: 407 kB / 445.1 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.3076, allocations: 335.4 kB / 445.4 MB, free: 9.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.3088, allocations: 1.281 MB / 446.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.3088, allocations: 0 / 446.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3088, allocations: 0 / 446.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3088, allocations: 0 / 446.7 MB, free: 7.785 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.001712/0.3105, allocations: 1.657 MB / 448.3 MB, free: 6.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.3106, allocations: 8.031 kB / 448.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.3114, allocations: 356.2 kB / 448.7 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.3119, allocations: 0.4912 MB / 449.2 MB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.312, allocations: 173 kB / 449.3 MB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3121, allocations: 75.95 kB / 449.4 MB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008939/0.313, allocations: 1.468 MB / 450.9 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.313, allocations: 3.938 kB / 450.9 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.3131, allocations: 47.97 kB / 450.9 MB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.3132, allocations: 73.27 kB / 451 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.3136, allocations: 323.4 kB / 451.3 MB, free: 2.785 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.00281/0.3164, allocations: 3.146 MB / 454.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.3166, allocations: 134 kB / 454.6 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.3166, allocations: 53.3 kB / 454.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.3167, allocations: 40.86 kB / 454.7 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3167, allocations: 42.73 kB / 454.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3167, allocations: 0 / 454.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002481/0.3192, allocations: 1.172 MB / 455.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3192, allocations: 55.41 kB / 456 MB, free: 13.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.3196, allocations: 0.6865 MB / 456.7 MB, free: 13.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3196, allocations: 29.7 kB / 456.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3198, allocations: 0.5424 MB / 457.2 MB, free: 12.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.3199, allocations: 134.9 kB / 457.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.3201, allocations: 218.7 kB / 457.6 MB, free: 12.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.3202, allocations: 394.5 kB / 458 MB, free: 11.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.787e-05/0.3203, allocations: 82.58 kB / 458 MB, free: 11.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.3207, allocations: 0.7882 MB / 458.8 MB, free: 10.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.3214, allocations: 0.9563 MB / 459.8 MB, free: 9.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3214, allocations: 4 kB / 459.8 MB, free: 9.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006826/0.3221, allocations: 0.7389 MB / 460.5 MB, free: 8.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3221, allocations: 12 kB / 460.5 MB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3221, allocations: 20 kB / 460.6 MB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.3226, allocations: 217.6 kB / 460.8 MB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.323, allocations: 239.6 kB / 461 MB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004037/0.3234, allocations: 0.6989 MB / 461.7 MB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.3237, allocations: 44 kB / 461.7 MB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.3237, allocations: 63.98 kB / 461.8 MB, free: 7.43 MB / 426.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.0001518/0.3239, allocations: 192.2 kB / 462 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.3239, allocations: 71.94 kB / 462.1 MB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.3243, allocations: 307 kB / 462.4 MB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3243, allocations: 4 kB / 462.4 MB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3243, allocations: 0 / 462.4 MB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3243, allocations: 7.938 kB / 462.4 MB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.3249, allocations: 0.6525 MB / 463 MB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3249, allocations: 0 / 463 MB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.3254, allocations: 171.8 kB / 463.2 MB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3255, allocations: 87.48 kB / 463.3 MB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.838e-05/0.3255, allocations: 16.84 kB / 463.3 MB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3255, allocations: 12 kB / 463.3 MB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009289/0.3265, allocations: 2.41 MB / 465.7 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3265, allocations: 0 / 465.7 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.3268, allocations: 424 kB / 466.1 MB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.3268, allocations: 11.98 kB / 466.1 MB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.327, allocations: 11.98 kB / 466.2 MB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3271, allocations: 36.05 kB / 466.2 MB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3271, allocations: 15.98 kB / 466.2 MB, free: 2.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.3273, allocations: 284.5 kB / 466.5 MB, free: 2.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3273, allocations: 0 / 466.5 MB, free: 2.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008702/0.3281, allocations: 351.7 kB / 466.8 MB, free: 2.141 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.0007376/0.3289, allocations: 444.6 kB / 467.3 MB, free: 1.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3293, allocations: 458.3 kB / 467.7 MB, free: 1.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-05/0.3294, allocations: 21.91 kB / 467.7 MB, free: 1.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.3297, allocations: 292.1 kB / 468 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3309, allocations: 2.247 MB / 470.3 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.338, allocations: 1.368 MB / 471.6 MB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3382, allocations: 215.2 kB / 471.8 MB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.3385, allocations: 211.3 kB / 472 MB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.3391, allocations: 357 kB / 472.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3391, allocations: 0 / 472.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of Templates: time 0.02063/0.3597, allocations: 19.9 MB / 492.3 MB, free: 8.539 MB / 458.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5210731783881783]