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.001138/0.001138, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.0009883/0.0009883, allocations: 169.7 kB / 25.61 MB, free: 8.449 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.9405/0.9405, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.873e-06/1.873e-06, allocations: 0 / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.727e-05, allocations: 2.312 kB / 251.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02394/0.02396, allocations: 26.08 MB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.02603, allocations: 2.192 MB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.02612, allocations: 0 / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.02645, allocations: 59.66 kB / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.02676, allocations: 159 kB / 280 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01224/0.039, allocations: 6.248 MB / 286.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.0394, allocations: 314.7 kB / 286.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.03944, allocations: 13.3 kB / 286.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.03973, allocations: 179.5 kB / 286.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.03994, allocations: 115.7 kB / 286.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.03997, allocations: 12 kB / 286.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.0521, allocations: 8.877 MB / 295.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.05222, allocations: 79.78 kB / 295.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.05233, allocations: 71.83 kB / 295.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.06328, allocations: 5.799 MB / 301.6 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.06328, allocations: 0 / 301.6 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.06328, allocations: 0 / 301.6 MB, free: 5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.06329, allocations: 0 / 301.6 MB, free: 5 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.002681/0.06597, allocations: 1.151 MB / 302.8 MB, free: 3.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.06601, allocations: 11.98 kB / 302.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.06618, allocations: 40.53 kB / 302.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.06638, allocations: 167.8 kB / 303 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.06639, allocations: 8.328 kB / 303 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.06643, allocations: 20 kB / 303 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.06683, allocations: 322.6 kB / 303.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.06685, allocations: 0 / 303.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.06687, allocations: 4 kB / 303.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.06689, allocations: 8 kB / 303.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.06712, allocations: 131.7 kB / 303.5 MB, free: 3.039 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.0008382/0.06796, allocations: 0.6738 MB / 304.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.06829, allocations: 214.1 kB / 304.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.196e-05/0.06837, allocations: 75.33 kB / 304.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.07359, allocations: 2.528 MB / 307 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.07363, allocations: 41.33 kB / 307 MB, free: 15.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.547e-06/0.07363, allocations: 3.984 kB / 307 MB, free: 15.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001137/0.07477, allocations: 468.6 kB / 307.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.0748, allocations: 85.11 kB / 307.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.07489, allocations: 185.8 kB / 307.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.07492, allocations: 33.7 kB / 307.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.07499, allocations: 159.6 kB / 307.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.07506, allocations: 134.8 kB / 308.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.07515, allocations: 75.31 kB / 308.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.07528, allocations: 0.504 MB / 308.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.07536, allocations: 59.95 kB / 308.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.07553, allocations: 161.1 kB / 308.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.07582, allocations: 252.8 kB / 309.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.07583, allocations: 0 / 309.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004442/0.07627, allocations: 313 kB / 309.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.07629, allocations: 4 kB / 309.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.07629, allocations: 4 kB / 309.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.07631, allocations: 4 kB / 309.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.07653, allocations: 83.89 kB / 309.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.07654, allocations: 4.219 kB / 309.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.07666, allocations: 27.88 kB / 309.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.07668, allocations: 16 kB / 309.6 MB, free: 12.74 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 0.0001073/0.07679, allocations: 184.4 kB / 309.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.0769, allocations: 43.72 kB / 309.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.07717, allocations: 158.2 kB / 309.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.07718, allocations: 7.984 kB / 309.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.07718, allocations: 0 / 309.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.07719, allocations: 4 kB / 309.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.07796, allocations: 0.5936 MB / 310.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.07797, allocations: 0 / 310.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.07815, allocations: 79.83 kB / 310.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.07816, allocations: 0 / 310.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.07818, allocations: 15.98 kB / 310.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.07818, allocations: 7.938 kB / 310.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.07819, allocations: 0 / 310.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.07877, allocations: 0.6192 MB / 311.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.07884, allocations: 51.73 kB / 311.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.07886, allocations: 15.94 kB / 311.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.079, allocations: 15.98 kB / 311.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.07904, allocations: 27.95 kB / 311.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.07906, allocations: 8 kB / 311.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.0791, allocations: 135.2 kB / 311.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0791, allocations: 0 / 311.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00232/0.08142, allocations: 0.9355 MB / 312.4 MB, free: 9.738 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.003227/0.08465, allocations: 1.442 MB / 313.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.08501, allocations: 227.2 kB / 314.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.08501, allocations: 0 / 314.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.08515, allocations: 131.3 kB / 314.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.0856, allocations: 108.5 kB / 314.3 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.08659, allocations: 0.5071 MB / 314.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.254e-05/0.08665, allocations: 93.27 kB / 314.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.08686, allocations: 73.77 kB / 315 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.0871, allocations: 166.1 kB / 315.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of SimCode: time 9.91e-07/0.0871, allocations: 0 / 315.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of Templates: time 0.03757/0.1247, allocations: 37.56 MB / 352.7 MB, free: 1.316 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.8726667012088]