Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001367/0.001367, allocations: 113 kB / 19.04 MB, free: 3.254 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.00152/0.00152, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2335, allocations: 52.14 MB / 420.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03418/0.2677, allocations: 26.67 MB / 447.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.2707, allocations: 2.243 MB / 449.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.2707, allocations: 4 kB / 449.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.2711, allocations: 67.64 kB / 449.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.2715, allocations: 159.1 kB / 450 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01622/0.2877, allocations: 6.526 MB / 456.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.2882, allocations: 310.9 kB / 456.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.2882, allocations: 13.09 kB / 456.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.2885, allocations: 139.5 kB / 457 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.2887, allocations: 123.5 kB / 457.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2887, allocations: 12 kB / 457.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/0.3069, allocations: 9.635 MB / 466.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3071, allocations: 71.78 kB / 466.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3073, allocations: 95.64 kB / 466.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.3196, allocations: 4.704 MB / 471.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3196, allocations: 0 / 471.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3196, allocations: 0 / 471.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3196, allocations: 0 / 471.6 MB, free: 12.35 MB / 382.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.003605/0.3232, allocations: 1.158 MB / 472.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3233, allocations: 8.031 kB / 472.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3234, allocations: 28.58 kB / 472.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.3237, allocations: 210.9 kB / 473 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3237, allocations: 16.31 kB / 473 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.3238, allocations: 20 kB / 473 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.3245, allocations: 289.4 kB / 473.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3246, allocations: 0 / 473.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.3246, allocations: 7.938 kB / 473.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.3246, allocations: 8 kB / 473.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.3254, allocations: 319.6 kB / 473.7 MB, free: 10.2 MB / 382.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.001588/0.327, allocations: 0.8207 MB / 474.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.3278, allocations: 237.3 kB / 474.7 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.3281, allocations: 137.5 kB / 474.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01743/0.3455, allocations: 12.84 MB / 487.7 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.3456, allocations: 42.56 kB / 487.7 MB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.933e-06/0.3456, allocations: 0 / 487.7 MB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002938/0.3485, allocations: 0.6949 MB / 488.4 MB, free: 8.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3486, allocations: 81.11 kB / 488.5 MB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3487, allocations: 133.7 kB / 488.6 MB, free: 8.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.3487, allocations: 33.7 kB / 488.7 MB, free: 8.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.3488, allocations: 108.9 kB / 488.8 MB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3489, allocations: 126.9 kB / 488.9 MB, free: 8.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3491, allocations: 77.62 kB / 489 MB, free: 8.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3492, allocations: 330.8 kB / 489.3 MB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3496, allocations: 127.9 kB / 489.4 MB, free: 7.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.3501, allocations: 215.5 kB / 489.6 MB, free: 7.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009661/0.3511, allocations: 358.1 kB / 490 MB, free: 7.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3511, allocations: 0 / 490 MB, free: 7.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001196/0.3523, allocations: 417.2 kB / 490.4 MB, free: 6.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3523, allocations: 8 kB / 490.4 MB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.3523, allocations: 7.922 kB / 490.4 MB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3523, allocations: 7.984 kB / 490.4 MB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3528, allocations: 95.81 kB / 490.5 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.3528, allocations: 12.16 kB / 490.5 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.3531, allocations: 23.92 kB / 490.5 MB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.3532, allocations: 19.98 kB / 490.6 MB, free: 6.555 MB / 398.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.0001495/0.3533, allocations: 137.8 kB / 490.7 MB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3535, allocations: 19.89 kB / 490.7 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.354, allocations: 186.2 kB / 490.9 MB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.354, allocations: 11.92 kB / 490.9 MB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.354, allocations: 4 kB / 490.9 MB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.354, allocations: 0 / 490.9 MB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3558, allocations: 0.7635 MB / 491.7 MB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3558, allocations: 0 / 491.7 MB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3562, allocations: 83.88 kB / 491.8 MB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3562, allocations: 4 kB / 491.8 MB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.3563, allocations: 12 kB / 491.8 MB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.3563, allocations: 7.922 kB / 491.8 MB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3563, allocations: 4 kB / 491.8 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3578, allocations: 0.7039 MB / 492.5 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.358, allocations: 121 kB / 492.6 MB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.358, allocations: 8 kB / 492.6 MB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.3584, allocations: 24.05 kB / 492.6 MB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3584, allocations: 27.91 kB / 492.7 MB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.3585, allocations: 19.98 kB / 492.7 MB, free: 4.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.3585, allocations: 95.27 kB / 492.8 MB, free: 4.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3585, allocations: 0 / 492.8 MB, free: 4.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002491/0.361, allocations: 0.9471 MB / 493.7 MB, free: 3.25 MB / 398.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.003769/0.3648, allocations: 1.264 MB / 495 MB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3658, allocations: 327.4 kB / 495.3 MB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3658, allocations: 4 kB / 495.3 MB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.3663, allocations: 176.4 kB / 495.5 MB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.367, allocations: 88.66 kB / 495.6 MB, free: 1.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3684, allocations: 0.6122 MB / 496.2 MB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3688, allocations: 0.7371 MB / 496.9 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003564/0.3691, allocations: 85.89 kB / 497 MB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3693, allocations: 39.42 kB / 497 MB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3693, allocations: 0 / 497 MB, free: 15.85 MB / 414.1 MB Notification: Performance of Templates: time 0.04249/0.4118, allocations: 29.62 MB / 0.5143 GB, free: 2.258 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.0216111754998565]