Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.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.0009818/0.0009818, allocations: 174.7 kB / 16.07 MB, free: 5.73 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.4482/0.4482, allocations: 89.07 MB / 105.9 MB, free: 12.45 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.265/1.265, allocations: 225.7 MB / 353.3 MB, free: 1.09 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.0007735/0.0007735, allocations: 95.66 kB / 425.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 12 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 71.33 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005047/0.272, allocations: 308 kB / 0.5655 GB, free: 42.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.2723, allocations: 138.4 kB / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.2723, allocations: 0 / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.2723, allocations: 0 / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.419e-06/0.2723, allocations: 0 / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.2725, allocations: 17.08 kB / 0.5656 GB, free: 41.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.2726, allocations: 27.97 kB / 0.5657 GB, free: 41.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.2726, allocations: 0 / 0.5657 GB, free: 41.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.2727, allocations: 16.55 kB / 0.5657 GB, free: 41.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.2727, allocations: 15.92 kB / 0.5657 GB, free: 41.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2727, allocations: 6.031 kB / 0.5657 GB, free: 41.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.2728, allocations: 11.94 kB / 0.5657 GB, free: 41.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.2728, allocations: 15.97 kB / 0.5657 GB, free: 41.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.2728, allocations: 37.64 kB / 0.5658 GB, free: 41.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.409e-05/0.2729, allocations: 31.89 kB / 0.5658 GB, free: 41.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2729, allocations: 0.9688 kB / 0.5658 GB, free: 41.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2729, allocations: 0 / 0.5658 GB, free: 41.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.2729, allocations: 0 / 0.5658 GB, free: 41.74 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000193/0.2731, allocations: 328.5 kB / 0.5661 GB, free: 41.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.2732, allocations: 13.44 kB / 0.5661 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.2732, allocations: 0.9375 kB / 0.5661 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.565e-05/0.2732, allocations: 174.4 kB / 0.5663 GB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2733, allocations: 4.375 kB / 0.5663 GB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2733, allocations: 5.531 kB / 0.5663 GB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2734, allocations: 58.23 kB / 0.5664 GB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2734, allocations: 1.125 kB / 0.5664 GB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2734, allocations: 11.88 kB / 0.5664 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2734, allocations: 0 / 0.5664 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.2735, allocations: 105.1 kB / 0.5665 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.2737, allocations: 177.5 kB / 0.5666 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.2737, allocations: 67.89 kB / 0.5667 GB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.2738, allocations: 32.84 kB / 0.5667 GB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.274, allocations: 409.5 kB / 0.5671 GB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.274, allocations: 30.89 kB / 0.5672 GB, free: 40.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.274, allocations: 3.938 kB / 0.5672 GB, free: 40.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001751/0.2742, allocations: 117.8 kB / 0.5673 GB, free: 39.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.2742, allocations: 51.41 kB / 0.5673 GB, free: 39.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.843e-05/0.2742, allocations: 93.86 kB / 0.5674 GB, free: 39.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.2743, allocations: 29.7 kB / 0.5674 GB, free: 39.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-06/0.2743, allocations: 80.14 kB / 0.5675 GB, free: 39.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2743, allocations: 27.66 kB / 0.5675 GB, free: 39.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.2743, allocations: 4 kB / 0.5676 GB, free: 39.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.2743, allocations: 314.8 kB / 0.5679 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.2744, allocations: 19.98 kB / 0.5679 GB, free: 39.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.2744, allocations: 27.97 kB / 0.5679 GB, free: 39.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.2745, allocations: 64.77 kB / 0.568 GB, free: 39.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2745, allocations: 0 / 0.568 GB, free: 39.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.45e-05/0.2746, allocations: 85.67 kB / 0.568 GB, free: 39.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.2746, allocations: 4 kB / 0.568 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2746, allocations: 7.938 kB / 0.5681 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2746, allocations: 0 / 0.5681 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.2747, allocations: 23.92 kB / 0.5681 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.2747, allocations: 0 / 0.5681 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.2747, allocations: 11.84 kB / 0.5681 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2748, allocations: 4 kB / 0.5681 GB, free: 39.09 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.58e-05/0.2748, allocations: 125.8 kB / 0.5682 GB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-06/0.2749, allocations: 4 kB / 0.5682 GB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.275, allocations: 125.5 kB / 0.5683 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2751, allocations: 0 / 0.5683 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.2751, allocations: 0 / 0.5683 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2751, allocations: 0 / 0.5683 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.015e-05/0.2751, allocations: 181.6 kB / 0.5685 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2752, allocations: 0 / 0.5685 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.2752, allocations: 19.92 kB / 0.5685 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2752, allocations: 7.938 kB / 0.5685 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.2752, allocations: 4 kB / 0.5685 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2752, allocations: 4 kB / 0.5685 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2752, allocations: 3.984 kB / 0.5685 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.796e-05/0.2754, allocations: 120.9 kB / 0.5687 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2754, allocations: 85.05 kB / 0.5687 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2754, allocations: 0 / 0.5687 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.2754, allocations: 8 kB / 0.5687 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.2754, allocations: 7.984 kB / 0.5688 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2755, allocations: 8 kB / 0.5688 GB, free: 38.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.015e-05/0.2755, allocations: 77.88 kB / 0.5688 GB, free: 38.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2755, allocations: 3.938 kB / 0.5688 GB, free: 38.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.2756, allocations: 16 kB / 0.5689 GB, free: 38.2 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001029/0.2758, allocations: 115.2 kB / 0.569 GB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2759, allocations: 60.45 kB / 0.569 GB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2759, allocations: 0 / 0.569 GB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.2759, allocations: 39.92 kB / 0.5691 GB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.276, allocations: 16.22 kB / 0.5691 GB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.2762, allocations: 150.7 kB / 0.5692 GB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.2763, allocations: 0.6809 MB / 0.5699 GB, free: 37.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.2764, allocations: 35.95 kB / 0.5699 GB, free: 37.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.2764, allocations: 19.44 kB / 0.5699 GB, free: 37.03 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2764, allocations: 3.938 kB / 0.5699 GB, free: 37.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002014/0.2784, allocations: 0.5775 MB / 0.5705 GB, free: 36.45 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)