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.001021/0.001021, 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.001169/0.001169, allocations: 162.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.9499/0.9499, allocations: 177.1 MB / 206 MB, free: 4.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.1605/0.1605, allocations: 32.8 MB / 295.4 MB, free: 15.38 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.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.954e-06/1.954e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.593e-05, allocations: 9.969 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3203/0.3204, allocations: 146.4 MB / 0.5114 GB, free: 14.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.324, allocations: 3.036 MB / 0.5144 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.3246, allocations: 30.69 kB / 0.5144 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3252, allocations: 238.4 kB / 0.5147 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.3279, allocations: 1.534 MB / 0.5161 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.3295, allocations: 0.9439 MB / 0.5171 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.3316, allocations: 2.227 MB / 0.5192 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008152/0.3324, allocations: 0.5075 MB / 0.5197 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.336, allocations: 2.929 MB / 0.5226 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009246/0.3369, allocations: 0.6877 MB / 0.5233 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3371, allocations: 74 kB / 0.5233 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3382, allocations: 0.6665 MB / 0.524 GB, free: 13.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.3385, allocations: 474.3 kB / 0.5244 GB, free: 13.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.3389, allocations: 418.3 kB / 0.5248 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.3406, allocations: 1.461 MB / 0.5263 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3406, allocations: 6.938 kB / 0.5263 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3406, allocations: 0 / 0.5263 GB, free: 12.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.3406, allocations: 0 / 0.5263 GB, free: 12.93 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.00184/0.3424, allocations: 1.459 MB / 0.5277 GB, free: 12.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3425, allocations: 7.969 kB / 0.5277 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.3433, allocations: 388.3 kB / 0.5281 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006071/0.3439, allocations: 0.5503 MB / 0.5286 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.344, allocations: 172.4 kB / 0.5288 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3441, allocations: 78.45 kB / 0.5289 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.3449, allocations: 1.478 MB / 0.5303 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.3449, allocations: 7.609 kB / 0.5303 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.345, allocations: 35.42 kB / 0.5303 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.328e-05/0.345, allocations: 78.61 kB / 0.5304 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.3455, allocations: 347.8 kB / 0.5307 GB, free: 10.23 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.002866/0.3483, allocations: 4.184 MB / 0.5348 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3485, allocations: 168.5 kB / 0.535 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.3486, allocations: 62.08 kB / 0.5351 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.3486, allocations: 25.27 kB / 0.5351 GB, free: 7.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3487, allocations: 43.3 kB / 0.5351 GB, free: 7.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.3487, allocations: 0 / 0.5351 GB, free: 7.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00267/0.3513, allocations: 1.172 MB / 0.5363 GB, free: 6.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3514, allocations: 137.5 kB / 0.5364 GB, free: 6.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.3518, allocations: 0.8133 MB / 0.5372 GB, free: 5.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3518, allocations: 32.14 kB / 0.5372 GB, free: 5.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.352, allocations: 0.6612 MB / 0.5379 GB, free: 5.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.3521, allocations: 142.5 kB / 0.538 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.3522, allocations: 246.9 kB / 0.5382 GB, free: 5.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.3523, allocations: 0.5773 MB / 0.5388 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3524, allocations: 97.22 kB / 0.5389 GB, free: 4.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.3527, allocations: 1.048 MB / 0.5399 GB, free: 3.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.3533, allocations: 1.153 MB / 0.541 GB, free: 2.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3533, allocations: 13.62 kB / 0.5411 GB, free: 2.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0008087/0.3541, allocations: 0.882 MB / 0.5419 GB, free: 1.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3541, allocations: 14.22 kB / 0.5419 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3541, allocations: 23.11 kB / 0.542 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.3547, allocations: 246.2 kB / 0.5422 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.355, allocations: 214.3 kB / 0.5424 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004084/0.3554, allocations: 0.9846 MB / 0.5434 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.3558, allocations: 40.41 kB / 0.5434 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.3559, allocations: 60.91 kB / 0.5435 GB, free: 0.6758 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.0001714/0.356, allocations: 246.2 kB / 0.5437 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.3561, allocations: 94.36 kB / 0.5438 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.3565, allocations: 366.4 kB / 0.5441 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3565, allocations: 9.094 kB / 0.5441 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3565, allocations: 0 / 0.5441 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3565, allocations: 3.984 kB / 0.5441 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/0.3573, allocations: 0.7477 MB / 0.5449 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3573, allocations: 0 / 0.5449 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.3578, allocations: 156.6 kB / 0.545 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.915e-05/0.3578, allocations: 22.59 kB / 0.545 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3578, allocations: 13.67 kB / 0.5451 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.3591, allocations: 3.513 MB / 0.5485 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3591, allocations: 0 / 0.5485 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.3596, allocations: 0.4946 MB / 0.549 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3597, allocations: 111.3 kB / 0.5491 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.3598, allocations: 6.594 kB / 0.5491 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.36, allocations: 16.3 kB / 0.5491 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.36, allocations: 24.27 kB / 0.5491 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.36, allocations: 19.14 kB / 0.5491 GB, free: 11.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.3603, allocations: 423.5 kB / 0.5495 GB, free: 11.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3603, allocations: 0 / 0.5495 GB, free: 11.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008131/0.3611, allocations: 356.2 kB / 0.5499 GB, free: 11.29 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.0008395/0.3619, allocations: 496.5 kB / 0.5504 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000617/0.3626, allocations: 470.2 kB / 0.5508 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3626, allocations: 4.062 kB / 0.5508 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.363, allocations: 332.2 kB / 0.5511 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.3638, allocations: 351.7 kB / 0.5515 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3658, allocations: 1.349 MB / 0.5528 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3659, allocations: 214.8 kB / 0.553 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004604/0.3664, allocations: 227.1 kB / 0.5532 GB, free: 9.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.3669, allocations: 413.5 kB / 0.5536 GB, free: 9.129 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3669, allocations: 2.219 kB / 0.5536 GB, free: 9.129 MB / 426.7 MB Notification: Performance of Templates: time 0.02308/0.39, allocations: 20.5 MB / 0.5736 GB, free: 8.535 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 -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: 4.287856910843402]