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.0008342/0.0008342, allocations: 76.45 kB / 20.69 MB, free: 3.867 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.0008283/0.0008283, allocations: 165.9 kB / 23.96 MB, free: 0.5938 MB / 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.9255/0.9255, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1382/0.1382, allocations: 32.37 MB / 270.3 MB, free: 14.98 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.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_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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.135e-05, allocations: 2.281 kB / 408.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3444/0.3444, allocations: 158.6 MB / 0.5535 GB, free: 5.465 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005043/0.3494, allocations: 6.382 MB / 0.5597 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.3498, allocations: 30.22 kB / 0.5597 GB, free: 1.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.3505, allocations: 407.5 kB / 0.5601 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.3535, allocations: 2.113 MB / 0.5622 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.3562, allocations: 1.776 MB / 0.5639 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3579, allocations: 2.275 MB / 0.5661 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.3586, allocations: 0.5889 MB / 0.5667 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.3612, allocations: 2.249 MB / 0.5689 GB, free: 11.4 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3629, allocations: 1.576 MB / 0.5704 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.363, allocations: 99.06 kB / 0.5705 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.3647, allocations: 1.393 MB / 0.5719 GB, free: 9.855 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.3651, allocations: 0.731 MB / 0.5726 GB, free: 9.383 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.3655, allocations: 0.57 MB / 0.5732 GB, free: 9.117 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.3677, allocations: 2.956 MB / 0.576 GB, free: 7.199 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3677, allocations: 3.984 kB / 0.576 GB, free: 7.195 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3677, allocations: 0 / 0.576 GB, free: 7.195 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3677, allocations: 0 / 0.576 GB, free: 7.195 MB / 458.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.001921/0.3696, allocations: 1.624 MB / 0.5776 GB, free: 5.539 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.3696, allocations: 8.031 kB / 0.5776 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/0.3704, allocations: 318.9 kB / 0.5779 GB, free: 5.219 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/0.3712, allocations: 0.7154 MB / 0.5786 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3713, allocations: 196.8 kB / 0.5788 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3714, allocations: 103.9 kB / 0.5789 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.3734, allocations: 2.577 MB / 0.5814 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3734, allocations: 8.5 kB / 0.5815 GB, free: 1.328 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.3735, allocations: 47.98 kB / 0.5815 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.737e-05/0.3736, allocations: 93.89 kB / 0.5816 GB, free: 1.191 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3752, allocations: 1.69 MB / 0.5832 GB, free: 15.5 MB / 474.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.004824/0.38, allocations: 4.836 MB / 0.588 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.3809, allocations: 0.8443 MB / 0.5888 GB, free: 9.719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.3813, allocations: 442 kB / 0.5892 GB, free: 9.285 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.975e-05/0.3814, allocations: 66.39 kB / 0.5893 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3814, allocations: 47.05 kB / 0.5893 GB, free: 9.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 1.553e-06/0.3814, allocations: 0 / 0.5893 GB, free: 9.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=72): time 0.005934/0.3874, allocations: 4.027 MB / 0.5933 GB, free: 5.105 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3874, allocations: 111.5 kB / 0.5934 GB, free: 4.973 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.3879, allocations: 0.6912 MB / 0.594 GB, free: 4.273 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.388, allocations: 49.69 kB / 0.5941 GB, free: 4.219 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.3882, allocations: 0.5544 MB / 0.5946 GB, free: 3.656 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3884, allocations: 269.8 kB / 0.5949 GB, free: 3.391 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3886, allocations: 206.5 kB / 0.5951 GB, free: 3.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3887, allocations: 386.8 kB / 0.5954 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.3893, allocations: 0.5808 MB / 0.596 GB, free: 2.215 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.3901, allocations: 0.9223 MB / 0.5969 GB, free: 1.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.3914, allocations: 1.451 MB / 0.5983 GB, free: 15.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3914, allocations: 0 / 0.5983 GB, free: 15.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001955/0.3933, allocations: 1.947 MB / 0.6002 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3934, allocations: 12 kB / 0.6002 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3934, allocations: 8.75 kB / 0.6002 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.3956, allocations: 1.321 MB / 0.6015 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.396, allocations: 147.8 kB / 0.6017 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.3977, allocations: 1.916 MB / 0.6036 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.398, allocations: 49.88 kB / 0.6036 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.3981, allocations: 66.7 kB / 0.6037 GB, free: 10.11 MB / 490.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.0003805/0.3985, allocations: 401.3 kB / 0.604 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3986, allocations: 87.48 kB / 0.6041 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.4001, allocations: 1.372 MB / 0.6055 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4001, allocations: 11.94 kB / 0.6055 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4001, allocations: 0 / 0.6055 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4001, allocations: 3.984 kB / 0.6055 GB, free: 8.211 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.4025, allocations: 2.364 MB / 0.6078 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4025, allocations: 7.969 kB / 0.6078 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.4034, allocations: 323.6 kB / 0.6081 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.4035, allocations: 76.73 kB / 0.6082 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.4036, allocations: 31.98 kB / 0.6082 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.4052, allocations: 2.774 MB / 0.6109 GB, free: 2.395 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4052, allocations: 0 / 0.6109 GB, free: 2.395 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.407, allocations: 1.877 MB / 0.6128 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.4073, allocations: 215.4 kB / 0.613 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.4074, allocations: 29.55 kB / 0.613 GB, free: 268 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.4078, allocations: 51.89 kB / 0.613 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4079, allocations: 68.81 kB / 0.6131 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.408, allocations: 59.95 kB / 0.6132 GB, free: 84 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004508/0.4084, allocations: 0.4913 MB / 0.6136 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 0 / 0.6136 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009767/0.4094, allocations: 0.511 MB / 0.6141 GB, free: 15.08 MB / 0.4948 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.001351/0.4108, allocations: 0.8113 MB / 0.6149 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.4125, allocations: 1.42 MB / 0.6163 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4125, allocations: 4.594 kB / 0.6163 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009764/0.4135, allocations: 0.8263 MB / 0.6171 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4146, allocations: 467.5 kB / 0.6176 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.4179, allocations: 2.746 MB / 0.6203 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.4183, allocations: 0.5818 MB / 0.6208 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.4185, allocations: 92.48 kB / 0.6209 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.4185, allocations: 0 / 0.6209 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of Templates: time 0.02309/0.4416, allocations: 29.1 MB / 0.6493 GB, free: 10.97 MB / 0.5261 GB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.916050142608583]