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.0008793/0.0008793, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.004182/0.004182, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9535/0.9535, allocations: 177 MB / 205.2 MB, free: 5.043 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.223e-06/1.223e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.896e-06/1.012e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1261/0.1261, allocations: 26.45 MB / 299.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1285, allocations: 2.252 MB / 302.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1287, allocations: 1.094 kB / 302.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.1291, allocations: 62.86 kB / 302.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.1295, allocations: 170.4 kB / 302.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.1423, allocations: 6.044 MB / 308.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.1427, allocations: 345.8 kB / 308.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.1427, allocations: 15.89 kB / 308.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.143, allocations: 185.9 kB / 308.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1431, allocations: 117 kB / 309 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1431, allocations: 11.28 kB / 309.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.1539, allocations: 9.531 MB / 318.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.154, allocations: 79.78 kB / 318.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.154, allocations: 75.83 kB / 318.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.1598, allocations: 5.866 MB / 324.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1598, allocations: 0 / 324.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1598, allocations: 0 / 324.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1598, allocations: 0 / 324.6 MB, free: 13.58 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.001686/0.1615, allocations: 1.065 MB / 325.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1615, allocations: 11.98 kB / 325.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1616, allocations: 48.52 kB / 325.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1618, allocations: 149 kB / 325.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1618, allocations: 16.33 kB / 325.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1618, allocations: 16 kB / 325.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.1621, allocations: 315.8 kB / 326.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1622, allocations: 0 / 326.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1622, allocations: 4 kB / 326.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.1622, allocations: 12 kB / 326.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.1624, allocations: 115.3 kB / 326.3 MB, free: 11.74 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.0006667/0.1631, allocations: 0.5241 MB / 326.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.1634, allocations: 177.1 kB / 327 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.1634, allocations: 74.38 kB / 327.1 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004554/0.168, allocations: 2.572 MB / 329.7 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.168, allocations: 38.56 kB / 329.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.168, allocations: 0 / 329.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008774/0.1689, allocations: 410.4 kB / 330.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1689, allocations: 81.11 kB / 330.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.169, allocations: 146.6 kB / 330.3 MB, free: 7.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.169, allocations: 33.7 kB / 330.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.1691, allocations: 112.9 kB / 330.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.1691, allocations: 134.8 kB / 330.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.1692, allocations: 65.67 kB / 330.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.1693, allocations: 334.8 kB / 331 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.1694, allocations: 58.81 kB / 331.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1695, allocations: 127.6 kB / 331.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1697, allocations: 211.3 kB / 331.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1697, allocations: 1.188 kB / 331.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003437/0.1701, allocations: 252.9 kB / 331.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1701, allocations: 12.03 kB / 331.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1701, allocations: 0 / 331.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1701, allocations: 4 kB / 331.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1703, allocations: 91.88 kB / 331.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1703, allocations: 7.938 kB / 331.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1704, allocations: 23.89 kB / 331.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1705, allocations: 14.8 kB / 331.8 MB, free: 6.105 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.219e-05/0.1705, allocations: 132.5 kB / 331.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.1706, allocations: 43.78 kB / 332 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.1709, allocations: 147.8 kB / 332.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1709, allocations: 4 kB / 332.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1709, allocations: 2.625 kB / 332.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1709, allocations: 3.938 kB / 332.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.1714, allocations: 463.2 kB / 332.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1714, allocations: 0 / 332.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1716, allocations: 79.88 kB / 332.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1716, allocations: 0 / 332.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1716, allocations: 12.16 kB / 332.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1716, allocations: 11.98 kB / 332.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1716, allocations: 13.42 kB / 332.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.1721, allocations: 474.5 kB / 333.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1721, allocations: 35.88 kB / 333.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1721, allocations: 8 kB / 333.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1723, allocations: 15.92 kB / 333.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1723, allocations: 39.86 kB / 333.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1723, allocations: 15.98 kB / 333.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.198e-05/0.1723, allocations: 27.2 kB / 333.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1723, allocations: 0 / 333.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001398/0.1737, allocations: 0.9589 MB / 334.2 MB, free: 3.562 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.002319/0.1761, allocations: 1.445 MB / 335.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.1763, allocations: 200.9 kB / 335.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1763, allocations: 0 / 335.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1765, allocations: 113.5 kB / 336 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1768, allocations: 115.5 kB / 336.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.1777, allocations: 0.4931 MB / 336.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.267e-05/0.1777, allocations: 86.23 kB / 336.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.1779, allocations: 74.61 kB / 336.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.1782, allocations: 145.2 kB / 336.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1782, allocations: 0 / 336.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of Templates: time 0.02921/0.2074, allocations: 34.58 MB / 371.5 MB, free: 14.35 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 -s gbode -gbm=radauIIA3 -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.7257907786406577]