Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 182.8 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4394/0.4394, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 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.266/1.266, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.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.0007939/0.0007939, allocations: 97.94 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 12 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2555, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001244/0.2568, allocations: 1.236 MB / 0.5664 GB, free: 41.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.2571, allocations: 201.9 kB / 0.5666 GB, free: 40.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.2572, allocations: 0 / 0.5666 GB, free: 40.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.2572, allocations: 7.922 kB / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.2572, allocations: 5.438 kB / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.2574, allocations: 31.91 kB / 0.5666 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.2575, allocations: 27.98 kB / 0.5667 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.225e-05/0.2576, allocations: 21.05 kB / 0.5667 GB, free: 40.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.2576, allocations: 8.5 kB / 0.5667 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.2576, allocations: 19.91 kB / 0.5667 GB, free: 40.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2577, allocations: 6.031 kB / 0.5667 GB, free: 40.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.2577, allocations: 15.98 kB / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.2577, allocations: 0 / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.2578, allocations: 41.62 kB / 0.5668 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.2578, allocations: 43.81 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2579, allocations: 0.9688 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2579, allocations: 3.938 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.2579, allocations: 0 / 0.5668 GB, free: 40.66 MB / 410.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.0003351/0.2582, allocations: 352.7 kB / 0.5672 GB, free: 40.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.2583, allocations: 9 kB / 0.5672 GB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2583, allocations: 8.844 kB / 0.5672 GB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.408e-05/0.2584, allocations: 164.3 kB / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2584, allocations: 9.5 kB / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.2584, allocations: 384 / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2586, allocations: 75.48 kB / 0.5674 GB, free: 39.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2586, allocations: 4.188 kB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2586, allocations: 7.875 kB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2586, allocations: 0 / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.2588, allocations: 51.95 kB / 0.5675 GB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.2591, allocations: 288.7 kB / 0.5677 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.2593, allocations: 66.48 kB / 0.5678 GB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.2594, allocations: 36.89 kB / 0.5678 GB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2596, allocations: 397.5 kB / 0.5682 GB, free: 38.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.049e-05/0.2596, allocations: 34.56 kB / 0.5683 GB, free: 38.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.2596, allocations: 0 / 0.5683 GB, free: 38.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003205/0.2599, allocations: 113.6 kB / 0.5684 GB, free: 38.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.2599, allocations: 51.41 kB / 0.5684 GB, free: 38.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.26, allocations: 109.8 kB / 0.5685 GB, free: 38.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/0.26, allocations: 25.7 kB / 0.5685 GB, free: 38.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.26, allocations: 88.08 kB / 0.5686 GB, free: 38.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.26, allocations: 7.906 kB / 0.5686 GB, free: 38.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2601, allocations: 0 / 0.5686 GB, free: 38.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.2601, allocations: 330.7 kB / 0.5689 GB, free: 38.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.2602, allocations: 23.98 kB / 0.569 GB, free: 38.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.2603, allocations: 19.98 kB / 0.569 GB, free: 38.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2604, allocations: 61.09 kB / 0.569 GB, free: 38.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2604, allocations: 0 / 0.569 GB, free: 38.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.2606, allocations: 93.55 kB / 0.5691 GB, free: 37.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.2606, allocations: 7.984 kB / 0.5691 GB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2606, allocations: 0 / 0.5691 GB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2606, allocations: 4 kB / 0.5691 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.2607, allocations: 15.92 kB / 0.5692 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2607, allocations: 0 / 0.5692 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.2608, allocations: 11.94 kB / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2608, allocations: 0 / 0.5692 GB, free: 37.94 MB / 410.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 4.473e-05/0.2608, allocations: 121.8 kB / 0.5693 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.2609, allocations: 3.984 kB / 0.5693 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.2611, allocations: 89.55 kB / 0.5694 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2611, allocations: 7.938 kB / 0.5694 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2611, allocations: 0 / 0.5694 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2611, allocations: 0 / 0.5694 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2612, allocations: 173.5 kB / 0.5696 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2612, allocations: 0 / 0.5696 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.2613, allocations: 19.92 kB / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2613, allocations: 0 / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.2613, allocations: 0 / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2613, allocations: 0 / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2613, allocations: 0 / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2615, allocations: 187.4 kB / 0.5698 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.2615, allocations: 81.11 kB / 0.5698 GB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2616, allocations: 0 / 0.5698 GB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.2616, allocations: 15.98 kB / 0.5698 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.2617, allocations: 4 kB / 0.5698 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2617, allocations: 0 / 0.5698 GB, free: 37.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.2617, allocations: 87.27 kB / 0.5699 GB, free: 37.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2617, allocations: 4 kB / 0.5699 GB, free: 37.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.2619, allocations: 8 kB / 0.5699 GB, free: 37.04 MB / 410.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 9.313e-05/0.262, allocations: 107.2 kB / 0.57 GB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.2622, allocations: 67.88 kB / 0.5701 GB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2622, allocations: 0 / 0.5701 GB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.2623, allocations: 27.98 kB / 0.5701 GB, free: 36.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.2626, allocations: 11.84 kB / 0.5701 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.2628, allocations: 132.6 kB / 0.5703 GB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.181e-05/0.2629, allocations: 0.6809 MB / 0.5709 GB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.263, allocations: 12 kB / 0.5709 GB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.263, allocations: 11.44 kB / 0.571 GB, free: 35.94 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.263, allocations: 0 / 0.571 GB, free: 35.94 MB / 410.7 MB Notification: Performance of Templates: time 0.002132/0.2651, allocations: 0.6554 MB / 0.5716 GB, free: 35.29 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)