Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006168/0.006168, allocations: 110 kB / 21.98 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2359/0.2359, allocations: 46.92 MB / 362.3 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 83.86 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3758, allocations: 66.07 MB / 0.5627 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5813/0.9571, allocations: 180.8 MB / 0.7393 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008592/0.9656, allocations: 6.548 MB / 0.7457 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.9665, allocations: 27.62 kB / 0.7458 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.9677, allocations: 453.7 kB / 0.7462 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.9719, allocations: 1.811 MB / 0.748 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.9756, allocations: 1.569 MB / 0.7495 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.9783, allocations: 2.261 MB / 0.7517 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.9793, allocations: 0.5944 MB / 0.7523 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.9831, allocations: 1.835 MB / 0.7541 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.986, allocations: 1.695 MB / 0.7557 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.9862, allocations: 101.8 kB / 0.7558 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.9891, allocations: 1.403 MB / 0.7572 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.9898, allocations: 0.697 MB / 0.7579 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009677/0.9908, allocations: 0.7539 MB / 0.7586 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.9946, allocations: 2.624 MB / 0.7612 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9946, allocations: 1.094 kB / 0.7612 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9946, allocations: 3.344 kB / 0.7612 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.902e-05/0.9946, allocations: 0 / 0.7612 GB, free: 1.434 MB / 0.5606 GB 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.003856/0.9985, allocations: 1.673 MB / 0.7628 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9985, allocations: 12.41 kB / 0.7628 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.9999, allocations: 315.4 kB / 0.7631 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.001, allocations: 0.7176 MB / 0.7638 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/1.001, allocations: 143.2 kB / 0.764 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.002, allocations: 101.1 kB / 0.7641 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/1.004, allocations: 1.842 MB / 0.7659 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.004, allocations: 6.641 kB / 0.7659 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/1.004, allocations: 51.34 kB / 0.7659 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.756e-05/1.004, allocations: 96.33 kB / 0.766 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/1.007, allocations: 1.692 MB / 0.7677 GB, free: 16.12 MB / 0.5762 GB 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.01044/1.017, allocations: 6.578 MB / 0.7741 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.018, allocations: 0.8438 MB / 0.7749 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/1.019, allocations: 442.5 kB / 0.7753 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/1.019, allocations: 29.53 kB / 0.7754 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/1.019, allocations: 48.28 kB / 0.7754 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.835e-06/1.019, allocations: 3.188 kB / 0.7754 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01074/1.03, allocations: 4.039 MB / 0.7794 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/1.03, allocations: 115.2 kB / 0.7795 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.031, allocations: 1.107 MB / 0.7805 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.031, allocations: 42.83 kB / 0.7806 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/1.032, allocations: 0.5334 MB / 0.7811 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/1.032, allocations: 277.8 kB / 0.7814 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.032, allocations: 211.4 kB / 0.7816 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.033, allocations: 345 kB / 0.7819 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008318/1.033, allocations: 0.5862 MB / 0.7825 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/1.035, allocations: 0.8706 MB / 0.7833 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.036, allocations: 1.444 MB / 0.7847 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.036, allocations: 4.375 kB / 0.7847 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003076/1.039, allocations: 1.983 MB / 0.7867 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.039, allocations: 7.969 kB / 0.7867 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.04, allocations: 9.312 kB / 0.7867 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/1.044, allocations: 1.357 MB / 0.788 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/1.045, allocations: 146.7 kB / 0.7882 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/1.048, allocations: 1.919 MB / 0.79 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.049, allocations: 45.69 kB / 0.7901 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.049, allocations: 68.42 kB / 0.7901 GB, free: 9.797 MB / 0.5762 GB 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.0007796/1.049, allocations: 400.6 kB / 0.7905 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.05, allocations: 113.9 kB / 0.7906 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/1.052, allocations: 1.497 MB / 0.7921 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.052, allocations: 13 kB / 0.7921 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.052, allocations: 3.938 kB / 0.7921 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.052, allocations: 8.125 kB / 0.7921 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/1.056, allocations: 2.655 MB / 0.7947 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.056, allocations: 3.344 kB / 0.7947 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.058, allocations: 333.6 kB / 0.795 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/1.058, allocations: 65.88 kB / 0.7951 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-05/1.058, allocations: 36.84 kB / 0.7951 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/1.061, allocations: 2.829 MB / 0.7979 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.061, allocations: 1.469 kB / 0.7979 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/1.064, allocations: 1.914 MB / 0.7998 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/1.065, allocations: 265 kB / 0.8 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.065, allocations: 25.83 kB / 0.8 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008662/1.066, allocations: 48.83 kB / 0.8001 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.066, allocations: 67.53 kB / 0.8002 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.066, allocations: 62.81 kB / 0.8002 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001041/1.067, allocations: 0.7982 MB / 0.801 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.067, allocations: 0 / 0.801 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001429/1.069, allocations: 482.3 kB / 0.8015 GB, free: 6.117 MB / 0.5762 GB 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.001706/1.07, allocations: 0.6673 MB / 0.8021 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002823/1.073, allocations: 1.423 MB / 0.8035 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.073, allocations: 5.719 kB / 0.8035 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.075, allocations: 0.8285 MB / 0.8043 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.078, allocations: 0.7637 MB / 0.8051 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/1.084, allocations: 3.03 MB / 0.808 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009191/1.085, allocations: 1.169 MB / 0.8092 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/1.085, allocations: 119.2 kB / 0.8093 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/1.085, allocations: 0 / 0.8093 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.04898/1.134, allocations: 32.09 MB / 0.8406 GB, free: 15.64 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 14.527977073099464]