Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001753/0.001753, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001681/0.001681, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3909/0.3909, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.255e-05, allocations: 5.406 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3751/0.3752, allocations: 156.3 MB / 0.5191 GB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007356/0.3825, allocations: 5.982 MB / 0.525 GB, free: 6.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008051/0.3833, allocations: 27 kB / 0.525 GB, free: 6.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3845, allocations: 410.6 kB / 0.5254 GB, free: 6.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.3886, allocations: 1.827 MB / 0.5272 GB, free: 5.531 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.3921, allocations: 1.575 MB / 0.5287 GB, free: 4.766 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.3943, allocations: 2.272 MB / 0.5309 GB, free: 3.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007655/0.3951, allocations: 0.6304 MB / 0.5316 GB, free: 3.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.3982, allocations: 2.105 MB / 0.5336 GB, free: 2.535 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.4007, allocations: 1.611 MB / 0.5352 GB, free: 2.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.401, allocations: 100.8 kB / 0.5353 GB, free: 2.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.4036, allocations: 1.187 MB / 0.5364 GB, free: 1.445 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.404, allocations: 0.7273 MB / 0.5371 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007719/0.4048, allocations: 0.5664 MB / 0.5377 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.4101, allocations: 2.8 MB / 0.5404 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4101, allocations: 0 / 0.5404 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4101, allocations: 3.938 kB / 0.5404 GB, free: 14.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.334e-05/0.4101, allocations: 0 / 0.5404 GB, free: 14.96 MB / 426.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.005541/0.4157, allocations: 1.658 MB / 0.5421 GB, free: 13.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4157, allocations: 10.91 kB / 0.5421 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.4185, allocations: 473 kB / 0.5425 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.4207, allocations: 0.7284 MB / 0.5432 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.421, allocations: 203.2 kB / 0.5434 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.4213, allocations: 121.4 kB / 0.5435 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005202/0.4265, allocations: 2.546 MB / 0.546 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/0.4266, allocations: 14.48 kB / 0.546 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.4268, allocations: 38.81 kB / 0.5461 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.427, allocations: 92.55 kB / 0.5462 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/0.4317, allocations: 1.694 MB / 0.5478 GB, free: 9.578 MB / 426.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.01637/0.448, allocations: 4.815 MB / 0.5525 GB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.4506, allocations: 0.8467 MB / 0.5533 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.4515, allocations: 434.7 kB / 0.5538 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.4517, allocations: 31.48 kB / 0.5538 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.4517, allocations: 47.06 kB / 0.5538 GB, free: 3.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/0.4517, allocations: 4 kB / 0.5538 GB, free: 3.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.01307/0.4648, allocations: 4.051 MB / 0.5578 GB, free: 15.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4649, allocations: 111.5 kB / 0.5579 GB, free: 15.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4659, allocations: 0.7106 MB / 0.5586 GB, free: 14.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4661, allocations: 37.7 kB / 0.5586 GB, free: 14.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.4666, allocations: 0.5584 MB / 0.5592 GB, free: 13.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.4669, allocations: 269.7 kB / 0.5594 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.4673, allocations: 210.6 kB / 0.5596 GB, free: 13.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.4676, allocations: 382.8 kB / 0.56 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.4687, allocations: 0.5875 MB / 0.5606 GB, free: 12.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.4701, allocations: 0.9223 MB / 0.5615 GB, free: 11.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.4726, allocations: 1.447 MB / 0.5629 GB, free: 9.695 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4726, allocations: 4 kB / 0.5629 GB, free: 9.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003879/0.4765, allocations: 1.993 MB / 0.5648 GB, free: 7.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4765, allocations: 12 kB / 0.5649 GB, free: 7.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4765, allocations: 11.12 kB / 0.5649 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.4818, allocations: 1.359 MB / 0.5662 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.4825, allocations: 147.8 kB / 0.5663 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.4859, allocations: 1.932 MB / 0.5682 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.4869, allocations: 47.95 kB / 0.5683 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.487, allocations: 64 kB / 0.5683 GB, free: 4.098 MB / 442.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.0009142/0.4879, allocations: 397.5 kB / 0.5687 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.4882, allocations: 115.4 kB / 0.5688 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.4913, allocations: 1.472 MB / 0.5703 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4913, allocations: 8 kB / 0.5703 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4913, allocations: 0 / 0.5703 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4913, allocations: 3.984 kB / 0.5703 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/0.496, allocations: 2.37 MB / 0.5726 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.496, allocations: 0 / 0.5726 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/0.4979, allocations: 319.6 kB / 0.5729 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.4981, allocations: 76.73 kB / 0.573 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.855e-05/0.4982, allocations: 39.91 kB / 0.573 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.5012, allocations: 2.777 MB / 0.5757 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5012, allocations: 0 / 0.5757 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.5047, allocations: 1.897 MB / 0.5776 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.5053, allocations: 227.4 kB / 0.5778 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.5055, allocations: 35.92 kB / 0.5778 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/0.5063, allocations: 47.94 kB / 0.5779 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.5065, allocations: 60.55 kB / 0.5779 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.5067, allocations: 67.94 kB / 0.578 GB, free: 9.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007118/0.5074, allocations: 499 kB / 0.5785 GB, free: 9.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5074, allocations: 0 / 0.5785 GB, free: 9.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001578/0.509, allocations: 475.5 kB / 0.5789 GB, free: 8.984 MB / 458.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.001922/0.5109, allocations: 0.6905 MB / 0.5796 GB, free: 8.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.514, allocations: 1.416 MB / 0.581 GB, free: 6.875 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.514, allocations: 4.641 kB / 0.581 GB, free: 6.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.5159, allocations: 0.838 MB / 0.5818 GB, free: 6.016 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.518, allocations: 0.4899 MB / 0.5823 GB, free: 5.547 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.5235, allocations: 2.673 MB / 0.5849 GB, free: 2.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.5242, allocations: 0.578 MB / 0.5854 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001221/0.5255, allocations: 429.6 kB / 0.5858 GB, free: 1.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.5258, allocations: 96.47 kB / 0.5859 GB, free: 1.727 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5258, allocations: 0 / 0.5859 GB, free: 1.727 MB / 458.7 MB Notification: Performance of Templates: time 0.0562/0.582, allocations: 29.92 MB / 0.6152 GB, free: 4.207 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.266209510038607]