Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009723/0.0009723, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001484/0.001484, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.9713/0.9713, allocations: 177.1 MB / 206 MB, free: 4.5 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.1427/0.1427, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.957e-05, allocations: 5.266 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.296/0.2961, allocations: 146.4 MB / 0.5134 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.2997, allocations: 3.034 MB / 0.5164 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.3002, allocations: 27.83 kB / 0.5164 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.3007, allocations: 246.6 kB / 0.5166 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.3031, allocations: 1.533 MB / 0.5181 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.3044, allocations: 0.9389 MB / 0.519 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.3062, allocations: 2.22 MB / 0.5212 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.3067, allocations: 0.521 MB / 0.5217 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.31, allocations: 2.924 MB / 0.5246 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/0.3109, allocations: 0.6853 MB / 0.5252 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.311, allocations: 71.34 kB / 0.5253 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3121, allocations: 0.6721 MB / 0.526 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.3124, allocations: 478.6 kB / 0.5264 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.3127, allocations: 409.1 kB / 0.5268 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.3144, allocations: 1.463 MB / 0.5282 GB, free: 12.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3144, allocations: 3.938 kB / 0.5282 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3144, allocations: 0 / 0.5282 GB, free: 12.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3144, allocations: 0 / 0.5282 GB, free: 12.41 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.001744/0.3161, allocations: 1.467 MB / 0.5297 GB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3162, allocations: 8.406 kB / 0.5297 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/0.317, allocations: 393.2 kB / 0.5301 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.3176, allocations: 0.5409 MB / 0.5306 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/0.3177, allocations: 170.6 kB / 0.5307 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.3178, allocations: 79.2 kB / 0.5308 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.3187, allocations: 1.482 MB / 0.5323 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.3187, allocations: 14.92 kB / 0.5323 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.3188, allocations: 34.98 kB / 0.5323 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.3189, allocations: 81.36 kB / 0.5324 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.3193, allocations: 343.4 kB / 0.5327 GB, free: 9.449 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.003013/0.3223, allocations: 4.176 MB / 0.5368 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.3225, allocations: 170.7 kB / 0.537 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.3226, allocations: 65.3 kB / 0.537 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.3226, allocations: 20.36 kB / 0.537 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3227, allocations: 43.36 kB / 0.5371 GB, free: 6.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.3227, allocations: 0 / 0.5371 GB, free: 6.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002864/0.3255, allocations: 1.182 MB / 0.5382 GB, free: 5.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3256, allocations: 142.3 kB / 0.5384 GB, free: 5.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.326, allocations: 0.8097 MB / 0.5392 GB, free: 4.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3261, allocations: 32.3 kB / 0.5392 GB, free: 4.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3263, allocations: 0.6601 MB / 0.5398 GB, free: 4.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.3264, allocations: 137.8 kB / 0.54 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3265, allocations: 245.5 kB / 0.5402 GB, free: 4.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3266, allocations: 0.5828 MB / 0.5408 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3268, allocations: 90.06 kB / 0.5409 GB, free: 3.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.3271, allocations: 1.055 MB / 0.5419 GB, free: 2.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.3277, allocations: 1.143 MB / 0.543 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.3277, allocations: 9.875 kB / 0.543 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0008546/0.3285, allocations: 0.8905 MB / 0.5439 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3285, allocations: 13.5 kB / 0.5439 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.3286, allocations: 22.12 kB / 0.5439 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.3292, allocations: 241.9 kB / 0.5442 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3295, allocations: 211.7 kB / 0.5444 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005599/0.33, allocations: 0.9937 MB / 0.5453 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.3304, allocations: 48 kB / 0.5454 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.3305, allocations: 60.78 kB / 0.5454 GB, free: 15.46 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.0002133/0.3307, allocations: 241.4 kB / 0.5457 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.3308, allocations: 94.61 kB / 0.5458 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.3313, allocations: 365.3 kB / 0.5461 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3313, allocations: 2.328 kB / 0.5461 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3313, allocations: 7.047 kB / 0.5461 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3313, allocations: 3.984 kB / 0.5461 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/0.3321, allocations: 0.7486 MB / 0.5468 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3321, allocations: 2.781 kB / 0.5468 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.3326, allocations: 149.2 kB / 0.547 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/0.3327, allocations: 27.58 kB / 0.547 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3327, allocations: 6.719 kB / 0.547 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.3343, allocations: 3.508 MB / 0.5504 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3343, allocations: 3.062 kB / 0.5505 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.3348, allocations: 0.4939 MB / 0.5509 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.335, allocations: 106.7 kB / 0.551 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.335, allocations: 6.969 kB / 0.551 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3352, allocations: 13.52 kB / 0.5511 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3353, allocations: 31.17 kB / 0.5511 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3353, allocations: 18.67 kB / 0.5511 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002929/0.3356, allocations: 426.4 kB / 0.5515 GB, free: 10.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3356, allocations: 0 / 0.5515 GB, free: 10.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009306/0.3365, allocations: 356.5 kB / 0.5518 GB, free: 10.09 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.000814/0.3373, allocations: 499.7 kB / 0.5523 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.338, allocations: 476 kB / 0.5528 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.338, allocations: 0 / 0.5528 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.3384, allocations: 325.4 kB / 0.5531 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.3392, allocations: 356 kB / 0.5534 GB, free: 9.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.341, allocations: 1.347 MB / 0.5547 GB, free: 8.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.3411, allocations: 215.5 kB / 0.5549 GB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004528/0.3416, allocations: 234.2 kB / 0.5552 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.3421, allocations: 412.6 kB / 0.5556 GB, free: 7.914 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3421, allocations: 4 kB / 0.5556 GB, free: 7.91 MB / 426.7 MB Notification: Performance of Templates: time 0.02323/0.3653, allocations: 20.49 MB / 0.5756 GB, free: 6.711 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.924786686897278]