Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001436/0.001436, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001229/0.001229, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9529/0.9529, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.428e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1331/0.1331, allocations: 26.41 MB / 299.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1351, allocations: 2.249 MB / 302.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.1352, allocations: 5.25 kB / 302.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.1355, allocations: 55.23 kB / 302.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1358, allocations: 174 kB / 302.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.1477, allocations: 6.616 MB / 308.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.1482, allocations: 348.8 kB / 309.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.1482, allocations: 11.69 kB / 309.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1485, allocations: 190.3 kB / 309.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1486, allocations: 109.2 kB / 309.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1487, allocations: 12.25 kB / 309.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.1592, allocations: 9.011 MB / 318.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1593, allocations: 83.78 kB / 318.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1594, allocations: 75.83 kB / 318.8 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.1684, allocations: 5.858 MB / 324.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1684, allocations: 0 / 324.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1684, allocations: 0 / 324.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1684, allocations: 4 kB / 324.6 MB, free: 13.79 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.00235/0.1707, allocations: 1.057 MB / 325.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1707, allocations: 8.031 kB / 325.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1709, allocations: 48.52 kB / 325.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1711, allocations: 157 kB / 325.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1711, allocations: 12.33 kB / 325.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1711, allocations: 19.94 kB / 325.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1715, allocations: 318.5 kB / 326.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1715, allocations: 0 / 326.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1715, allocations: 8 kB / 326.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.1715, allocations: 4 kB / 326.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1717, allocations: 111.4 kB / 326.4 MB, free: 11.97 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.0006985/0.1724, allocations: 0.5252 MB / 326.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1727, allocations: 178.7 kB / 327.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.1728, allocations: 73.67 kB / 327.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004504/0.1773, allocations: 2.567 MB / 329.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1773, allocations: 38.5 kB / 329.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.1773, allocations: 4 kB / 329.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008629/0.1782, allocations: 407.6 kB / 330.1 MB, free: 8.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1782, allocations: 85.05 kB / 330.2 MB, free: 8.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.1783, allocations: 149.9 kB / 330.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1783, allocations: 33.7 kB / 330.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.1783, allocations: 112.9 kB / 330.5 MB, free: 7.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1784, allocations: 134.8 kB / 330.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.1785, allocations: 61.67 kB / 330.7 MB, free: 7.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.1785, allocations: 338.8 kB / 331 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.1786, allocations: 54.81 kB / 331.1 MB, free: 7.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1787, allocations: 137.2 kB / 331.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.179, allocations: 216.8 kB / 331.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.179, allocations: 0 / 331.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003194/0.1793, allocations: 248.6 kB / 331.7 MB, free: 6.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1793, allocations: 11.98 kB / 331.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1793, allocations: 0 / 331.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1793, allocations: 4 kB / 331.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1795, allocations: 83.89 kB / 331.8 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1795, allocations: 4 kB / 331.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/0.1796, allocations: 23.88 kB / 331.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1796, allocations: 15.94 kB / 331.8 MB, free: 6.332 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.513e-05/0.1797, allocations: 132.7 kB / 331.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.1798, allocations: 47.78 kB / 332 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.18, allocations: 137.2 kB / 332.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.18, allocations: 8 kB / 332.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.18, allocations: 4 kB / 332.1 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.18, allocations: 0.6875 kB / 332.1 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.1806, allocations: 462.4 kB / 332.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1806, allocations: 0 / 332.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1808, allocations: 71.89 kB / 332.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1808, allocations: 8.156 kB / 332.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1808, allocations: 11.88 kB / 332.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1808, allocations: 4 kB / 332.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1808, allocations: 7.938 kB / 332.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1812, allocations: 483.5 kB / 333.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1813, allocations: 35.86 kB / 333.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1813, allocations: 12.03 kB / 333.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1814, allocations: 23.92 kB / 333.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.1815, allocations: 27.89 kB / 333.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1815, allocations: 12 kB / 333.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.1815, allocations: 28.78 kB / 333.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1815, allocations: 0 / 333.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001908/0.1834, allocations: 0.9666 MB / 334.3 MB, free: 3.797 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.002438/0.1858, allocations: 1.435 MB / 335.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.1861, allocations: 196 kB / 335.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1861, allocations: 0 / 335.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1862, allocations: 121.2 kB / 336 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1866, allocations: 119.1 kB / 336.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.1875, allocations: 0.4966 MB / 336.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.1876, allocations: 86.23 kB / 336.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.1877, allocations: 74.19 kB / 336.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.188, allocations: 149.2 kB / 336.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.188, allocations: 0 / 336.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of Templates: time 0.03041/0.2184, allocations: 34.59 MB / 371.5 MB, free: 14.56 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9650955563411117]