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.001037/0.001037, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.001103/0.001103, allocations: 165.5 kB / 24.82 MB, free: 8.875 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.9506/0.9506, allocations: 177 MB / 205.1 MB, free: 5.461 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 1.693e-06/1.693e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.479e-05, allocations: 2.312 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1338/0.1338, allocations: 26.12 MB / 299.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1356, allocations: 2.219 MB / 301.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.1357, allocations: 1.031 kB / 301.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.136, allocations: 63.84 kB / 301.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1363, allocations: 168.5 kB / 301.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.1476, allocations: 6.578 MB / 308.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.148, allocations: 345.3 kB / 308.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.148, allocations: 7.938 kB / 308.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1483, allocations: 201.4 kB / 309 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1484, allocations: 112.9 kB / 309.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1485, allocations: 10.69 kB / 309.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00918/0.1576, allocations: 9.028 MB / 318.2 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.1577, allocations: 75.8 kB / 318.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.1578, allocations: 79.83 kB / 318.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.1637, allocations: 5.858 MB / 324.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1637, allocations: 0 / 324.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1637, allocations: 4 kB / 324.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1637, allocations: 0 / 324.2 MB, free: 13.95 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.002195/0.1659, allocations: 1.193 MB / 325.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1659, allocations: 15.98 kB / 325.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.1661, allocations: 40.53 kB / 325.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1663, allocations: 163.8 kB / 325.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1663, allocations: 8.828 kB / 325.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1664, allocations: 19.95 kB / 325.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1667, allocations: 327.8 kB / 325.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1668, allocations: 0 / 325.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1668, allocations: 4 kB / 325.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.1668, allocations: 8 kB / 325.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.167, allocations: 132.5 kB / 326.1 MB, free: 11.95 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.0008159/0.1678, allocations: 0.6801 MB / 326.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.1681, allocations: 214 kB / 327 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.1682, allocations: 75.34 kB / 327 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005008/0.1732, allocations: 2.531 MB / 329.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1733, allocations: 45.27 kB / 329.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.654e-06/0.1733, allocations: 0 / 329.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009933/0.1743, allocations: 471.2 kB / 330.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1743, allocations: 81.11 kB / 330.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.1744, allocations: 199.7 kB / 330.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1744, allocations: 37.7 kB / 330.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.1745, allocations: 159.6 kB / 330.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.1745, allocations: 138.8 kB / 330.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.1746, allocations: 79.3 kB / 330.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003799/0.175, allocations: 0.504 MB / 331.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.1751, allocations: 59.95 kB / 331.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1752, allocations: 161 kB / 331.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.1755, allocations: 250.7 kB / 331.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1755, allocations: 4 kB / 331.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000422/0.1759, allocations: 309 kB / 332 MB, free: 5.801 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1759, allocations: 4.625 kB / 332 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.176, allocations: 7.312 kB / 332 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.176, allocations: 4 kB / 332 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1762, allocations: 79.89 kB / 332.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1762, allocations: 7.984 kB / 332.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1763, allocations: 20.11 kB / 332.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.1763, allocations: 23.98 kB / 332.2 MB, free: 5.66 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 9.153e-05/0.1764, allocations: 176.4 kB / 332.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1765, allocations: 55.61 kB / 332.4 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.1767, allocations: 161.3 kB / 332.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1768, allocations: 4 kB / 332.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1768, allocations: 3.938 kB / 332.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1768, allocations: 3.984 kB / 332.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.1774, allocations: 0.5935 MB / 333.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1774, allocations: 4.156 kB / 333.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1776, allocations: 71.89 kB / 333.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1776, allocations: 4 kB / 333.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1776, allocations: 12 kB / 333.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1776, allocations: 7.938 kB / 333.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1776, allocations: 0 / 333.2 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1782, allocations: 0.6274 MB / 333.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.1782, allocations: 51.75 kB / 333.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1783, allocations: 15.94 kB / 333.9 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1784, allocations: 8 kB / 333.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1784, allocations: 31.89 kB / 334 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1785, allocations: 11.98 kB / 334 MB, free: 3.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.663e-05/0.1785, allocations: 150.6 kB / 334.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1785, allocations: 0 / 334.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001686/0.1802, allocations: 0.9589 MB / 335.1 MB, free: 2.613 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.002447/0.1826, allocations: 1.416 MB / 336.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1829, allocations: 220.2 kB / 336.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.183, allocations: 4 kB / 336.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1831, allocations: 127.5 kB / 336.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1835, allocations: 124.5 kB / 337 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.1845, allocations: 0.5219 MB / 337.5 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.1845, allocations: 90.23 kB / 337.6 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.1847, allocations: 78.17 kB / 337.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.185, allocations: 174.1 kB / 337.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.185, allocations: 0 / 337.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Templates: time 0.03234/0.2173, allocations: 35.25 MB / 373.1 MB, free: 12.62 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.834116600919515]