Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 190.1 kB / 22.93 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 51.92 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 49.13 MB / 394.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03185/0.2765, allocations: 26.83 MB / 421.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.2798, allocations: 2.247 MB / 423.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.2799, allocations: 1.156 kB / 423.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.2803, allocations: 60.48 kB / 423.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.2807, allocations: 159.9 kB / 423.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02224/0.303, allocations: 6.167 MB / 430 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.3038, allocations: 317 kB / 430.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.3039, allocations: 6.094 kB / 430.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.3044, allocations: 134.8 kB / 430.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.3047, allocations: 132.5 kB / 430.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.3047, allocations: 12.41 kB / 430.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/0.3245, allocations: 9.525 MB / 440.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3247, allocations: 67.84 kB / 440.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.3249, allocations: 95.58 kB / 440.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3357, allocations: 4.685 MB / 444.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3357, allocations: 0 / 444.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3357, allocations: 0 / 444.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3357, allocations: 0 / 444.9 MB, free: 1.352 MB / 350.1 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.003416/0.3391, allocations: 1.146 MB / 446.1 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3391, allocations: 8.031 kB / 446.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3393, allocations: 28.55 kB / 446.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3396, allocations: 214.8 kB / 446.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3396, allocations: 12.33 kB / 446.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.3397, allocations: 20 kB / 446.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/0.3404, allocations: 285.4 kB / 446.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3404, allocations: 0 / 446.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3405, allocations: 8 kB / 446.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3405, allocations: 8 kB / 446.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.3413, allocations: 315.6 kB / 447 MB, free: 15.22 MB / 366.1 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.001553/0.3429, allocations: 0.8322 MB / 447.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.3436, allocations: 237.1 kB / 448 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.3439, allocations: 133.6 kB / 448.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/0.3619, allocations: 12.85 MB / 461 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.3619, allocations: 46.5 kB / 461 MB, free: 14.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.3619, allocations: 0 / 461 MB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002966/0.3649, allocations: 0.6807 MB / 461.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.365, allocations: 81.11 kB / 461.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3651, allocations: 133.8 kB / 461.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3651, allocations: 29.7 kB / 462 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.3652, allocations: 112.9 kB / 462.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3653, allocations: 130.9 kB / 462.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3655, allocations: 73.64 kB / 462.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3656, allocations: 330.8 kB / 462.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.366, allocations: 135.9 kB / 462.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.3665, allocations: 207.5 kB / 462.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000963/0.3675, allocations: 363.5 kB / 463.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3675, allocations: 0 / 463.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001225/0.3687, allocations: 417.3 kB / 463.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3687, allocations: 8 kB / 463.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3688, allocations: 0 / 463.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3688, allocations: 4 kB / 463.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.3693, allocations: 96.09 kB / 463.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3693, allocations: 7.938 kB / 463.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.3696, allocations: 31.86 kB / 463.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.3697, allocations: 16 kB / 463.9 MB, free: 11.57 MB / 382.1 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.000164/0.3698, allocations: 145.7 kB / 464 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.37, allocations: 15.91 kB / 464 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.3705, allocations: 186.8 kB / 464.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3705, allocations: 7.938 kB / 464.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3705, allocations: 11.88 kB / 464.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.3705, allocations: 3.984 kB / 464.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.3723, allocations: 0.7713 MB / 465 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3723, allocations: 3.984 kB / 465 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.3728, allocations: 75.89 kB / 465.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.3728, allocations: 7.984 kB / 465.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.3728, allocations: 15.98 kB / 465.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3728, allocations: 0 / 465.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3728, allocations: 4.156 kB / 465.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.3744, allocations: 0.7103 MB / 465.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3746, allocations: 117 kB / 465.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.3746, allocations: 8.062 kB / 465.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.375, allocations: 27.97 kB / 466 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.375, allocations: 27.91 kB / 466 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.3751, allocations: 20 kB / 466 MB, free: 9.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.847e-05/0.3752, allocations: 99.25 kB / 466.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3752, allocations: 0 / 466.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002679/0.3778, allocations: 0.9355 MB / 467 MB, free: 8.254 MB / 382.1 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 (37): * Single equations (assignments): 37 * 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.005026/0.3829, allocations: 1.267 MB / 468.3 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.384, allocations: 327.7 kB / 468.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.384, allocations: 0 / 468.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.3845, allocations: 180.4 kB / 468.8 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.3854, allocations: 95.83 kB / 468.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.387, allocations: 0.6161 MB / 469.5 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.3875, allocations: 0.7293 MB / 470.2 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.3878, allocations: 85.89 kB / 470.3 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.388, allocations: 39.42 kB / 470.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.388, allocations: 0 / 470.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of Templates: time 0.04917/0.4372, allocations: 31.05 MB / 0.4897 GB, free: 5.738 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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: 6.0967317363247275]