Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.0009256/0.0009256, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001008/0.001008, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.942/0.942, allocations: 177.1 MB / 205 MB, free: 5.629 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.2984/0.2984, allocations: 34.25 MB / 295.7 MB, free: 0.7383 MB / 266.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.066e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3208/0.3208, allocations: 149.1 MB / 0.5148 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.3252, allocations: 3.049 MB / 0.5178 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.3257, allocations: 27.59 kB / 0.5178 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007241/0.3264, allocations: 239.4 kB / 0.518 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.3298, allocations: 1.544 MB / 0.5196 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.3318, allocations: 0.9721 MB / 0.5205 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3341, allocations: 2.342 MB / 0.5228 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.3352, allocations: 0.6385 MB / 0.5234 GB, free: 10.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.3376, allocations: 1.525 MB / 0.5249 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.34, allocations: 1.629 MB / 0.5265 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.3403, allocations: 99.69 kB / 0.5266 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3416, allocations: 0.6915 MB / 0.5273 GB, free: 9.613 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.3421, allocations: 0.737 MB / 0.528 GB, free: 9.301 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.3429, allocations: 0.5661 MB / 0.5285 GB, free: 9.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.3454, allocations: 1.869 MB / 0.5304 GB, free: 8.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3454, allocations: 0 / 0.5304 GB, free: 8.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3454, allocations: 0 / 0.5304 GB, free: 8.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.114e-05/0.3455, allocations: 0 / 0.5304 GB, free: 8.383 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00267/0.3481, allocations: 1.742 MB / 0.5321 GB, free: 7.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3482, allocations: 11.56 kB / 0.5321 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.3493, allocations: 467.1 kB / 0.5325 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009774/0.3502, allocations: 0.7025 MB / 0.5332 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.3504, allocations: 199.1 kB / 0.5334 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3505, allocations: 113.6 kB / 0.5335 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.352, allocations: 1.826 MB / 0.5353 GB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.352, allocations: 10.56 kB / 0.5353 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.3521, allocations: 49.83 kB / 0.5353 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.04e-05/0.3522, allocations: 91.94 kB / 0.5354 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.3533, allocations: 0.607 MB / 0.536 GB, free: 5.008 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.004792/0.3581, allocations: 4.703 MB / 0.5406 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.3586, allocations: 409.5 kB / 0.541 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.3589, allocations: 170.6 kB / 0.5412 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.337e-05/0.359, allocations: 31.48 kB / 0.5412 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.359, allocations: 54.23 kB / 0.5412 GB, free: 1.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.315e-06/0.359, allocations: 0 / 0.5412 GB, free: 1.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.006023/0.365, allocations: 2.589 MB / 0.5438 GB, free: 15.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3651, allocations: 111.9 kB / 0.5439 GB, free: 15.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.3657, allocations: 0.6403 MB / 0.5445 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.3657, allocations: 45.7 kB / 0.5446 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.3661, allocations: 0.604 MB / 0.5451 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.3662, allocations: 285.7 kB / 0.5454 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.3665, allocations: 212.2 kB / 0.5456 GB, free: 14.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3667, allocations: 0.5703 MB / 0.5462 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.367, allocations: 205.9 kB / 0.5464 GB, free: 13.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.3676, allocations: 0.6474 MB / 0.547 GB, free: 12.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/0.3685, allocations: 0.854 MB / 0.5478 GB, free: 11.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3685, allocations: 7.938 kB / 0.5478 GB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001488/0.37, allocations: 1.063 MB / 0.5489 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3701, allocations: 10.34 kB / 0.5489 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.3701, allocations: 12.03 kB / 0.5489 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.3725, allocations: 1.086 MB / 0.55 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.3728, allocations: 143.8 kB / 0.5501 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.3741, allocations: 1.348 MB / 0.5514 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.3746, allocations: 55.22 kB / 0.5515 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.3747, allocations: 67.98 kB / 0.5515 GB, free: 7.719 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.000391/0.3751, allocations: 220.3 kB / 0.5517 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3753, allocations: 107.5 kB / 0.5518 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.3765, allocations: 0.9025 MB / 0.5527 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3765, allocations: 8 kB / 0.5527 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3765, allocations: 0 / 0.5527 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3765, allocations: 3.984 kB / 0.5527 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.3788, allocations: 1.722 MB / 0.5544 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3788, allocations: 0 / 0.5544 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009337/0.3798, allocations: 319.6 kB / 0.5547 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.3799, allocations: 39.67 kB / 0.5548 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.38, allocations: 39.97 kB / 0.5548 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.3816, allocations: 3.578 MB / 0.5583 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3816, allocations: 4 kB / 0.5583 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3831, allocations: 1.071 MB / 0.5593 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.3835, allocations: 195.4 kB / 0.5595 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.3835, allocations: 35.88 kB / 0.5596 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.384, allocations: 51.39 kB / 0.5596 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3841, allocations: 60.55 kB / 0.5597 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.3842, allocations: 63.94 kB / 0.5597 GB, free: 14.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000358/0.3845, allocations: 407 kB / 0.5601 GB, free: 14.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3845, allocations: 4 kB / 0.5601 GB, free: 14.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001315/0.3858, allocations: 455.6 kB / 0.5606 GB, free: 14.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.001105/0.3869, allocations: 0.5216 MB / 0.5611 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3883, allocations: 0.7638 MB / 0.5618 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3883, allocations: 0.8906 kB / 0.5618 GB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.3891, allocations: 0.5805 MB / 0.5624 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.3906, allocations: 492.8 kB / 0.5629 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.3942, allocations: 2.285 MB / 0.5651 GB, free: 9.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3944, allocations: 281.2 kB / 0.5654 GB, free: 9.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008192/0.3953, allocations: 366.6 kB / 0.5657 GB, free: 8.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.3955, allocations: 100.5 kB / 0.5658 GB, free: 8.707 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/0.3955, allocations: 0 / 0.5658 GB, free: 8.707 MB / 442.7 MB Notification: Performance of Templates: time 0.03302/0.4285, allocations: 28.33 MB / 0.5935 GB, free: 12.76 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.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.541932405903935]