Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001908/0.001908, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00224/0.00224, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2246/0.2246, allocations: 46.95 MB / 361.6 MB, free: 3.914 MB / 286.1 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 79.88 kB / 0.4974 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3289, allocations: 66.08 MB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1986/0.5276, allocations: 156.5 MB / 0.7148 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009622/0.5372, allocations: 5.97 MB / 0.7206 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007517/0.5379, allocations: 31.69 kB / 0.7206 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.5392, allocations: 385.8 kB / 0.721 GB, free: 464 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004857/0.5441, allocations: 1.791 MB / 0.7227 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.5481, allocations: 1.51 MB / 0.7242 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002905/0.5511, allocations: 2.137 MB / 0.7263 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009731/0.552, allocations: 481.3 kB / 0.7268 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.556, allocations: 1.799 MB / 0.7285 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.559, allocations: 1.531 MB / 0.73 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.5593, allocations: 80 kB / 0.7301 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.5623, allocations: 1.153 MB / 0.7312 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006485/0.5629, allocations: 454.7 kB / 0.7317 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.5639, allocations: 478.1 kB / 0.7321 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.5677, allocations: 2.068 MB / 0.7341 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5677, allocations: 0 / 0.7341 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5677, allocations: 0 / 0.7341 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.709e-05/0.5677, allocations: 0 / 0.7341 GB, free: 2.977 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003935/0.5717, allocations: 1.403 MB / 0.7355 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5717, allocations: 8.031 kB / 0.7355 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.5733, allocations: 287.1 kB / 0.7358 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.5749, allocations: 0.5829 MB / 0.7364 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.5751, allocations: 172.1 kB / 0.7365 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5752, allocations: 64 kB / 0.7366 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2549/0.8301, allocations: 1.971 MB / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.8302, allocations: 3.906 kB / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.8303, allocations: 30.5 kB / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.8304, allocations: 81.73 kB / 0.7386 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.8324, allocations: 1.054 MB / 0.7396 GB, free: 174.1 MB / 0.5606 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.00553/0.8379, allocations: 3.86 MB / 0.7434 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.8383, allocations: 297.9 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.8385, allocations: 136 kB / 0.7438 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.8386, allocations: 18 kB / 0.7438 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.8386, allocations: 42.69 kB / 0.7439 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.8386, allocations: 2.094 kB / 0.7439 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.005871/0.8445, allocations: 1.75 MB / 0.7456 GB, free: 170 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.8446, allocations: 132.5 kB / 0.7457 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.8453, allocations: 0.8363 MB / 0.7465 GB, free: 169 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.8454, allocations: 33.7 kB / 0.7466 GB, free: 169 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.8456, allocations: 0.59 MB / 0.7471 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.8457, allocations: 146.1 kB / 0.7473 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.8459, allocations: 214.8 kB / 0.7475 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.846, allocations: 394.7 kB / 0.7479 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.8463, allocations: 274.5 kB / 0.7481 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.8469, allocations: 0.9389 MB / 0.749 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.8478, allocations: 1.178 MB / 0.7502 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.8478, allocations: 8 kB / 0.7502 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00149/0.8493, allocations: 1.222 MB / 0.7514 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8493, allocations: 14.94 kB / 0.7514 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.8493, allocations: 20 kB / 0.7514 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.8505, allocations: 289.8 kB / 0.7517 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.851, allocations: 207.6 kB / 0.7519 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000805/0.8518, allocations: 0.9197 MB / 0.7528 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.8524, allocations: 43.98 kB / 0.7528 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.8525, allocations: 68 kB / 0.7529 GB, free: 162 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003876/0.8529, allocations: 342.5 kB / 0.7532 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.853, allocations: 83.48 kB / 0.7533 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.8538, allocations: 0.5113 MB / 0.7538 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8538, allocations: 4 kB / 0.7538 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8538, allocations: 0 / 0.7538 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8538, allocations: 7.922 kB / 0.7538 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.8552, allocations: 0.9659 MB / 0.7548 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8552, allocations: 0 / 0.7548 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.8561, allocations: 187.7 kB / 0.7549 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.8562, allocations: 20.84 kB / 0.755 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.8562, allocations: 15.83 kB / 0.755 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.8575, allocations: 2.626 MB / 0.7575 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8575, allocations: 8.031 kB / 0.7576 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/0.8584, allocations: 0.6888 MB / 0.7582 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.8587, allocations: 111.5 kB / 0.7583 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.8588, allocations: 11.95 kB / 0.7583 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.8591, allocations: 8 kB / 0.7584 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.8592, allocations: 35.88 kB / 0.7584 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.8592, allocations: 16 kB / 0.7584 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005048/0.8597, allocations: 0.5263 MB / 0.7589 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8597, allocations: 7.25 kB / 0.7589 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001243/0.861, allocations: 383.5 kB / 0.7593 GB, free: 155.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.001348/0.8623, allocations: 0.6235 MB / 0.7599 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.8635, allocations: 0.6485 MB / 0.7605 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8635, allocations: 4 kB / 0.7605 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.8642, allocations: 348.9 kB / 0.7609 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.8657, allocations: 342.5 kB / 0.7612 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.8678, allocations: 1.677 MB / 0.7628 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.8681, allocations: 433.4 kB / 0.7632 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.8683, allocations: 79.42 kB / 0.7633 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.8683, allocations: 4 kB / 0.7633 GB, free: 151 MB / 0.5606 GB Notification: Performance of Templates: time 0.02245/0.8908, allocations: 22.1 MB / 0.7849 GB, free: 129 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 12.138607742730528]