Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009068/0.0009068, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009748/0.0009748, allocations: 165.8 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8734/0.8734, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.195e-05, allocations: 2.312 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1195/0.1195, allocations: 26.41 MB / 299.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1214, allocations: 2.248 MB / 302 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.1215, allocations: 1 kB / 302 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1217, allocations: 62.72 kB / 302.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.122, allocations: 171.6 kB / 302.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.1326, allocations: 6.621 MB / 308.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.133, allocations: 349.9 kB / 309.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.133, allocations: 12.03 kB / 309.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1332, allocations: 186.1 kB / 309.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1334, allocations: 110.4 kB / 309.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1334, allocations: 14.31 kB / 309.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008739/0.1421, allocations: 9.013 MB / 318.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.1422, allocations: 79.8 kB / 318.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1423, allocations: 83.81 kB / 318.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.148, allocations: 5.854 MB / 324.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.148, allocations: 0 / 324.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.148, allocations: 4 kB / 324.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.148, allocations: 0 / 324.6 MB, free: 13.69 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.002112/0.1501, allocations: 1.061 MB / 325.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1501, allocations: 11.98 kB / 325.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.1502, allocations: 40.59 kB / 325.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1504, allocations: 161 kB / 325.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1504, allocations: 12.33 kB / 325.9 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1505, allocations: 16 kB / 325.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.1508, allocations: 315.8 kB / 326.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1508, allocations: 3.938 kB / 326.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.1508, allocations: 12 kB / 326.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1509, allocations: 7.047 kB / 326.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1511, allocations: 115.3 kB / 326.3 MB, free: 11.86 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.000719/0.1518, allocations: 0.5213 MB / 326.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.1521, allocations: 177 kB / 327 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.1521, allocations: 66.41 kB / 327.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004648/0.1568, allocations: 2.569 MB / 329.6 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1568, allocations: 38.56 kB / 329.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.734e-06/0.1568, allocations: 4 kB / 329.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008683/0.1577, allocations: 406.6 kB / 330.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1577, allocations: 92.98 kB / 330.2 MB, free: 7.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.1578, allocations: 131.9 kB / 330.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1578, allocations: 37.7 kB / 330.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.1579, allocations: 116.9 kB / 330.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.1579, allocations: 134.8 kB / 330.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.158, allocations: 65.66 kB / 330.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.1581, allocations: 334.8 kB / 331 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.1581, allocations: 58.81 kB / 331 MB, free: 7.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1583, allocations: 123.7 kB / 331.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.1585, allocations: 216.5 kB / 331.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1585, allocations: 0 / 331.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003257/0.1588, allocations: 249.4 kB / 331.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1589, allocations: 11.94 kB / 331.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1589, allocations: 2.109 kB / 331.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1589, allocations: 4 kB / 331.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1591, allocations: 83.88 kB / 331.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1591, allocations: 4 kB / 331.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1592, allocations: 23.89 kB / 331.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1592, allocations: 15.98 kB / 331.8 MB, free: 6.234 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.221e-05/0.1593, allocations: 132.8 kB / 331.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.1594, allocations: 43.78 kB / 331.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1596, allocations: 148.7 kB / 332.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1596, allocations: 4.875 kB / 332.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1596, allocations: 4 kB / 332.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1596, allocations: 0 / 332.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.1602, allocations: 458.8 kB / 332.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1602, allocations: 0 / 332.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1603, allocations: 75.98 kB / 332.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1603, allocations: 9.375 kB / 332.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1604, allocations: 11.98 kB / 332.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1604, allocations: 4 kB / 332.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1604, allocations: 7.938 kB / 332.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.1608, allocations: 486.4 kB / 333.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1609, allocations: 35.81 kB / 333.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1609, allocations: 12.03 kB / 333.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.161, allocations: 15.94 kB / 333.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.1611, allocations: 27.95 kB / 333.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1611, allocations: 15.98 kB / 333.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.206e-05/0.1611, allocations: 32.05 kB / 333.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1611, allocations: 0 / 333.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001516/0.1626, allocations: 0.9628 MB / 334.2 MB, free: 3.695 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.002388/0.165, allocations: 1.44 MB / 335.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1653, allocations: 193 kB / 335.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1653, allocations: 448 / 335.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1654, allocations: 120.7 kB / 336 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1658, allocations: 115.3 kB / 336.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.1666, allocations: 0.4892 MB / 336.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.1667, allocations: 86.23 kB / 336.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.1669, allocations: 73.25 kB / 336.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.1671, allocations: 153.1 kB / 336.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1671, allocations: 0 / 336.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of Templates: time 0.02999/0.1971, allocations: 34.59 MB / 371.5 MB, free: 14.46 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6856007711030543]