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.001266/0.001266, allocations: 111 kB / 21.18 MB, free: 0.668 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.002103/0.002103, allocations: 209 kB / 24.48 MB, free: 3.969 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2281/0.2281, allocations: 46.96 MB / 361.6 MB, free: 4.066 MB / 286.1 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 0.001978/0.001978, allocations: 75.88 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3582, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2003/0.5586, allocations: 153.9 MB / 0.7121 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00766/0.5662, allocations: 4.922 MB / 0.7169 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.5667, allocations: 27.75 kB / 0.7169 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.5677, allocations: 306 kB / 0.7172 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.571, allocations: 1.285 MB / 0.7185 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.5735, allocations: 0.989 MB / 0.7194 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.5758, allocations: 1.879 MB / 0.7213 GB, free: 308 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.5764, allocations: 385.6 kB / 0.7216 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.5787, allocations: 1.117 MB / 0.7227 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.5798, allocations: 0.7124 MB / 0.7234 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.5799, allocations: 64 kB / 0.7235 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.5812, allocations: 0.5656 MB / 0.724 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.5815, allocations: 275.1 kB / 0.7243 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.582, allocations: 338.6 kB / 0.7246 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.5838, allocations: 1.297 MB / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5838, allocations: 3.938 kB / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5838, allocations: 0 / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5838, allocations: 4 kB / 0.7259 GB, free: 11.55 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002496/0.5863, allocations: 1.041 MB / 0.7269 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5864, allocations: 12.03 kB / 0.7269 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.5872, allocations: 139.4 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.5883, allocations: 481.4 kB / 0.7275 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.5885, allocations: 151.8 kB / 0.7277 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.5886, allocations: 55.92 kB / 0.7277 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.5903, allocations: 1.139 MB / 0.7288 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.5904, allocations: 4 kB / 0.7288 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.5904, allocations: 24 kB / 0.7289 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.5905, allocations: 44.86 kB / 0.7289 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.5917, allocations: 0.6166 MB / 0.7295 GB, free: 7.617 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.004868/0.5965, allocations: 3.211 MB / 0.7326 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.5971, allocations: 343.7 kB / 0.733 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.5974, allocations: 161.3 kB / 0.7331 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.5975, allocations: 16.25 kB / 0.7331 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.5976, allocations: 42.84 kB / 0.7332 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.5976, allocations: 0 / 0.7332 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005767/0.6033, allocations: 1.59 MB / 0.7347 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.6034, allocations: 140.5 kB / 0.7349 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.6041, allocations: 0.5299 MB / 0.7354 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.6042, allocations: 33.7 kB / 0.7354 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.6045, allocations: 392.2 kB / 0.7358 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.6046, allocations: 150.7 kB / 0.7359 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.6049, allocations: 154.6 kB / 0.7361 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.605, allocations: 374.7 kB / 0.7364 GB, free: 264 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.6054, allocations: 201.9 kB / 0.7366 GB, free: 60 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2477/0.8531, allocations: 0.585 MB / 0.7372 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.8542, allocations: 0.7482 MB / 0.7379 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.8542, allocations: 3.219 kB / 0.7379 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001744/0.856, allocations: 0.8728 MB / 0.7388 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.856, allocations: 13.55 kB / 0.7388 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.856, allocations: 9.688 kB / 0.7388 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.8574, allocations: 317.9 kB / 0.7391 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.8578, allocations: 125.1 kB / 0.7392 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009023/0.8587, allocations: 0.9346 MB / 0.7401 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.8592, allocations: 29.47 kB / 0.7402 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.8593, allocations: 64.92 kB / 0.7402 GB, free: 173.7 MB / 0.5606 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.0003032/0.8596, allocations: 248.7 kB / 0.7405 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.8597, allocations: 61.5 kB / 0.7405 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.8611, allocations: 0.8521 MB / 0.7414 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8611, allocations: 4.438 kB / 0.7414 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8611, allocations: 3.875 kB / 0.7414 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.8611, allocations: 2.062 kB / 0.7414 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.8627, allocations: 1.093 MB / 0.7424 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.8627, allocations: 0 / 0.7424 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.8637, allocations: 215.3 kB / 0.7426 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.8638, allocations: 20.47 kB / 0.7427 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.8639, allocations: 23.55 kB / 0.7427 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.8651, allocations: 2.623 MB / 0.7453 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8651, allocations: 7.969 kB / 0.7453 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.866, allocations: 0.8109 MB / 0.7461 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.8663, allocations: 103.2 kB / 0.7461 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.8663, allocations: 19.59 kB / 0.7462 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.8667, allocations: 22.86 kB / 0.7462 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.8668, allocations: 38.56 kB / 0.7462 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.8669, allocations: 47.55 kB / 0.7463 GB, free: 169 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003003/0.8672, allocations: 358.4 kB / 0.7466 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8672, allocations: 2.734 kB / 0.7466 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008/0.868, allocations: 250.2 kB / 0.7469 GB, free: 168.4 MB / 0.5606 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.000551/0.8685, allocations: 285.4 kB / 0.7471 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009657/0.8695, allocations: 0.5251 MB / 0.7476 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8695, allocations: 4 kB / 0.7476 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008575/0.8703, allocations: 412.5 kB / 0.748 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.8716, allocations: 302.7 kB / 0.7483 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.8731, allocations: 1.341 MB / 0.7496 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.8734, allocations: 336.2 kB / 0.75 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007276/0.8741, allocations: 449 kB / 0.7504 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.8743, allocations: 107.4 kB / 0.7505 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.8743, allocations: 0 / 0.7505 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.01994/0.8943, allocations: 16.93 MB / 0.767 GB, free: 148.2 MB / 0.5606 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/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: 6.072629069007235]