Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001154/0.001154, allocations: 83.69 kB / 21.44 MB, free: 3.117 MB / 18.57 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.005021/0.005021, allocations: 155.5 kB / 24.7 MB, free: 9.438 MB / 18.57 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 0.9183/0.9183, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2677/0.2677, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.885e-05, allocations: 2.281 kB / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3012/0.3013, allocations: 156.4 MB / 0.5858 GB, free: 3.793 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005832/0.3071, allocations: 5.975 MB / 0.5917 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.3075, allocations: 27.75 kB / 0.5917 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000824/0.3083, allocations: 401.5 kB / 0.5921 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.3111, allocations: 1.828 MB / 0.5939 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.3133, allocations: 1.549 MB / 0.5954 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.3151, allocations: 2.145 MB / 0.5975 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.3156, allocations: 486.5 kB / 0.5979 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.3179, allocations: 2.049 MB / 0.5999 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.3195, allocations: 1.493 MB / 0.6014 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.3196, allocations: 76 kB / 0.6015 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.3211, allocations: 1.161 MB / 0.6026 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.3214, allocations: 482.7 kB / 0.6031 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.3216, allocations: 411.1 kB / 0.6035 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.3237, allocations: 2.205 MB / 0.6056 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3237, allocations: 0 / 0.6056 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3237, allocations: 0 / 0.6056 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3237, allocations: 0 / 0.6056 GB, free: 15.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001778/0.3255, allocations: 1.395 MB / 0.607 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3255, allocations: 12.03 kB / 0.607 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.3262, allocations: 290.6 kB / 0.6073 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.3269, allocations: 0.5712 MB / 0.6078 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.327, allocations: 168 kB / 0.608 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.3271, allocations: 76.8 kB / 0.6081 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.3285, allocations: 1.962 MB / 0.61 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3285, allocations: 7.922 kB / 0.61 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.3286, allocations: 43.97 kB / 0.61 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.3286, allocations: 81.27 kB / 0.6101 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3299, allocations: 1.047 MB / 0.6111 GB, free: 9.535 MB / 0.5105 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.003409/0.3333, allocations: 3.855 MB / 0.6149 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.3337, allocations: 286.5 kB / 0.6152 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3338, allocations: 146.3 kB / 0.6153 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.3339, allocations: 27.92 kB / 0.6153 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3339, allocations: 38.56 kB / 0.6154 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.232e-06/0.3339, allocations: 0 / 0.6154 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.003312/0.3372, allocations: 1.75 MB / 0.6171 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.3372, allocations: 132.5 kB / 0.6172 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/0.3381, allocations: 0.8322 MB / 0.618 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3381, allocations: 33.7 kB / 0.618 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3384, allocations: 0.596 MB / 0.6186 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.3384, allocations: 134.9 kB / 0.6188 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3386, allocations: 222.7 kB / 0.619 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3387, allocations: 394.7 kB / 0.6193 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.339, allocations: 274.5 kB / 0.6196 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.3396, allocations: 0.9392 MB / 0.6205 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.3404, allocations: 1.184 MB / 0.6217 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3404, allocations: 4 kB / 0.6217 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001147/0.3416, allocations: 1.221 MB / 0.6229 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3416, allocations: 17.41 kB / 0.6229 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3416, allocations: 20 kB / 0.6229 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.3423, allocations: 295 kB / 0.6232 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3426, allocations: 203.6 kB / 0.6234 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000653/0.3432, allocations: 0.9113 MB / 0.6243 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3436, allocations: 43.98 kB / 0.6243 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.3439, allocations: 64.06 kB / 0.6244 GB, free: 11.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.3442, allocations: 352.8 kB / 0.6247 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.3442, allocations: 83.48 kB / 0.6248 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.3449, allocations: 0.5092 MB / 0.6253 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3449, allocations: 4 kB / 0.6253 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3449, allocations: 4 kB / 0.6253 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3449, allocations: 0 / 0.6253 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000987/0.3459, allocations: 0.9684 MB / 0.6262 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3459, allocations: 0 / 0.6262 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.3463, allocations: 183.8 kB / 0.6264 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.649e-05/0.3464, allocations: 24.84 kB / 0.6264 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3464, allocations: 8.047 kB / 0.6265 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.3476, allocations: 2.628 MB / 0.629 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3476, allocations: 0 / 0.629 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.3483, allocations: 0.6941 MB / 0.6297 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3484, allocations: 108.9 kB / 0.6298 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.3485, allocations: 7.953 kB / 0.6298 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3487, allocations: 19.98 kB / 0.6298 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3487, allocations: 28.11 kB / 0.6299 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.3487, allocations: 23.98 kB / 0.6299 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003926/0.3491, allocations: 0.5224 MB / 0.6304 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3491, allocations: 3.938 kB / 0.6304 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008121/0.3499, allocations: 383.5 kB / 0.6308 GB, free: 4.289 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.001303/0.3512, allocations: 0.6469 MB / 0.6314 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007821/0.352, allocations: 0.6511 MB / 0.632 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.352, allocations: 384 / 0.632 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.3525, allocations: 358.4 kB / 0.6324 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.3533, allocations: 346.7 kB / 0.6327 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3549, allocations: 1.577 MB / 0.6342 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3552, allocations: 437.4 kB / 0.6347 GB, free: 236 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3553, allocations: 88.48 kB / 0.6347 GB, free: 148 kB / 0.5261 GB Notification: Performance of SimCode: time 7.02e-07/0.3553, allocations: 0 / 0.6347 GB, free: 148 kB / 0.5261 GB Notification: Performance of Templates: time 0.1676/0.5229, allocations: 22.14 MB / 0.6564 GB, free: 162.2 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.521325083449483]