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.001162/0.001162, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.00104/0.00104, allocations: 165 kB / 23.8 MB, free: 0.7773 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.9353/0.9353, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1361/0.1361, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.144e-06/2.144e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.801e-05/4.016e-05, allocations: 6.25 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3921/0.3922, allocations: 147.4 MB / 495.1 MB, free: 9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.3978, allocations: 3.062 MB / 498.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/0.3988, allocations: 30.78 kB / 498.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3998, allocations: 236.7 kB / 498.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.4045, allocations: 1.606 MB / 0.4884 GB, free: 7.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.4074, allocations: 0.9763 MB / 0.4893 GB, free: 6.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.4102, allocations: 2.341 MB / 0.4916 GB, free: 5.594 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.4113, allocations: 0.6407 MB / 0.4922 GB, free: 5.148 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.416, allocations: 2.897 MB / 0.495 GB, free: 3.535 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.4173, allocations: 0.8037 MB / 0.4958 GB, free: 3.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003229/0.4177, allocations: 100.2 kB / 0.4959 GB, free: 3.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.4193, allocations: 0.7274 MB / 0.4966 GB, free: 2.754 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006046/0.4199, allocations: 0.7274 MB / 0.4973 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.4208, allocations: 0.5678 MB / 0.4979 GB, free: 2.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.4232, allocations: 1.879 MB / 0.4997 GB, free: 216 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4232, allocations: 4 kB / 0.4997 GB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4232, allocations: 0 / 0.4997 GB, free: 212 kB / 362.7 MB Notification: Performance of Transformations before backend: time 6.008e-05/0.4233, allocations: 3.938 kB / 0.4997 GB, free: 208 kB / 362.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.002967/0.4262, allocations: 1.679 MB / 0.5014 GB, free: 14.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.4263, allocations: 12.03 kB / 0.5014 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.4274, allocations: 463.4 kB / 0.5018 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009787/0.4284, allocations: 0.707 MB / 0.5025 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.4286, allocations: 197.3 kB / 0.5027 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.4287, allocations: 112.4 kB / 0.5028 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.4307, allocations: 1.833 MB / 0.5046 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.4307, allocations: 3.953 kB / 0.5046 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.4308, allocations: 51.98 kB / 0.5047 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.4309, allocations: 89.95 kB / 0.5048 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.432, allocations: 0.5971 MB / 0.5053 GB, free: 10.11 MB / 378.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.005691/0.4377, allocations: 4.759 MB / 0.51 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.4383, allocations: 396.6 kB / 0.5104 GB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.4386, allocations: 180.8 kB / 0.5105 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.4387, allocations: 74.38 kB / 0.5106 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.4387, allocations: 49.89 kB / 0.5107 GB, free: 4.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.908e-06/0.4388, allocations: 0 / 0.5107 GB, free: 4.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005597/0.4444, allocations: 2.589 MB / 0.5132 GB, free: 1.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4444, allocations: 111.5 kB / 0.5133 GB, free: 1.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.445, allocations: 0.6477 MB / 0.5139 GB, free: 1.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.4451, allocations: 41.7 kB / 0.514 GB, free: 1.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.4455, allocations: 0.6156 MB / 0.5146 GB, free: 416 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4456, allocations: 281.7 kB / 0.5148 GB, free: 132 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.4459, allocations: 212.5 kB / 0.515 GB, free: 15.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4461, allocations: 0.5703 MB / 0.5156 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.4465, allocations: 206.5 kB / 0.5158 GB, free: 15.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.4471, allocations: 0.6799 MB / 0.5165 GB, free: 14.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.4481, allocations: 0.8804 MB / 0.5173 GB, free: 13.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4481, allocations: 4 kB / 0.5173 GB, free: 13.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001604/0.4498, allocations: 1.083 MB / 0.5184 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4498, allocations: 16.17 kB / 0.5184 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.4498, allocations: 8 kB / 0.5184 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.4522, allocations: 1.058 MB / 0.5194 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.4526, allocations: 151.7 kB / 0.5196 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.454, allocations: 1.348 MB / 0.5209 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.4546, allocations: 43.97 kB / 0.5209 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.4547, allocations: 72.67 kB / 0.521 GB, free: 9.387 MB / 394.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.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 (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.0004238/0.4551, allocations: 224.3 kB / 0.5212 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.4553, allocations: 111.5 kB / 0.5213 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.4565, allocations: 0.7974 MB / 0.5221 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4565, allocations: 7.938 kB / 0.5221 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4565, allocations: 4 kB / 0.5221 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4565, allocations: 3.984 kB / 0.5221 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.4589, allocations: 1.709 MB / 0.5238 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4589, allocations: 8.031 kB / 0.5238 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/0.4598, allocations: 315.6 kB / 0.5241 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.46, allocations: 43.59 kB / 0.5241 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.4601, allocations: 35.97 kB / 0.5242 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.4623, allocations: 3.589 MB / 0.5277 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4623, allocations: 0 / 0.5277 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.4638, allocations: 1.063 MB / 0.5287 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.4642, allocations: 203.3 kB / 0.5289 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4643, allocations: 31.98 kB / 0.5289 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.4647, allocations: 47.89 kB / 0.529 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.4649, allocations: 64.53 kB / 0.529 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.465, allocations: 59.95 kB / 0.5291 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004235/0.4654, allocations: 415 kB / 0.5295 GB, free: 340 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4654, allocations: 0 / 0.5295 GB, free: 340 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001346/0.4667, allocations: 459.6 kB / 0.5299 GB, free: 15.88 MB / 410.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.001371/0.4681, allocations: 0.5666 MB / 0.5305 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.4695, allocations: 0.7658 MB / 0.5312 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4695, allocations: 12.77 kB / 0.5312 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008985/0.4704, allocations: 0.5765 MB / 0.5318 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.4717, allocations: 478.5 kB / 0.5323 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.4754, allocations: 2.294 MB / 0.5345 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.4757, allocations: 285.2 kB / 0.5348 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007278/0.4764, allocations: 290.9 kB / 0.5351 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.4766, allocations: 84.48 kB / 0.5351 GB, free: 10.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4766, allocations: 4 kB / 0.5351 GB, free: 10.48 MB / 410.7 MB Notification: Performance of Templates: time 0.03886/0.5155, allocations: 31.6 MB / 0.566 GB, free: 10.9 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.741996739059687]