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.001379/0.001379, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001396/0.001396, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.323/1.323, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 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.2053/0.2053, allocations: 46.92 MB / 361.5 MB, free: 4.164 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.p|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.",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.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 75.88 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2782, allocations: 66.08 MB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4625/0.7407, allocations: 180.8 MB / 0.7386 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.7478, allocations: 6.543 MB / 0.745 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.7482, allocations: 29.25 kB / 0.745 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.7492, allocations: 449.4 kB / 0.7454 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.7525, allocations: 1.82 MB / 0.7472 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.7556, allocations: 1.565 MB / 0.7487 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.7575, allocations: 2.255 MB / 0.7509 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.7582, allocations: 0.5981 MB / 0.7515 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.7613, allocations: 1.841 MB / 0.7533 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.7635, allocations: 1.689 MB / 0.755 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.7637, allocations: 99.44 kB / 0.7551 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.766, allocations: 1.409 MB / 0.7564 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.7665, allocations: 0.6972 MB / 0.7571 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006961/0.7672, allocations: 0.7571 MB / 0.7579 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.7698, allocations: 2.624 MB / 0.7604 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7698, allocations: 0 / 0.7604 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7698, allocations: 0 / 0.7604 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.026e-05/0.7698, allocations: 0.9375 kB / 0.7604 GB, free: 1.465 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002982/0.7728, allocations: 1.674 MB / 0.762 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.7728, allocations: 11.28 kB / 0.7621 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.7741, allocations: 319.2 kB / 0.7624 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.7754, allocations: 0.7157 MB / 0.7631 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.7755, allocations: 195.5 kB / 0.7632 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.7757, allocations: 102.8 kB / 0.7633 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.7779, allocations: 1.838 MB / 0.7651 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.7779, allocations: 6.516 kB / 0.7651 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.7781, allocations: 51.05 kB / 0.7652 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/0.7781, allocations: 98.8 kB / 0.7653 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.7802, allocations: 1.694 MB / 0.7669 GB, free: 16.09 MB / 0.5762 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.00832/0.7885, allocations: 6.578 MB / 0.7734 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.7895, allocations: 0.8461 MB / 0.7742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.79, allocations: 439.6 kB / 0.7746 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/0.7901, allocations: 30.19 kB / 0.7746 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.7902, allocations: 45.22 kB / 0.7747 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.7902, allocations: 0 / 0.7747 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.009203/0.7994, allocations: 4.048 MB / 0.7786 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.7994, allocations: 112.8 kB / 0.7787 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.8006, allocations: 1.109 MB / 0.7798 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.35e-05/0.8007, allocations: 47.42 kB / 0.7799 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.801, allocations: 0.5351 MB / 0.7804 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.8012, allocations: 272.3 kB / 0.7807 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.8015, allocations: 211.5 kB / 0.7809 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8017, allocations: 348.4 kB / 0.7812 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.8024, allocations: 0.5859 MB / 0.7818 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.8033, allocations: 0.8709 MB / 0.7826 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.805, allocations: 1.446 MB / 0.784 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.805, allocations: 3.031 kB / 0.784 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002571/0.8076, allocations: 1.982 MB / 0.786 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.8076, allocations: 9.969 kB / 0.786 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8076, allocations: 7.156 kB / 0.786 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.8117, allocations: 1.357 MB / 0.7873 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.8122, allocations: 145 kB / 0.7874 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.8148, allocations: 1.922 MB / 0.7893 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.8156, allocations: 45.05 kB / 0.7894 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.8157, allocations: 69.16 kB / 0.7894 GB, free: 9.766 MB / 0.5762 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.0006931/0.8164, allocations: 397.8 kB / 0.7898 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.8167, allocations: 117.7 kB / 0.7899 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.819, allocations: 1.495 MB / 0.7914 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.819, allocations: 12.5 kB / 0.7914 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.819, allocations: 3.938 kB / 0.7914 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.819, allocations: 9.469 kB / 0.7914 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.8227, allocations: 2.654 MB / 0.794 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.8228, allocations: 6.688 kB / 0.794 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.8244, allocations: 324.3 kB / 0.7943 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.8245, allocations: 68.39 kB / 0.7944 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/0.8246, allocations: 37.25 kB / 0.7944 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.8271, allocations: 2.832 MB / 0.7972 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8271, allocations: 5.016 kB / 0.7972 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.8295, allocations: 1.909 MB / 0.799 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/0.8301, allocations: 263.3 kB / 0.7993 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.8303, allocations: 28.81 kB / 0.7993 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/0.8311, allocations: 48.84 kB / 0.7994 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.8313, allocations: 64.8 kB / 0.7994 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8314, allocations: 66.77 kB / 0.7995 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008656/0.8322, allocations: 0.7928 MB / 0.8003 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8322, allocations: 0 / 0.8003 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001245/0.8335, allocations: 489.8 kB / 0.8007 GB, free: 6.078 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.001525/0.835, allocations: 0.6604 MB / 0.8014 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.8375, allocations: 1.415 MB / 0.8028 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.8375, allocations: 1.594 kB / 0.8028 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.839, allocations: 0.8359 MB / 0.8036 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.8419, allocations: 0.7742 MB / 0.8043 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.847, allocations: 3.017 MB / 0.8073 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.8478, allocations: 1.174 MB / 0.8084 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.8483, allocations: 123 kB / 0.8086 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.8483, allocations: 1.094 kB / 0.8086 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.04129/0.8896, allocations: 32.09 MB / 0.8399 GB, free: 15.57 MB / 0.6231 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 12.641943379072472]