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.001381/0.001381, allocations: 71.77 kB / 21.24 MB, free: 0.5391 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.001593/0.001593, allocations: 161.3 kB / 24.5 MB, free: 3.707 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.493/1.493, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 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.2151/0.2151, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.002491/0.002491, allocations: 79.88 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2848, allocations: 66.05 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.1817/0.4664, allocations: 156.4 MB / 0.65 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00902/0.4755, allocations: 5.968 MB / 0.6558 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.4762, allocations: 35.69 kB / 0.6559 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.4775, allocations: 405.6 kB / 0.6562 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.4821, allocations: 1.801 MB / 0.658 GB, free: 440 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.4861, allocations: 1.537 MB / 0.6595 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.4893, allocations: 2.259 MB / 0.6617 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.4904, allocations: 0.5825 MB / 0.6623 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.4945, allocations: 1.842 MB / 0.6641 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.4979, allocations: 1.663 MB / 0.6657 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.4981, allocations: 100 kB / 0.6658 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.501, allocations: 1.169 MB / 0.6669 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.5018, allocations: 0.6897 MB / 0.6676 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.5029, allocations: 0.6578 MB / 0.6683 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.5066, allocations: 2.617 MB / 0.6708 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5066, allocations: 0 / 0.6708 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5066, allocations: 3.938 kB / 0.6708 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.891e-05/0.5067, allocations: 0 / 0.6708 GB, free: 3.277 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.003785/0.5105, allocations: 1.676 MB / 0.6725 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5105, allocations: 8.031 kB / 0.6725 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.5121, allocations: 310.9 kB / 0.6728 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.5136, allocations: 0.7271 MB / 0.6735 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.5138, allocations: 192.8 kB / 0.6737 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.514, allocations: 104 kB / 0.6737 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.5174, allocations: 2.552 MB / 0.6762 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.5174, allocations: 0 / 0.6762 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.5176, allocations: 51.98 kB / 0.6763 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.5177, allocations: 85.95 kB / 0.6764 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.5206, allocations: 1.694 MB / 0.678 GB, free: 11.55 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.009194/0.5298, allocations: 4.801 MB / 0.6827 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.5313, allocations: 0.8434 MB / 0.6835 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.5321, allocations: 439.6 kB / 0.684 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.944e-05/0.5322, allocations: 28.48 kB / 0.684 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.5322, allocations: 50.94 kB / 0.684 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.5322, allocations: 0 / 0.684 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01174/0.544, allocations: 4.038 MB / 0.688 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.544, allocations: 111.5 kB / 0.6881 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009393/0.545, allocations: 0.699 MB / 0.6888 GB, free: 364 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5451, allocations: 41.7 kB / 0.6888 GB, free: 316 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2208/0.7659, allocations: 0.5504 MB / 0.6893 GB, free: 167 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.7662, allocations: 276.7 kB / 0.6896 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/0.7666, allocations: 214.6 kB / 0.6898 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7667, allocations: 389.5 kB / 0.6902 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.7677, allocations: 0.5833 MB / 0.6908 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.7688, allocations: 0.9193 MB / 0.6917 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.7707, allocations: 1.454 MB / 0.6931 GB, free: 165 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.7707, allocations: 2.281 kB / 0.6931 GB, free: 165 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003043/0.7737, allocations: 1.948 MB / 0.695 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.7738, allocations: 8.406 kB / 0.695 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.7738, allocations: 8.562 kB / 0.695 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004659/0.7784, allocations: 1.348 MB / 0.6963 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.779, allocations: 142.3 kB / 0.6964 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.7814, allocations: 1.924 MB / 0.6983 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/0.7823, allocations: 45.36 kB / 0.6984 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.7824, allocations: 65.27 kB / 0.6984 GB, free: 163 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.0006202/0.7831, allocations: 403.2 kB / 0.6988 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7832, allocations: 86.16 kB / 0.6989 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.7856, allocations: 1.472 MB / 0.7003 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.7856, allocations: 8.656 kB / 0.7003 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7856, allocations: 0 / 0.7003 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.7856, allocations: 3.328 kB / 0.7003 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.7889, allocations: 2.367 MB / 0.7027 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7889, allocations: 2.844 kB / 0.7027 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.7907, allocations: 323.3 kB / 0.703 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.7909, allocations: 72.19 kB / 0.703 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.791, allocations: 37.83 kB / 0.7031 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.7926, allocations: 2.781 MB / 0.7058 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7926, allocations: 0 / 0.7058 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.795, allocations: 1.878 MB / 0.7076 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.7956, allocations: 221.1 kB / 0.7078 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.7957, allocations: 28.42 kB / 0.7079 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.7966, allocations: 51.38 kB / 0.7079 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.7967, allocations: 62.06 kB / 0.708 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.7969, allocations: 62.14 kB / 0.708 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006427/0.7975, allocations: 499.8 kB / 0.7085 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7975, allocations: 192 / 0.7085 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00169/0.7992, allocations: 485 kB / 0.709 GB, free: 157.3 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.001758/0.8009, allocations: 0.6661 MB / 0.7096 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002721/0.8037, allocations: 1.415 MB / 0.711 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.8037, allocations: 6.266 kB / 0.711 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.8054, allocations: 0.835 MB / 0.7118 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.8076, allocations: 468.5 kB / 0.7123 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.8127, allocations: 2.865 MB / 0.7151 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.8136, allocations: 0.5794 MB / 0.7156 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001511/0.8151, allocations: 426.3 kB / 0.716 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.8155, allocations: 98.84 kB / 0.7161 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.8155, allocations: 0 / 0.7161 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.04258/0.858, allocations: 30.03 MB / 0.7455 GB, free: 139.6 MB / 0.5762 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 -s ida -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: 7.536192753002979]