Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 204.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 71.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3862, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2156/0.6019, allocations: 156.4 MB / 0.7145 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009449/0.6113, allocations: 5.964 MB / 0.7204 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.6121, allocations: 27.75 kB / 0.7204 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.6134, allocations: 409.6 kB / 0.7208 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.6183, allocations: 1.799 MB / 0.7225 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.6225, allocations: 1.546 MB / 0.724 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003323/0.6258, allocations: 2.262 MB / 0.7263 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.627, allocations: 0.5902 MB / 0.7268 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.6315, allocations: 1.85 MB / 0.7286 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.635, allocations: 1.675 MB / 0.7303 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.6353, allocations: 100 kB / 0.7304 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.6382, allocations: 1.193 MB / 0.7315 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008728/0.6391, allocations: 0.6897 MB / 0.7322 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.6402, allocations: 0.6539 MB / 0.7328 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.6445, allocations: 2.625 MB / 0.7354 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6445, allocations: 0 / 0.7354 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6445, allocations: 0 / 0.7354 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.476e-05/0.6445, allocations: 0 / 0.7354 GB, free: 1.801 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.004288/0.6488, allocations: 1.673 MB / 0.737 GB, free: 92 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6488, allocations: 12.03 kB / 0.7371 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2933/0.9421, allocations: 307.2 kB / 0.7373 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.9442, allocations: 0.7193 MB / 0.738 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.9444, allocations: 200.4 kB / 0.7382 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.9446, allocations: 103.6 kB / 0.7383 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.9479, allocations: 2.548 MB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.948, allocations: 8.703 kB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.9481, allocations: 47.23 kB / 0.7409 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-05/0.9482, allocations: 96.84 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.9505, allocations: 1.69 MB / 0.7426 GB, free: 173.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.007489/0.958, allocations: 4.796 MB / 0.7473 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.959, allocations: 0.8468 MB / 0.7481 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.9595, allocations: 439.9 kB / 0.7486 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.9596, allocations: 24.48 kB / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.9596, allocations: 50.41 kB / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.394e-06/0.9596, allocations: 0 / 0.7486 GB, free: 167 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.009619/0.9692, allocations: 4.019 MB / 0.7526 GB, free: 163 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.9693, allocations: 111.5 kB / 0.7527 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.9699, allocations: 0.6984 MB / 0.7533 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.052e-05/0.97, allocations: 45.7 kB / 0.7534 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.9702, allocations: 0.556 MB / 0.7539 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.9703, allocations: 280 kB / 0.7542 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.9706, allocations: 210.5 kB / 0.7544 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.9707, allocations: 389.3 kB / 0.7548 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007251/0.9714, allocations: 0.5914 MB / 0.7553 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.9723, allocations: 0.9184 MB / 0.7562 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.9737, allocations: 1.45 MB / 0.7577 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9737, allocations: 0 / 0.7577 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002492/0.9762, allocations: 1.952 MB / 0.7596 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9762, allocations: 8 kB / 0.7596 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9763, allocations: 9.875 kB / 0.7596 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004418/0.9807, allocations: 1.354 MB / 0.7609 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.9813, allocations: 147.8 kB / 0.761 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.9835, allocations: 1.92 MB / 0.7629 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.9843, allocations: 49.09 kB / 0.763 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.9845, allocations: 63.98 kB / 0.763 GB, free: 152 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.0005294/0.985, allocations: 405.3 kB / 0.7634 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.9852, allocations: 79.53 kB / 0.7635 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.9872, allocations: 1.464 MB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.9873, allocations: 7.938 kB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9873, allocations: 4 kB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.9873, allocations: 7.922 kB / 0.7649 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.9906, allocations: 2.36 MB / 0.7672 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9906, allocations: 3.594 kB / 0.7672 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.9925, allocations: 324.5 kB / 0.7676 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.9926, allocations: 76.66 kB / 0.7676 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.9927, allocations: 40.16 kB / 0.7677 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.9943, allocations: 2.772 MB / 0.7704 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9943, allocations: 3.938 kB / 0.7704 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.9966, allocations: 1.885 MB / 0.7722 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/0.9972, allocations: 223.3 kB / 0.7724 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.9974, allocations: 31.95 kB / 0.7725 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.9982, allocations: 55.03 kB / 0.7725 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.9984, allocations: 64.55 kB / 0.7726 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.9985, allocations: 59.95 kB / 0.7726 GB, free: 142 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004479/0.9989, allocations: 499 kB / 0.7731 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9989, allocations: 4 kB / 0.7731 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001233/1, allocations: 475.5 kB / 0.7736 GB, free: 141 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.001581/1.002, allocations: 0.6633 MB / 0.7742 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002259/1.004, allocations: 1.419 MB / 0.7756 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.004, allocations: 3.234 kB / 0.7756 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.005, allocations: 0.8227 MB / 0.7764 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.007, allocations: 467.8 kB / 0.7768 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/1.012, allocations: 2.952 MB / 0.7797 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/1.012, allocations: 0.5819 MB / 0.7803 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/1.012, allocations: 103.4 kB / 0.7804 GB, free: 134 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/1.012, allocations: 0 / 0.7804 GB, free: 134 MB / 0.5606 GB Notification: Performance of Templates: time 0.02613/1.039, allocations: 28.23 MB / 0.808 GB, free: 105.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 13.357681392983068]