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.0009625/0.0009625, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009753/0.0009753, allocations: 169.8 kB / 25.33 MB, free: 8.023 MB / 18.57 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.8893/0.8893, allocations: 158.6 MB / 187.2 MB, free: 2.941 MB / 170.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.202e-06/1.202e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.453e-05, allocations: 6.109 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02232/0.02234, allocations: 26.47 MB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.02427, allocations: 2.224 MB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.02433, allocations: 3.938 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.02465, allocations: 59.59 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.02494, allocations: 155.1 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01018/0.03512, allocations: 6.24 MB / 286.2 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.03543, allocations: 318.7 kB / 286.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.03547, allocations: 13.3 kB / 286.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.03565, allocations: 175.5 kB / 286.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.03582, allocations: 111.7 kB / 286.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.03585, allocations: 12 kB / 286.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.04608, allocations: 8.884 MB / 295.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.04617, allocations: 67.86 kB / 295.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.04625, allocations: 75.81 kB / 295.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006256/0.05251, allocations: 5.803 MB / 301.6 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.05251, allocations: 4 kB / 301.6 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.05252, allocations: 0 / 301.6 MB, free: 4.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.05252, allocations: 3.938 kB / 301.6 MB, free: 4.766 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.00165/0.05417, allocations: 1.143 MB / 302.8 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.05421, allocations: 11.98 kB / 302.8 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.05434, allocations: 44.48 kB / 302.8 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.05451, allocations: 163.8 kB / 303 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.05452, allocations: 12.33 kB / 303 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.05456, allocations: 20 kB / 303 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.05497, allocations: 330.7 kB / 303.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.05498, allocations: 3.953 kB / 303.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.055, allocations: 11.98 kB / 303.4 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.05503, allocations: 4 kB / 303.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.05529, allocations: 151.9 kB / 303.5 MB, free: 2.773 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.001099/0.05639, allocations: 0.6967 MB / 304.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.05674, allocations: 230.1 kB / 304.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.05685, allocations: 91.28 kB / 304.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005144/0.062, allocations: 2.727 MB / 307.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.06202, allocations: 49.33 kB / 307.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.512e-06/0.06203, allocations: 0 / 307.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001156/0.06318, allocations: 0.5274 MB / 307.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.06322, allocations: 81.11 kB / 307.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.0633, allocations: 177.9 kB / 308.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.06333, allocations: 33.7 kB / 308.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.06339, allocations: 159.7 kB / 308.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.06346, allocations: 134.8 kB / 308.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/0.06354, allocations: 79.33 kB / 308.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.06366, allocations: 0.5001 MB / 309 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.06377, allocations: 79.95 kB / 309.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.06395, allocations: 177.1 kB / 309.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.06428, allocations: 277.1 kB / 309.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.06428, allocations: 7.938 kB / 309.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004876/0.06477, allocations: 345 kB / 309.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.06479, allocations: 4 kB / 309.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.06479, allocations: 4 kB / 309.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.06481, allocations: 4 kB / 309.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.06503, allocations: 79.88 kB / 309.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.06504, allocations: 7.938 kB / 309.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.06516, allocations: 27.89 kB / 310 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.06518, allocations: 20.2 kB / 310 MB, free: 12.05 MB / 298.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 9.552e-05/0.06528, allocations: 176.5 kB / 310.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.06538, allocations: 51.66 kB / 310.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.06566, allocations: 158.5 kB / 310.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.06567, allocations: 8 kB / 310.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.06567, allocations: 4 kB / 310.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.06568, allocations: 3.984 kB / 310.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.06641, allocations: 0.6243 MB / 311 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.06641, allocations: 0 / 311 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.0666, allocations: 80.05 kB / 311.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.0666, allocations: 7.938 kB / 311.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.06663, allocations: 11.98 kB / 311.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.06663, allocations: 7.984 kB / 311.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.06663, allocations: 0 / 311.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.06748, allocations: 0.6732 MB / 311.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.06755, allocations: 59.7 kB / 311.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.06757, allocations: 8 kB / 311.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.06772, allocations: 19.98 kB / 311.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.06775, allocations: 23.89 kB / 311.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.06777, allocations: 19.98 kB / 311.9 MB, free: 10 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.06782, allocations: 139.1 kB / 312 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06782, allocations: 0 / 312 MB, free: 9.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001339/0.06916, allocations: 0.9355 MB / 313 MB, free: 8.93 MB / 298.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.002477/0.07164, allocations: 1.397 MB / 314.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.07202, allocations: 263.5 kB / 314.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.07202, allocations: 0 / 314.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.07219, allocations: 147.5 kB / 314.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.07264, allocations: 104.1 kB / 314.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.07368, allocations: 0.5187 MB / 315.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.07375, allocations: 85.33 kB / 315.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.07395, allocations: 85.88 kB / 315.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.07405, allocations: 36.47 kB / 315.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.07405, allocations: 0 / 315.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Templates: time 0.02737/0.1014, allocations: 31.97 MB / 347.6 MB, free: 6.227 MB / 330.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 -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: 4.023667536210269]