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.001839/0.001839, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001596/0.001596, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.463/1.463, allocations: 230.5 MB / 257.4 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.2291/0.2291, allocations: 46.95 MB / 360.8 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.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.002707/0.002707, allocations: 83.86 kB / 0.4967 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3569, allocations: 66.08 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2464/0.6032, allocations: 156.4 MB / 0.7139 GB, free: 7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.6175, allocations: 5.972 MB / 0.7197 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.6191, allocations: 27.75 kB / 0.7197 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.6211, allocations: 401.7 kB / 0.7201 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.6288, allocations: 1.803 MB / 0.7219 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006807/0.6356, allocations: 1.545 MB / 0.7234 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004615/0.6402, allocations: 2.255 MB / 0.7256 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.6421, allocations: 0.5941 MB / 0.7262 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00646/0.6486, allocations: 1.842 MB / 0.728 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/0.6541, allocations: 1.651 MB / 0.7296 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006596/0.6547, allocations: 100 kB / 0.7297 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.6597, allocations: 1.173 MB / 0.7308 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.6612, allocations: 0.6897 MB / 0.7315 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002669/0.6639, allocations: 0.65 MB / 0.7321 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.6719, allocations: 2.629 MB / 0.7347 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.6719, allocations: 7.938 kB / 0.7347 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6719, allocations: 0 / 0.7347 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.333e-05/0.672, allocations: 0 / 0.7347 GB, free: 1.617 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.3274/0.9994, allocations: 1.663 MB / 0.7363 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.9995, allocations: 9.969 kB / 0.7364 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/1.002, allocations: 317.1 kB / 0.7367 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/1.004, allocations: 0.7134 MB / 0.7374 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/1.004, allocations: 192.6 kB / 0.7375 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/1.004, allocations: 107.4 kB / 0.7376 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/1.007, allocations: 2.548 MB / 0.7401 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/1.007, allocations: 8.609 kB / 0.7401 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/1.007, allocations: 47.52 kB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-05/1.007, allocations: 97.31 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/1.01, allocations: 1.695 MB / 0.7419 GB, free: 172.3 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.007691/1.017, allocations: 4.797 MB / 0.7466 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.018, allocations: 0.842 MB / 0.7474 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/1.019, allocations: 435 kB / 0.7478 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.019, allocations: 28.48 kB / 0.7479 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.019, allocations: 50.53 kB / 0.7479 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 3.277e-06/1.019, allocations: 0 / 0.7479 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.009802/1.029, allocations: 4.019 MB / 0.7518 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.029, allocations: 111.5 kB / 0.752 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/1.03, allocations: 0.6975 MB / 0.7526 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/1.03, allocations: 45.7 kB / 0.7527 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/1.03, allocations: 0.558 MB / 0.7532 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.03, allocations: 273.6 kB / 0.7535 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/1.03, allocations: 218.5 kB / 0.7537 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/1.03, allocations: 388.2 kB / 0.7541 GB, free: 160 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/1.031, allocations: 0.5836 MB / 0.7546 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/1.032, allocations: 0.9223 MB / 0.7555 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.034, allocations: 1.45 MB / 0.757 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.034, allocations: 4 kB / 0.757 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002512/1.036, allocations: 1.949 MB / 0.7589 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.036, allocations: 8 kB / 0.7589 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.036, allocations: 8 kB / 0.7589 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/1.04, allocations: 1.356 MB / 0.7602 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/1.041, allocations: 139.8 kB / 0.7603 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/1.043, allocations: 1.923 MB / 0.7622 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/1.044, allocations: 39.97 kB / 0.7622 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.044, allocations: 70.92 kB / 0.7623 GB, free: 151.3 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.0005546/1.045, allocations: 398.8 kB / 0.7627 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/1.045, allocations: 83.53 kB / 0.7628 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/1.047, allocations: 1.472 MB / 0.7642 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.047, allocations: 12.5 kB / 0.7642 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.047, allocations: 0 / 0.7642 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.047, allocations: 7.922 kB / 0.7642 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/1.051, allocations: 2.369 MB / 0.7665 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.051, allocations: 7.938 kB / 0.7666 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.053, allocations: 319.6 kB / 0.7669 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/1.053, allocations: 68.72 kB / 0.7669 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/1.053, allocations: 39.97 kB / 0.767 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/1.054, allocations: 2.778 MB / 0.7697 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.054, allocations: 0 / 0.7697 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/1.057, allocations: 1.888 MB / 0.7715 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/1.058, allocations: 219.3 kB / 0.7717 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.058, allocations: 24.19 kB / 0.7717 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/1.059, allocations: 51.88 kB / 0.7718 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.059, allocations: 68.42 kB / 0.7719 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.059, allocations: 63.95 kB / 0.7719 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004906/1.059, allocations: 0.491 MB / 0.7724 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.059, allocations: 0 / 0.7724 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001326/1.061, allocations: 483.5 kB / 0.7729 GB, free: 140.3 MB / 0.5606 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.00147/1.062, allocations: 0.6586 MB / 0.7735 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002337/1.065, allocations: 1.408 MB / 0.7749 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.065, allocations: 11.3 kB / 0.7749 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.066, allocations: 0.8339 MB / 0.7757 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.068, allocations: 478 kB / 0.7762 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/1.072, allocations: 2.864 MB / 0.779 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/1.073, allocations: 0.5781 MB / 0.7795 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009965/1.074, allocations: 422 kB / 0.7799 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.074, allocations: 95.41 kB / 0.78 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/1.074, allocations: 3.938 kB / 0.78 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.03765/1.111, allocations: 31.92 MB / 0.8112 GB, free: 101.4 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/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.875489715486765]