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.001862/0.001862, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.002273/0.002273, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.513/1.513, allocations: 227.4 MB / 252.3 MB, free: 68 kB / 190.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.235/0.235, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.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_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.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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003266/0.003266, allocations: 80.69 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1326, allocations: 62.45 MB / 0.5404 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4825/0.6151, allocations: 180 MB / 0.7162 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00918/0.6243, allocations: 6.508 MB / 0.7225 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.625, allocations: 19.88 kB / 0.7226 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.6262, allocations: 437.5 kB / 0.723 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.6305, allocations: 1.751 MB / 0.7247 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.6345, allocations: 1.508 MB / 0.7262 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.6378, allocations: 2.247 MB / 0.7284 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.6391, allocations: 0.7624 MB / 0.7291 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.6436, allocations: 1.788 MB / 0.7308 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.6475, allocations: 1.624 MB / 0.7324 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00035/0.6478, allocations: 103.9 kB / 0.7325 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.6511, allocations: 1.339 MB / 0.7338 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008114/0.6519, allocations: 0.6821 MB / 0.7345 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.653, allocations: 0.7626 MB / 0.7353 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.6572, allocations: 2.621 MB / 0.7378 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6572, allocations: 0 / 0.7378 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6573, allocations: 7.938 kB / 0.7378 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.6573, allocations: 4 kB / 0.7378 GB, free: 5.656 MB / 0.5294 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.003976/0.6613, allocations: 1.748 MB / 0.7395 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.6613, allocations: 8.031 kB / 0.7395 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6629, allocations: 322.9 kB / 0.7398 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.6643, allocations: 0.7694 MB / 0.7406 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.6645, allocations: 141.3 kB / 0.7407 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.6647, allocations: 107.9 kB / 0.7408 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.6677, allocations: 1.837 MB / 0.7426 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.6678, allocations: 15.91 kB / 0.7426 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.668, allocations: 49.25 kB / 0.7427 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.6681, allocations: 89.95 kB / 0.7428 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.6709, allocations: 1.694 MB / 0.7444 GB, free: 14.71 MB / 0.545 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.01059/0.6815, allocations: 6.853 MB / 0.7511 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.683, allocations: 0.8817 MB / 0.752 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.6837, allocations: 454.2 kB / 0.7524 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.6839, allocations: 105.7 kB / 0.7525 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.6839, allocations: 48.12 kB / 0.7526 GB, free: 5.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.424e-06/0.6839, allocations: 0 / 0.7526 GB, free: 5.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.01145/0.6954, allocations: 4.128 MB / 0.7566 GB, free: 1.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.6955, allocations: 115.5 kB / 0.7567 GB, free: 1.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.6971, allocations: 1.101 MB / 0.7578 GB, free: 424 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.6972, allocations: 45.7 kB / 0.7578 GB, free: 372 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.6977, allocations: 0.5313 MB / 0.7583 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.698, allocations: 285.6 kB / 0.7586 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.6984, allocations: 206.6 kB / 0.7588 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6985, allocations: 349.9 kB / 0.7591 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.6995, allocations: 0.5875 MB / 0.7597 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.7008, allocations: 0.8682 MB / 0.7606 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.703, allocations: 1.458 MB / 0.762 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.703, allocations: 0 / 0.762 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003488/0.7065, allocations: 2.005 MB / 0.764 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.7065, allocations: 14.28 kB / 0.764 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.7065, allocations: 16.03 kB / 0.764 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004946/0.7115, allocations: 1.352 MB / 0.7653 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.7122, allocations: 147.8 kB / 0.7654 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.7152, allocations: 1.928 MB / 0.7673 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/0.7162, allocations: 43.97 kB / 0.7674 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.7164, allocations: 63.98 kB / 0.7674 GB, free: 6.246 MB / 0.5606 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.000704/0.7171, allocations: 405.4 kB / 0.7678 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.7173, allocations: 119.2 kB / 0.7679 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.7201, allocations: 1.496 MB / 0.7694 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7202, allocations: 8 kB / 0.7694 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.7202, allocations: 4 kB / 0.7694 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7202, allocations: 3.984 kB / 0.7694 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.7246, allocations: 2.688 MB / 0.772 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7246, allocations: 0 / 0.772 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.7265, allocations: 323.6 kB / 0.7723 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.7267, allocations: 76.67 kB / 0.7724 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/0.7268, allocations: 39.97 kB / 0.7724 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.7296, allocations: 3.033 MB / 0.7754 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7296, allocations: 0 / 0.7754 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.7327, allocations: 1.916 MB / 0.7773 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006765/0.7334, allocations: 328.3 kB / 0.7776 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.7337, allocations: 35.92 kB / 0.7776 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.7346, allocations: 51.89 kB / 0.7777 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.7348, allocations: 60.56 kB / 0.7777 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.7349, allocations: 63.89 kB / 0.7778 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001149/0.7361, allocations: 0.7931 MB / 0.7786 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7361, allocations: 8 kB / 0.7786 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001412/0.7375, allocations: 479.5 kB / 0.779 GB, free: 9.938 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.001859/0.7394, allocations: 0.6782 MB / 0.7797 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.7422, allocations: 1.485 MB / 0.7811 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7422, allocations: 4.656 kB / 0.7812 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.744, allocations: 0.8429 MB / 0.782 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.7476, allocations: 0.7692 MB / 0.7827 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.7534, allocations: 3.008 MB / 0.7857 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.7544, allocations: 1.172 MB / 0.7868 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.7549, allocations: 119.4 kB / 0.7869 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.755, allocations: 0 / 0.7869 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.04728/0.8022, allocations: 32.03 MB / 0.8182 GB, free: 1.84 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result: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 [Calling sys.exit(0), Time elapsed: 14.435919860959984]