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.001319/0.001319, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009509/0.0009509, allocations: 169.5 kB / 25.75 MB, free: 8.582 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.8099/0.8099, allocations: 158.6 MB / 187.5 MB, free: 2.953 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 2.906e-06/2.906e-06, allocations: 3.984 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.494e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02117/0.02119, allocations: 26.42 MB / 277.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.02304, allocations: 2.216 MB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.0231, allocations: 3.938 kB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.02339, allocations: 63.55 kB / 279.8 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.02365, allocations: 151.1 kB / 280 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008809/0.03246, allocations: 6.244 MB / 286.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.03275, allocations: 314.7 kB / 286.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.03279, allocations: 5.312 kB / 286.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.03297, allocations: 175.6 kB / 286.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.03313, allocations: 111.6 kB / 286.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.03315, allocations: 12 kB / 286.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009013/0.04217, allocations: 8.88 MB / 295.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.04225, allocations: 67.86 kB / 295.7 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/0.04233, allocations: 83.83 kB / 295.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005709/0.04803, allocations: 5.795 MB / 301.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.04804, allocations: 0 / 301.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.04804, allocations: 0 / 301.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.04804, allocations: 3.938 kB / 301.6 MB, free: 5.113 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.001796/0.04984, allocations: 1.143 MB / 302.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.04987, allocations: 15.98 kB / 302.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.05, allocations: 44.48 kB / 302.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.05018, allocations: 159.8 kB / 303 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.05019, allocations: 16.27 kB / 303 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.05022, allocations: 16 kB / 303 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.05061, allocations: 326.7 kB / 303.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.05062, allocations: 11.95 kB / 303.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.05064, allocations: 8 kB / 303.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.05067, allocations: 8 kB / 303.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.05094, allocations: 159.8 kB / 303.5 MB, free: 3.109 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.000834/0.05178, allocations: 0.6889 MB / 304.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.05214, allocations: 226.1 kB / 304.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.05225, allocations: 99.27 kB / 304.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005232/0.05748, allocations: 2.723 MB / 307.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.05751, allocations: 41.39 kB / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.05751, allocations: 0 / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.00119/0.0587, allocations: 0.5229 MB / 307.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.05873, allocations: 81.11 kB / 307.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.05882, allocations: 185.9 kB / 308.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.05885, allocations: 29.7 kB / 308.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.0589, allocations: 163.6 kB / 308.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.05898, allocations: 134.8 kB / 308.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.05906, allocations: 75.34 kB / 308.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.05917, allocations: 0.504 MB / 309 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.05929, allocations: 79.95 kB / 309.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.05947, allocations: 177.1 kB / 309.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.05982, allocations: 285 kB / 309.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.05982, allocations: 3.938 kB / 309.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004906/0.06031, allocations: 341 kB / 309.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.06032, allocations: 8 kB / 309.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.06033, allocations: 0 / 309.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.06034, allocations: 4.219 kB / 309.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.06057, allocations: 91.83 kB / 309.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.06058, allocations: 4 kB / 309.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.06069, allocations: 23.88 kB / 310 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.06072, allocations: 19.98 kB / 310 MB, free: 12.4 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.812e-05/0.06082, allocations: 176.5 kB / 310.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.06092, allocations: 51.66 kB / 310.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.0612, allocations: 166.4 kB / 310.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.0612, allocations: 4 kB / 310.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.0612, allocations: 0 / 310.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.06121, allocations: 0 / 310.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.06193, allocations: 0.6282 MB / 311 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.06193, allocations: 4 kB / 311 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.06211, allocations: 75.89 kB / 311.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.06212, allocations: 3.938 kB / 311.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.06214, allocations: 15.98 kB / 311.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.06214, allocations: 3.938 kB / 311.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.06215, allocations: 4 kB / 311.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.06278, allocations: 0.6662 MB / 311.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.06285, allocations: 47.73 kB / 311.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.06288, allocations: 19.94 kB / 311.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.06302, allocations: 15.98 kB / 311.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.06306, allocations: 31.94 kB / 311.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.06308, allocations: 12 kB / 311.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.06312, allocations: 143.1 kB / 312 MB, free: 10.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06312, allocations: 0 / 312 MB, free: 10.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001467/0.06459, allocations: 0.9355 MB / 313 MB, free: 9.281 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.002438/0.06703, allocations: 1.409 MB / 314.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.0674, allocations: 255.1 kB / 314.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.0674, allocations: 0 / 314.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.06758, allocations: 155.7 kB / 314.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.06801, allocations: 107.8 kB / 314.9 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.06903, allocations: 0.5188 MB / 315.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.06909, allocations: 85.33 kB / 315.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.06929, allocations: 77.88 kB / 315.6 MB, free: 6.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.06938, allocations: 40.48 kB / 315.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of SimCode: time 1.031e-06/0.06938, allocations: 0 / 315.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of Templates: time 0.02675/0.09614, allocations: 31.96 MB / 347.6 MB, free: 6.582 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: 3.6577982988674194]