Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001055/0.001055, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001161/0.001161, allocations: 169 kB / 24.14 MB, free: 364 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.9976/0.9976, allocations: 158.6 MB / 186 MB, free: 2.781 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.162/0.162, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.695e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3228/0.3229, allocations: 146.8 MB / 445.9 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.3277, allocations: 3.092 MB / 449 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.3284, allocations: 27.75 kB / 449 MB, free: 7.898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006797/0.329, allocations: 234.5 kB / 449.2 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003615/0.3327, allocations: 1.622 MB / 450.8 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.3345, allocations: 0.9826 MB / 451.8 MB, free: 5.055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3372, allocations: 2.344 MB / 454.2 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.3384, allocations: 0.6236 MB / 454.8 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2215/0.56, allocations: 2.802 MB / 457.6 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.5616, allocations: 0.7595 MB / 458.3 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.562, allocations: 99.19 kB / 458.4 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.5639, allocations: 0.7162 MB / 459.2 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008763/0.5647, allocations: 0.7264 MB / 459.9 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.5662, allocations: 0.567 MB / 460.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.5698, allocations: 1.888 MB / 462.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5698, allocations: 1.031 kB / 462.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5698, allocations: 0.9062 kB / 462.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.644e-05/0.5699, allocations: 0.9062 kB / 462.3 MB, free: 6.219 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.003395/0.5733, allocations: 1.49 MB / 463.8 MB, free: 5.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5733, allocations: 10.84 kB / 463.8 MB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.5745, allocations: 425.5 kB / 464.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.5757, allocations: 0.5805 MB / 464.8 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5758, allocations: 193.2 kB / 465 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.576, allocations: 124.1 kB / 465.1 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5776, allocations: 1.706 MB / 466.9 MB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.5776, allocations: 5.625 kB / 466.9 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5777, allocations: 47.27 kB / 466.9 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.5778, allocations: 90.06 kB / 467 MB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.5786, allocations: 451 kB / 467.4 MB, free: 4.004 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.005522/0.5842, allocations: 3.565 MB / 471 MB, free: 18.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.5847, allocations: 383.8 kB / 471.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.5848, allocations: 132.8 kB / 471.5 MB, free: 18.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.585, allocations: 67.42 kB / 471.6 MB, free: 18.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.5851, allocations: 46.75 kB / 471.6 MB, free: 18.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 3.847e-06/0.5851, allocations: 2.531 kB / 471.6 MB, free: 18.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.005029/0.5901, allocations: 2.198 MB / 473.8 MB, free: 17.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.5901, allocations: 109.2 kB / 473.9 MB, free: 17.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.5906, allocations: 0.5445 MB / 474.5 MB, free: 17.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.5906, allocations: 42.05 kB / 474.5 MB, free: 17.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.5908, allocations: 0.5047 MB / 475 MB, free: 17.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.591, allocations: 272.4 kB / 475.3 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.5912, allocations: 189.9 kB / 475.5 MB, free: 16.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5913, allocations: 392.8 kB / 475.8 MB, free: 16.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.5915, allocations: 149.7 kB / 476 MB, free: 16.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.5918, allocations: 499.5 kB / 476.5 MB, free: 16.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.5924, allocations: 0.6813 MB / 477.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5924, allocations: 2.531 kB / 477.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001018/0.5935, allocations: 0.7704 MB / 477.9 MB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5935, allocations: 11.89 kB / 477.9 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5935, allocations: 12.03 kB / 478 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.5955, allocations: 0.9309 MB / 478.9 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.5958, allocations: 136.7 kB / 479 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.5968, allocations: 0.9789 MB / 480 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.5974, allocations: 32.42 kB / 480 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.5974, allocations: 62.97 kB / 480.1 MB, free: 15.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (85): * Single equations (assignments): 84 * 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.0004681/0.5979, allocations: 178.1 kB / 480.3 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.5981, allocations: 76.91 kB / 480.3 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007678/0.5988, allocations: 0.596 MB / 480.9 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5988, allocations: 9.531 kB / 480.9 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5988, allocations: 4.562 kB / 481 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5988, allocations: 3 kB / 481 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.6006, allocations: 1.273 MB / 482.2 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6006, allocations: 0 / 482.2 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.6014, allocations: 285 kB / 482.5 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.6015, allocations: 35.7 kB / 482.5 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.233e-05/0.6016, allocations: 29.06 kB / 482.6 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.6029, allocations: 2.452 MB / 485 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6029, allocations: 3.188 kB / 485 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.6038, allocations: 0.8092 MB / 485.8 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.6041, allocations: 153.1 kB / 486 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.6042, allocations: 29.62 kB / 486 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.6046, allocations: 34.45 kB / 486 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6047, allocations: 60.02 kB / 486.1 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.6048, allocations: 51.78 kB / 486.2 MB, free: 12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.605, allocations: 251.3 kB / 486.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.605, allocations: 0 / 486.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001287/0.6063, allocations: 458.8 kB / 486.9 MB, free: 11.95 MB / 426.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.001161/0.6075, allocations: 0.5441 MB / 487.4 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.6085, allocations: 0.6267 MB / 488 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/0.6085, allocations: 11.58 kB / 488 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.6091, allocations: 449.9 kB / 488.5 MB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6103, allocations: 0.5065 MB / 489 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.6135, allocations: 2.127 MB / 491.1 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.6137, allocations: 280.7 kB / 491.4 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007544/0.6144, allocations: 192 kB / 491.6 MB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.6155, allocations: 497.1 kB / 492.1 MB, free: 10.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.124e-06/0.6155, allocations: 0 / 492.1 MB, free: 10.59 MB / 426.7 MB Notification: Performance of Templates: time 0.03935/0.6548, allocations: 31.81 MB / 0.5116 GB, free: 10.85 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7524448172189295]