Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001448/0.001448, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001485/0.001485, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8924/0.8924, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1398/0.1398, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.439e-05, allocations: 6.25 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.328/0.328, allocations: 176.9 MB / 0.5123 GB, free: 3.453 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008943/0.337, allocations: 7.101 MB / 0.5193 GB, free: 12.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.3375, allocations: 27.75 kB / 0.5193 GB, free: 12.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3386, allocations: 397.5 kB / 0.5197 GB, free: 11.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.3426, allocations: 2.087 MB / 0.5217 GB, free: 9.816 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.3451, allocations: 1.747 MB / 0.5234 GB, free: 8.066 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.3468, allocations: 2.15 MB / 0.5255 GB, free: 5.906 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.3474, allocations: 0.5101 MB / 0.526 GB, free: 5.398 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.3504, allocations: 2.177 MB / 0.5281 GB, free: 3.215 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.3522, allocations: 1.461 MB / 0.5296 GB, free: 1.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.3524, allocations: 76 kB / 0.5296 GB, free: 1.676 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.3542, allocations: 1.375 MB / 0.531 GB, free: 304 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.3545, allocations: 478.8 kB / 0.5314 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.3548, allocations: 419.1 kB / 0.5318 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.3568, allocations: 1.913 MB / 0.5337 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3568, allocations: 0 / 0.5337 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3568, allocations: 0 / 0.5337 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3568, allocations: 0 / 0.5337 GB, free: 13.5 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.002123/0.359, allocations: 1.475 MB / 0.5351 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.359, allocations: 15.97 kB / 0.5352 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.36, allocations: 422.5 kB / 0.5356 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/0.3607, allocations: 0.578 MB / 0.5361 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3608, allocations: 164.1 kB / 0.5363 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3609, allocations: 83.94 kB / 0.5364 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.362, allocations: 1.592 MB / 0.5379 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.362, allocations: 0 / 0.5379 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.3621, allocations: 32 kB / 0.5379 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.054e-05/0.3622, allocations: 85.2 kB / 0.538 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.3629, allocations: 415.4 kB / 0.5384 GB, free: 8.281 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.00403/0.3669, allocations: 4.395 MB / 0.5427 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.3672, allocations: 175.1 kB / 0.5429 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3673, allocations: 72.36 kB / 0.5429 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.3674, allocations: 65.91 kB / 0.543 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3674, allocations: 49.78 kB / 0.5431 GB, free: 3.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.3674, allocations: 0 / 0.5431 GB, free: 3.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003431/0.3708, allocations: 1.401 MB / 0.5444 GB, free: 1.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3709, allocations: 136.5 kB / 0.5446 GB, free: 1.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.3715, allocations: 0.8035 MB / 0.5453 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.3715, allocations: 37.7 kB / 0.5454 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.3718, allocations: 0.6533 MB / 0.546 GB, free: 212 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.122e-05/0.3719, allocations: 142.9 kB / 0.5462 GB, free: 68 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.3721, allocations: 228.6 kB / 0.5464 GB, free: 15.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3723, allocations: 0.5703 MB / 0.5469 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3725, allocations: 114.5 kB / 0.547 GB, free: 15.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.3733, allocations: 1.04 MB / 0.5481 GB, free: 13.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.3741, allocations: 1.151 MB / 0.5492 GB, free: 12.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3741, allocations: 4 kB / 0.5492 GB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001054/0.3751, allocations: 0.9375 MB / 0.5501 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3751, allocations: 16 kB / 0.5501 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3752, allocations: 20 kB / 0.5501 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.3758, allocations: 237.6 kB / 0.5504 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.3761, allocations: 207.6 kB / 0.5506 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005734/0.3767, allocations: 0.9911 MB / 0.5515 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.377, allocations: 47.98 kB / 0.5516 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.3771, allocations: 71.94 kB / 0.5516 GB, free: 9.602 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0001754/0.3773, allocations: 232.1 kB / 0.5519 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.3773, allocations: 99.52 kB / 0.552 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.3778, allocations: 348 kB / 0.5523 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3778, allocations: 4 kB / 0.5523 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3778, allocations: 0 / 0.5523 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3778, allocations: 0 / 0.5523 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.3787, allocations: 0.903 MB / 0.5532 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3787, allocations: 0 / 0.5532 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.3792, allocations: 171.8 kB / 0.5533 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-05/0.3793, allocations: 27.67 kB / 0.5534 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3793, allocations: 13.34 kB / 0.5534 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.3808, allocations: 3.558 MB / 0.5568 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3808, allocations: 0 / 0.5568 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.3813, allocations: 0.5235 MB / 0.5574 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3815, allocations: 103.5 kB / 0.5575 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.3815, allocations: 11.95 kB / 0.5575 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3817, allocations: 15.98 kB / 0.5575 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3818, allocations: 23.95 kB / 0.5575 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.3818, allocations: 27.92 kB / 0.5575 GB, free: 3.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003556/0.3822, allocations: 455 kB / 0.558 GB, free: 2.777 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3822, allocations: 0 / 0.558 GB, free: 2.777 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008482/0.383, allocations: 423.3 kB / 0.5584 GB, free: 2.363 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.001296/0.3843, allocations: 0.7829 MB / 0.5591 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006984/0.385, allocations: 0.4939 MB / 0.5596 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.385, allocations: 0 / 0.5596 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.3855, allocations: 357.3 kB / 0.56 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008343/0.3863, allocations: 344.6 kB / 0.5603 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3884, allocations: 1.362 MB / 0.5616 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3886, allocations: 207.2 kB / 0.5618 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.3891, allocations: 281.4 kB / 0.5621 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3892, allocations: 72.44 kB / 0.5622 GB, free: 14.42 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3892, allocations: 0 / 0.5622 GB, free: 14.42 MB / 442.7 MB Notification: Performance of Templates: time 0.02222/0.4114, allocations: 20.6 MB / 0.5823 GB, free: 9.859 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.07189676607959]