Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.0011/0.0011, allocations: 91.61 kB / 21.44 MB, free: 3.098 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.0008484/0.0008484, allocations: 156.6 kB / 24.69 MB, free: 9.449 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.9087/0.9087, allocations: 177.1 MB / 205 MB, free: 5.754 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.2722/0.2722, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.Air,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.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.129e-05, allocations: 3.266 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.328/0.328, allocations: 153.8 MB / 0.5833 GB, free: 6.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.3333, allocations: 4.91 MB / 0.5881 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.3338, allocations: 27.75 kB / 0.5881 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.3345, allocations: 313.8 kB / 0.5884 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.3369, allocations: 1.311 MB / 0.5897 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.3386, allocations: 1.024 MB / 0.5907 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3401, allocations: 1.875 MB / 0.5925 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.3405, allocations: 396.5 kB / 0.5929 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.342, allocations: 1.347 MB / 0.5942 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.3429, allocations: 0.6389 MB / 0.5948 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.343, allocations: 60 kB / 0.5949 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008846/0.3439, allocations: 0.5615 MB / 0.5954 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.3441, allocations: 283.1 kB / 0.5957 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3443, allocations: 287.4 kB / 0.596 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3455, allocations: 1.387 MB / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3455, allocations: 1.125 kB / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3455, allocations: 0 / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.3455, allocations: 0 / 0.5973 GB, free: 8.008 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001404/0.3469, allocations: 1.034 MB / 0.5983 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3469, allocations: 11.97 kB / 0.5983 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.3474, allocations: 139.5 kB / 0.5985 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.3479, allocations: 477.4 kB / 0.5989 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.348, allocations: 159.8 kB / 0.5991 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.3481, allocations: 51.94 kB / 0.5991 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.349, allocations: 1.14 MB / 0.6003 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.349, allocations: 0 / 0.6003 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.349, allocations: 27.98 kB / 0.6003 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.3491, allocations: 47.64 kB / 0.6003 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.3497, allocations: 0.6127 MB / 0.6009 GB, free: 4.082 MB / 0.4948 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.002843/0.3526, allocations: 3.227 MB / 0.6041 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.353, allocations: 338.8 kB / 0.6044 GB, free: 428 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3531, allocations: 159.1 kB / 0.6045 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.3532, allocations: 12.22 kB / 0.6046 GB, free: 256 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3532, allocations: 42.83 kB / 0.6046 GB, free: 204 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.3532, allocations: 0 / 0.6046 GB, free: 204 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003034/0.3563, allocations: 1.599 MB / 0.6062 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.3563, allocations: 136.5 kB / 0.6063 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.3567, allocations: 0.5338 MB / 0.6068 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3567, allocations: 33.7 kB / 0.6068 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.3569, allocations: 384.2 kB / 0.6072 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.357, allocations: 150.7 kB / 0.6074 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3572, allocations: 154.6 kB / 0.6075 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3573, allocations: 370.7 kB / 0.6079 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.3575, allocations: 205.9 kB / 0.6081 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.3581, allocations: 0.5919 MB / 0.6086 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.3587, allocations: 0.7477 MB / 0.6094 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3587, allocations: 0 / 0.6094 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008805/0.3596, allocations: 0.8719 MB / 0.6102 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3596, allocations: 12 kB / 0.6102 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.3596, allocations: 14.19 kB / 0.6102 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007233/0.3604, allocations: 320.6 kB / 0.6105 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3606, allocations: 119.8 kB / 0.6107 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007311/0.3613, allocations: 0.9294 MB / 0.6116 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3615, allocations: 28 kB / 0.6116 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.3616, allocations: 67.98 kB / 0.6117 GB, free: 8.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0002382/0.3618, allocations: 249.5 kB / 0.6119 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.3619, allocations: 67.52 kB / 0.612 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000957/0.3629, allocations: 0.8607 MB / 0.6128 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3629, allocations: 4 kB / 0.6128 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3629, allocations: 3.984 kB / 0.6128 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3629, allocations: 0 / 0.6128 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.364, allocations: 1.083 MB / 0.6139 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.364, allocations: 8.188 kB / 0.6139 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.3646, allocations: 203.8 kB / 0.6141 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.574e-05/0.3646, allocations: 28.83 kB / 0.6141 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.3647, allocations: 22.62 kB / 0.6141 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.3662, allocations: 2.623 MB / 0.6167 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3662, allocations: 7.969 kB / 0.6167 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.3669, allocations: 0.7991 MB / 0.6175 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3671, allocations: 107.7 kB / 0.6176 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3671, allocations: 15.92 kB / 0.6176 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3673, allocations: 16.88 kB / 0.6176 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.3673, allocations: 43.88 kB / 0.6176 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.3674, allocations: 43.98 kB / 0.6177 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002663/0.3677, allocations: 358.8 kB / 0.618 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3677, allocations: 0 / 0.618 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006114/0.3683, allocations: 251.8 kB / 0.6183 GB, free: 1.445 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * 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.0004808/0.3687, allocations: 295.8 kB / 0.6185 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007063/0.3695, allocations: 0.5276 MB / 0.6191 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3695, allocations: 7.953 kB / 0.6191 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.37, allocations: 394.9 kB / 0.6194 GB, free: 220 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008165/0.3708, allocations: 309.9 kB / 0.6197 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3723, allocations: 1.289 MB / 0.621 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3725, allocations: 324.3 kB / 0.6213 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.3727, allocations: 132.4 kB / 0.6214 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of SimCode: time 7.82e-07/0.3727, allocations: 4 kB / 0.6214 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.1946/0.5673, allocations: 16.12 MB / 0.6372 GB, free: 165.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.22456287778914]