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.00112/0.00112, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002788, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001119/0.001119, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002563, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9774/0.9774, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1075/1.085, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2607/0.2607, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02298/0.2837, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.433e-06/1.433e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.211e-05, allocations: 6.312 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1408/0.1409, allocations: 148.6 MB / 441.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.198/0.3389, allocations: 2.639 MB / 443.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.3396, allocations: 27.53 kB / 443.9 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.3401, allocations: 218.3 kB / 444.1 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.3424, allocations: 1.056 MB / 445.1 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3438, allocations: 0.8119 MB / 445.9 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.3456, allocations: 1.925 MB / 447.9 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.3461, allocations: 415.1 kB / 448.3 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.3475, allocations: 1.185 MB / 449.5 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007239/0.3482, allocations: 0.5603 MB / 450 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.3483, allocations: 58.59 kB / 450.1 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008098/0.3491, allocations: 484.4 kB / 450.5 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.3493, allocations: 230.5 kB / 450.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.3496, allocations: 230.7 kB / 451 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3506, allocations: 0.8705 MB / 451.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.3506, allocations: 0.9375 kB / 451.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3506, allocations: 3.938 kB / 451.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.3506, allocations: 2.906 kB / 451.9 MB, free: 3.457 MB / 426.7 MB 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.001597/0.3522, allocations: 1.236 MB / 453.1 MB, free: 18.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3523, allocations: 8.719 kB / 453.1 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.3528, allocations: 215.2 kB / 453.3 MB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.3533, allocations: 416.4 kB / 453.7 MB, free: 18.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.3534, allocations: 158.5 kB / 453.9 MB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.3534, allocations: 57.69 kB / 453.9 MB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.354, allocations: 0.8904 MB / 454.8 MB, free: 17.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.354, allocations: 3.094 kB / 454.8 MB, free: 17.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.3541, allocations: 25.03 kB / 454.9 MB, free: 17.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.3541, allocations: 43.12 kB / 454.9 MB, free: 17.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.3544, allocations: 224.1 kB / 455.1 MB, free: 17.84 MB / 442.7 MB 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.001975/0.3564, allocations: 2.655 MB / 457.8 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3566, allocations: 178.5 kB / 458 MB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3566, allocations: 63.11 kB / 458 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3568, allocations: 43.28 kB / 458.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3568, allocations: 40.81 kB / 458.1 MB, free: 15.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.272e-06/0.3568, allocations: 0.9688 kB / 458.1 MB, free: 15.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.001937/0.3587, allocations: 0.9026 MB / 459 MB, free: 15.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.3587, allocations: 59 kB / 459.1 MB, free: 15.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.359, allocations: 479 kB / 459.5 MB, free: 15.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.359, allocations: 32.52 kB / 459.6 MB, free: 15.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3592, allocations: 347.3 kB / 459.9 MB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.3592, allocations: 153.3 kB / 460 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3593, allocations: 138.6 kB / 460.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.3594, allocations: 385 kB / 460.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.3595, allocations: 63.48 kB / 460.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.3597, allocations: 0.4886 MB / 461.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.3601, allocations: 0.5274 MB / 461.6 MB, free: 13.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3601, allocations: 3.469 kB / 461.6 MB, free: 13.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004863/0.3606, allocations: 495 kB / 462.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3606, allocations: 9.312 kB / 462.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3606, allocations: 12.16 kB / 462.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.3611, allocations: 217 kB / 462.4 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3613, allocations: 147.8 kB / 462.5 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/0.3617, allocations: 0.6801 MB / 463.2 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3619, allocations: 25.5 kB / 463.2 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.362, allocations: 53.83 kB / 463.3 MB, free: 13.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.000148/0.3621, allocations: 165.4 kB / 463.4 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.3622, allocations: 47.89 kB / 463.5 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.3628, allocations: 0.5675 MB / 464 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3628, allocations: 6.531 kB / 464 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.3628, allocations: 0 / 464 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3628, allocations: 7.844 kB / 464 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.3636, allocations: 0.7209 MB / 464.8 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3636, allocations: 2.906 kB / 464.8 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.3641, allocations: 195.7 kB / 465 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.3641, allocations: 69.62 kB / 465 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.569e-05/0.3642, allocations: 19.09 kB / 465 MB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3642, allocations: 21.27 kB / 465.1 MB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.3652, allocations: 2.399 MB / 467.5 MB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3652, allocations: 2.438 kB / 467.5 MB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3656, allocations: 469 kB / 467.9 MB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3657, allocations: 13.62 kB / 467.9 MB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.3658, allocations: 16.38 kB / 468 MB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.3659, allocations: 40.2 kB / 468 MB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.3659, allocations: 23.62 kB / 468 MB, free: 9.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3661, allocations: 204.9 kB / 468.2 MB, free: 9.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3661, allocations: 0.9062 kB / 468.2 MB, free: 9.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000498/0.3666, allocations: 243.6 kB / 468.5 MB, free: 9.934 MB / 442.7 MB 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 (38): * Single equations (assignments): 36 * 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.0003522/0.3669, allocations: 236.1 kB / 468.7 MB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.3673, allocations: 336.2 kB / 469 MB, free: 9.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/0.3673, allocations: 9.438 kB / 469 MB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.3677, allocations: 301 kB / 469.3 MB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.3684, allocations: 390.2 kB / 469.7 MB, free: 9.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007105/0.3755, allocations: 1.154 MB / 470.9 MB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.593e-05/0.3756, allocations: 167.3 kB / 471 MB, free: 9.008 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005131/0.3761, allocations: 353.7 kB / 471.4 MB, free: 8.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.3766, allocations: 314.7 kB / 471.7 MB, free: 8.918 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3766, allocations: 0 / 471.7 MB, free: 8.918 MB / 442.7 MB Notification: Performance of Templates: time 0.01847/0.395, allocations: 16.52 MB / 488.2 MB, free: 6.461 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.639960642904043]