Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001563/0.001563, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001861/0.001861, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2674/0.2674, allocations: 34.86 MB / 296.3 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.612e-05, allocations: 2.312 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3115/0.3116, allocations: 149.1 MB / 0.5155 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.3149, allocations: 3.048 MB / 0.5185 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.3152, allocations: 26.97 kB / 0.5185 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.3158, allocations: 244.9 kB / 0.5187 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.3181, allocations: 1.547 MB / 0.5203 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3194, allocations: 0.973 MB / 0.5212 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.321, allocations: 2.333 MB / 0.5235 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.3217, allocations: 0.6387 MB / 0.5241 GB, free: 10.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.3234, allocations: 1.54 MB / 0.5256 GB, free: 9.801 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.3251, allocations: 1.617 MB / 0.5272 GB, free: 9.289 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.3253, allocations: 97.84 kB / 0.5273 GB, free: 9.289 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.3262, allocations: 0.6968 MB / 0.528 GB, free: 9.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.3266, allocations: 0.729 MB / 0.5287 GB, free: 8.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.3271, allocations: 0.574 MB / 0.5292 GB, free: 8.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3284, allocations: 1.864 MB / 0.5311 GB, free: 7.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3284, allocations: 0 / 0.5311 GB, free: 7.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3284, allocations: 0 / 0.5311 GB, free: 7.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3284, allocations: 6.938 kB / 0.5311 GB, free: 7.848 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.001834/0.3302, allocations: 1.741 MB / 0.5328 GB, free: 6.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3303, allocations: 15.19 kB / 0.5328 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008988/0.3312, allocations: 463.1 kB / 0.5332 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.3319, allocations: 0.7048 MB / 0.5339 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.332, allocations: 188.7 kB / 0.5341 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3322, allocations: 117.5 kB / 0.5342 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.3334, allocations: 1.835 MB / 0.536 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3335, allocations: 6.531 kB / 0.536 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.3335, allocations: 45.88 kB / 0.536 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/0.3336, allocations: 91.75 kB / 0.5361 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.3345, allocations: 0.6053 MB / 0.5367 GB, free: 4.48 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.004018/0.3385, allocations: 4.709 MB / 0.5413 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.339, allocations: 406.7 kB / 0.5417 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.3392, allocations: 178 kB / 0.5419 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/0.3393, allocations: 31.58 kB / 0.5419 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3393, allocations: 51.7 kB / 0.542 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.733e-06/0.3393, allocations: 0 / 0.542 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.005/0.3443, allocations: 2.585 MB / 0.5445 GB, free: 15.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3444, allocations: 111.5 kB / 0.5446 GB, free: 15.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.3449, allocations: 0.636 MB / 0.5452 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.3449, allocations: 49.7 kB / 0.5453 GB, free: 14.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.3452, allocations: 0.6078 MB / 0.5458 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3454, allocations: 277.7 kB / 0.5461 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.3456, allocations: 216.2 kB / 0.5463 GB, free: 13.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3458, allocations: 0.5664 MB / 0.5469 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.3462, allocations: 205.8 kB / 0.5471 GB, free: 12.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.3467, allocations: 0.6513 MB / 0.5477 GB, free: 11.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.3476, allocations: 0.8501 MB / 0.5485 GB, free: 10.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3476, allocations: 3.938 kB / 0.5485 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001386/0.349, allocations: 1.059 MB / 0.5496 GB, free: 9.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.349, allocations: 16.05 kB / 0.5496 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.349, allocations: 8 kB / 0.5496 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.3513, allocations: 1.098 MB / 0.5507 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.3516, allocations: 147.8 kB / 0.5508 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3529, allocations: 1.355 MB / 0.5521 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.3533, allocations: 47.91 kB / 0.5522 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.3533, allocations: 67.98 kB / 0.5522 GB, free: 6.883 MB / 426.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.000228/0.3536, allocations: 220.3 kB / 0.5525 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3537, allocations: 103.5 kB / 0.5526 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.3549, allocations: 0.8986 MB / 0.5534 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3549, allocations: 8 kB / 0.5534 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3549, allocations: 0 / 0.5534 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3549, allocations: 7.922 kB / 0.5534 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.3569, allocations: 1.718 MB / 0.5551 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.3569, allocations: 3.938 kB / 0.5551 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.3578, allocations: 315.7 kB / 0.5554 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3579, allocations: 39.61 kB / 0.5555 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.358, allocations: 39.97 kB / 0.5555 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.3595, allocations: 3.58 MB / 0.559 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3595, allocations: 4 kB / 0.559 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3607, allocations: 1.067 MB / 0.56 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.361, allocations: 199.4 kB / 0.5602 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.3611, allocations: 31.88 kB / 0.5603 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.3615, allocations: 47.95 kB / 0.5603 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.3616, allocations: 60.55 kB / 0.5604 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.3617, allocations: 67.94 kB / 0.5604 GB, free: 14.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003114/0.362, allocations: 414.9 kB / 0.5608 GB, free: 13.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.362, allocations: 0 / 0.5608 GB, free: 13.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000855/0.3628, allocations: 447.6 kB / 0.5613 GB, free: 13.31 MB / 442.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.0009537/0.3638, allocations: 0.5363 MB / 0.5618 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.365, allocations: 0.7569 MB / 0.5625 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.365, allocations: 4.891 kB / 0.5625 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.3657, allocations: 0.5812 MB / 0.5631 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3669, allocations: 486.9 kB / 0.5636 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.37, allocations: 2.291 MB / 0.5658 GB, free: 8.629 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.3702, allocations: 277.2 kB / 0.5661 GB, free: 8.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000586/0.3707, allocations: 366.5 kB / 0.5664 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.371, allocations: 96.47 kB / 0.5665 GB, free: 7.883 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.371, allocations: 0 / 0.5665 GB, free: 7.883 MB / 442.7 MB Notification: Performance of Templates: time 0.0299/0.4009, allocations: 28.31 MB / 0.5942 GB, free: 11.91 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.808916630223393]