Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.765/0.765, allocations: 143.8 MB / 159.1 MB, free: 6.5 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 182.5 kB / 192 MB, free: 6.73 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.7 MB / 450.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 111.5 kB / 0.5211 GB, free: 1.629 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001564/0.001564, allocations: 270.5 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 17.73 kB / 0.6948 GB, free: 59.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 82.45 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.00179/0.1635, allocations: 1.249 MB / 0.7765 GB, free: 13.13 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003939/0.1639, allocations: 200.8 kB / 0.7767 GB, free: 12.92 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.1639, allocations: 4 kB / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1639, allocations: 3.938 kB / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.164, allocations: 3.984 kB / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1642, allocations: 27.97 kB / 0.7767 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.1643, allocations: 35.8 kB / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.1644, allocations: 15.98 kB / 0.7768 GB, free: 12.83 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.1644, allocations: 11.97 kB / 0.7768 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.1645, allocations: 19.92 kB / 0.7768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1645, allocations: 4 kB / 0.7768 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/0.1646, allocations: 12 kB / 0.7768 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1646, allocations: 7.922 kB / 0.7769 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1646, allocations: 37.64 kB / 0.7769 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1648, allocations: 44.14 kB / 0.7769 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1648, allocations: 4 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1648, allocations: 3.938 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1648, allocations: 0 / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004319/0.1652, allocations: 351.4 kB / 0.7773 GB, free: 12.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1653, allocations: 8.031 kB / 0.7773 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.1653, allocations: 4.922 kB / 0.7773 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1654, allocations: 172.2 kB / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1654, allocations: 384 / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1655, allocations: 4.375 kB / 0.7775 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1657, allocations: 70.22 kB / 0.7775 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1657, allocations: 192 / 0.7775 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1657, allocations: 7.938 kB / 0.7775 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1657, allocations: 0 / 0.7775 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1659, allocations: 59.88 kB / 0.7776 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1663, allocations: 284.8 kB / 0.7779 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1666, allocations: 62.53 kB / 0.7779 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.1667, allocations: 32.91 kB / 0.7779 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.167, allocations: 401.5 kB / 0.7783 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.167, allocations: 38.5 kB / 0.7784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.167, allocations: 0 / 0.7784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003627/0.1674, allocations: 109.5 kB / 0.7785 GB, free: 10.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.1674, allocations: 55.39 kB / 0.7785 GB, free: 10.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.1675, allocations: 109.9 kB / 0.7786 GB, free: 10.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1675, allocations: 25.7 kB / 0.7787 GB, free: 10.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.1676, allocations: 84.12 kB / 0.7787 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1676, allocations: 11.91 kB / 0.7787 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1676, allocations: 0 / 0.7787 GB, free: 10.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1677, allocations: 318.8 kB / 0.779 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1678, allocations: 27.97 kB / 0.7791 GB, free: 10.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.1679, allocations: 27.92 kB / 0.7791 GB, free: 10.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1681, allocations: 56.81 kB / 0.7792 GB, free: 10.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1681, allocations: 0 / 0.7792 GB, free: 10.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002123/0.1683, allocations: 89.56 kB / 0.7792 GB, free: 10 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1683, allocations: 7.938 kB / 0.7792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1683, allocations: 0 / 0.7792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1684, allocations: 0 / 0.7792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.1684, allocations: 15.98 kB / 0.7793 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1685, allocations: 0 / 0.7793 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.1685, allocations: 15.98 kB / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1685, allocations: 0 / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.541e-05/0.1686, allocations: 121.7 kB / 0.7794 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1686, allocations: 4.328 kB / 0.7794 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1689, allocations: 101.5 kB / 0.7795 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1689, allocations: 0 / 0.7795 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1689, allocations: 0 / 0.7795 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1689, allocations: 0 / 0.7795 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1691, allocations: 173.5 kB / 0.7797 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1691, allocations: 0 / 0.7797 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.1692, allocations: 15.98 kB / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1692, allocations: 0 / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1692, allocations: 0 / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1692, allocations: 0 / 0.7797 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1692, allocations: 4 kB / 0.7797 GB, free: 9.484 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1695, allocations: 191.3 kB / 0.7799 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.1695, allocations: 81.09 kB / 0.7799 GB, free: 9.184 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1695, allocations: 4 kB / 0.7799 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.1696, allocations: 8 kB / 0.78 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1697, allocations: 7.984 kB / 0.78 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1697, allocations: 4 kB / 0.78 GB, free: 9.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.1697, allocations: 83.27 kB / 0.78 GB, free: 9.078 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1697, allocations: 0 / 0.78 GB, free: 9.078 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001959/0.1699, allocations: 16 kB / 0.7801 GB, free: 9.062 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000145/0.1701, allocations: 116.1 kB / 0.7802 GB, free: 8.941 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1703, allocations: 55.89 kB / 0.7802 GB, free: 8.887 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1703, allocations: 0 / 0.7802 GB, free: 8.887 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1704, allocations: 35.97 kB / 0.7803 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1707, allocations: 7.938 kB / 0.7803 GB, free: 8.844 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.171, allocations: 128.6 kB / 0.7804 GB, free: 8.691 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1712, allocations: 0.6808 MB / 0.7811 GB, free: 7.984 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.1713, allocations: 8.547 kB / 0.7811 GB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1713, allocations: 15.42 kB / 0.7811 GB, free: 7.961 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1713, allocations: 0 / 0.7811 GB, free: 7.961 MB / 458.7 MB Notification: Performance of Templates: time 0.00253/0.1738, allocations: 0.6722 MB / 0.7817 GB, free: 7.293 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)