Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.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.001872/0.001872, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002031/0.002031, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.857e-05, allocations: 2.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3201/0.3201, allocations: 147.1 MB / 419.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3228, allocations: 1.582 MB / 421 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.3229, allocations: 4 kB / 421 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.3233, allocations: 62.42 kB / 421.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.3239, allocations: 177 kB / 421.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.3276, allocations: 1.065 MB / 422.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.3281, allocations: 362.4 kB / 422.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.3282, allocations: 9.812 kB / 422.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.3286, allocations: 219.4 kB / 422.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.3289, allocations: 115.7 kB / 423 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.3289, allocations: 12 kB / 423 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.3318, allocations: 1.376 MB / 424.4 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3319, allocations: 75.84 kB / 424.5 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.332, allocations: 79.83 kB / 424.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.334, allocations: 1.137 MB / 425.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.334, allocations: 0 / 425.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.334, allocations: 0 / 425.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.334, allocations: 0 / 425.7 MB, free: 8.359 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001746/0.3358, allocations: 0.7252 MB / 426.4 MB, free: 7.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3358, allocations: 8.031 kB / 426.4 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.336, allocations: 36.78 kB / 426.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3363, allocations: 168.5 kB / 426.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3363, allocations: 16.27 kB / 426.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3364, allocations: 19.95 kB / 426.6 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.337, allocations: 341.9 kB / 427 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.337, allocations: 0 / 427 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.337, allocations: 4 kB / 427 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.3371, allocations: 8 kB / 427 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.3376, allocations: 203.8 kB / 427.2 MB, free: 6.746 MB / 378.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.001579/0.3392, allocations: 0.7058 MB / 427.9 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3398, allocations: 214.9 kB / 428.1 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.3401, allocations: 115.3 kB / 428.2 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.3404, allocations: 53.08 kB / 428.3 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3404, allocations: 37.39 kB / 428.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.3404, allocations: 0 / 428.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002285/0.3427, allocations: 0.6084 MB / 428.9 MB, free: 4.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3427, allocations: 85.11 kB / 429 MB, free: 4.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3429, allocations: 212 kB / 429.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.3431, allocations: 29.7 kB / 429.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3432, allocations: 159.7 kB / 429.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.3433, allocations: 138.9 kB / 429.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.3435, allocations: 75.34 kB / 429.6 MB, free: 4.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.3438, allocations: 0.504 MB / 430.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.3441, allocations: 119.9 kB / 430.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.3448, allocations: 217.1 kB / 430.4 MB, free: 3.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.3456, allocations: 353.4 kB / 430.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3456, allocations: 0.625 kB / 430.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009298/0.3465, allocations: 385.2 kB / 431.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3466, allocations: 4 kB / 431.2 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3466, allocations: 4.219 kB / 431.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3466, allocations: 8 kB / 431.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.3471, allocations: 79.89 kB / 431.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3471, allocations: 7.375 kB / 431.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.3474, allocations: 23.88 kB / 431.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.3474, allocations: 16 kB / 431.3 MB, free: 2.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.3476, allocations: 188.4 kB / 431.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3477, allocations: 31.84 kB / 431.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.3481, allocations: 171.7 kB / 431.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3481, allocations: 7.984 kB / 431.7 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3481, allocations: 4 kB / 431.7 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3481, allocations: 0 / 431.7 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3499, allocations: 0.6992 MB / 432.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3499, allocations: 4 kB / 432.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.3503, allocations: 75.83 kB / 432.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3503, allocations: 4 kB / 432.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.3503, allocations: 11.98 kB / 432.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3504, allocations: 4 kB / 432.5 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3504, allocations: 8.094 kB / 432.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3518, allocations: 0.7597 MB / 433.3 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3519, allocations: 43.86 kB / 433.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.352, allocations: 8 kB / 433.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.3523, allocations: 15.98 kB / 433.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.3524, allocations: 35.83 kB / 433.4 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.3524, allocations: 16.02 kB / 433.4 MB, free: 212 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3525, allocations: 150 kB / 433.5 MB, free: 64 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3525, allocations: 0 / 433.5 MB, free: 64 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.1112/0.4638, allocations: 154.9 kB / 433.7 MB, free: 139.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005199/0.4643, allocations: 238.4 kB / 433.9 MB, free: 139.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008079/0.4651, allocations: 314.2 kB / 434.2 MB, free: 139.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4651, allocations: 3.438 kB / 434.2 MB, free: 139.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.4655, allocations: 177.9 kB / 434.4 MB, free: 139.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.4662, allocations: 113.8 kB / 434.5 MB, free: 139.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.4674, allocations: 0.5632 MB / 435.1 MB, free: 139.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4676, allocations: 127.3 kB / 435.2 MB, free: 139 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.4679, allocations: 78.78 kB / 435.3 MB, free: 139 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.468, allocations: 36.98 kB / 435.3 MB, free: 139 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.468, allocations: 0 / 435.3 MB, free: 139 MB / 378.7 MB Notification: Performance of Templates: time 0.01232/0.4803, allocations: 6.531 MB / 441.8 MB, free: 137.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.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: 5.050162446917966]