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.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.001064/0.001064, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006539/0.007603, allocations: 445.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.001008/0.001008, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002295, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8541/0.8541, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1409/0.9949, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.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.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: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.17e-05, allocations: 6.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02601/0.02603, allocations: 26.54 MB / 248.4 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.0281, allocations: 2.254 MB / 250.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.02818, allocations: 4 kB / 250.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.02845, allocations: 55.66 kB / 250.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.02872, allocations: 158.9 kB / 250.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.03979, allocations: 5.686 MB / 256.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.04015, allocations: 314.7 kB / 256.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.0402, allocations: 21.72 kB / 256.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.04044, allocations: 183.5 kB / 257 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.04061, allocations: 107.7 kB / 257.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.04063, allocations: 8 kB / 257.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/0.05327, allocations: 9.404 MB / 266.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.05339, allocations: 51.91 kB / 266.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.05352, allocations: 59.88 kB / 266.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009881/0.0634, allocations: 4.468 MB / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.06341, allocations: 4 kB / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.06341, allocations: 0 / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.06343, allocations: 4 kB / 271.1 MB, free: 14.71 MB / 282.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.002852/0.06628, allocations: 1.484 MB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.06631, allocations: 8.031 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.06646, allocations: 40.59 kB / 272.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.06664, allocations: 153 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.06666, allocations: 20.25 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.06669, allocations: 16 kB / 272.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.06706, allocations: 303.8 kB / 273.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.06708, allocations: 4 kB / 273.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.06709, allocations: 8 kB / 273.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.06712, allocations: 11.94 kB / 273.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.06733, allocations: 116.6 kB / 273.3 MB, free: 12.45 MB / 282.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.000725/0.06806, allocations: 0.5124 MB / 273.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.06837, allocations: 185 kB / 274 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.06844, allocations: 61.69 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004713/0.07316, allocations: 2.575 MB / 276.6 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.0732, allocations: 46.5 kB / 276.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.0732, allocations: 0 / 276.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009117/0.07411, allocations: 405.5 kB / 277.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.07415, allocations: 85.11 kB / 277.1 MB, free: 8.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.07422, allocations: 122.7 kB / 277.3 MB, free: 8.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.07424, allocations: 37.7 kB / 277.3 MB, free: 8.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.07428, allocations: 108.9 kB / 277.4 MB, free: 8.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.07435, allocations: 138.8 kB / 277.5 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.07442, allocations: 65.62 kB / 277.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.0745, allocations: 330.8 kB / 277.9 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.07457, allocations: 50.81 kB / 278 MB, free: 7.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.0747, allocations: 135.5 kB / 278.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.07493, allocations: 213.2 kB / 278.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.07493, allocations: 4 kB / 278.3 MB, free: 7.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003253/0.07525, allocations: 246.4 kB / 278.6 MB, free: 6.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.07527, allocations: 4 kB / 278.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.07528, allocations: 4 kB / 278.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.07529, allocations: 7.984 kB / 278.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.07552, allocations: 95.88 kB / 278.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.07552, allocations: 7.938 kB / 278.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.07562, allocations: 31.86 kB / 278.7 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.07565, allocations: 12.22 kB / 278.7 MB, free: 6.816 MB / 282.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 8.274e-05/0.07573, allocations: 136.5 kB / 278.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.07582, allocations: 39.78 kB / 278.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.07603, allocations: 140.2 kB / 279 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.07603, allocations: 4 kB / 279 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.07604, allocations: 0 / 279 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.07604, allocations: 0 / 279 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.0766, allocations: 458.5 kB / 279.5 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0766, allocations: 4 kB / 279.5 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.07679, allocations: 88.03 kB / 279.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.07685, allocations: 31.88 kB / 279.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.07685, allocations: 8 kB / 279.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.07687, allocations: 15.92 kB / 279.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.07687, allocations: 4 kB / 279.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.07687, allocations: 0 / 279.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.07731, allocations: 490.4 kB / 280.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.07734, allocations: 7.984 kB / 280.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.07746, allocations: 15.94 kB / 280.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.07749, allocations: 31.89 kB / 280.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.07751, allocations: 15.98 kB / 280.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.911e-05/0.07753, allocations: 20.78 kB / 280.2 MB, free: 5.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07753, allocations: 0 / 280.2 MB, free: 5.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001941/0.07947, allocations: 0.9705 MB / 281.2 MB, free: 4.273 MB / 282.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 (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.00294/0.08241, allocations: 1.534 MB / 282.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.0827, allocations: 204.2 kB / 282.9 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.08271, allocations: 4 kB / 282.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.08283, allocations: 112.3 kB / 283 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.08321, allocations: 144 kB / 283.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.08572, allocations: 466.3 kB / 283.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.505e-05/0.08578, allocations: 85.33 kB / 283.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.08599, allocations: 69.84 kB / 283.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.08622, allocations: 137.2 kB / 283.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.08622, allocations: 0 / 283.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of Templates: time 0.1294/0.2156, allocations: 37.85 MB / 321.8 MB, free: 8.672 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] 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","",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.812399339862168]