Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.8269/0.8269, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.0009237/0.0009237, allocations: 183.3 kB / 192 MB, free: 6.727 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.434/1.434, allocations: 225.7 MB / 450.4 MB, free: 6.754 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.0007701/0.0007701, allocations: 99.55 kB / 0.5211 GB, free: 3.422 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.001726/0.001726, allocations: 277.8 kB / 0.6025 GB, free: 49.58 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004823, allocations: 19.98 kB / 0.6948 GB, free: 2.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3978, allocations: 82.45 MB / 0.7753 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006565/0.3985, allocations: 317.2 kB / 0.7756 GB, free: 26.71 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.3988, allocations: 136.2 kB / 0.7758 GB, free: 26.56 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.3988, allocations: 2.906 kB / 0.7758 GB, free: 26.56 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.3988, allocations: 0 / 0.7758 GB, free: 26.56 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.3988, allocations: 0 / 0.7758 GB, free: 26.56 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3991, allocations: 15.98 kB / 0.7758 GB, free: 26.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.3992, allocations: 27.97 kB / 0.7758 GB, free: 26.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.3992, allocations: 7.938 kB / 0.7758 GB, free: 26.51 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.3992, allocations: 8 kB / 0.7758 GB, free: 26.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.828e-05/0.3993, allocations: 15.97 kB / 0.7758 GB, free: 26.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3993, allocations: 0.625 kB / 0.7758 GB, free: 26.48 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.3994, allocations: 15.98 kB / 0.7758 GB, free: 26.47 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.3994, allocations: 15.94 kB / 0.7759 GB, free: 26.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.3994, allocations: 37.62 kB / 0.7759 GB, free: 26.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.675e-05/0.3995, allocations: 31.89 kB / 0.7759 GB, free: 26.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3995, allocations: 0 / 0.7759 GB, free: 26.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3996, allocations: 0 / 0.7759 GB, free: 26.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.3996, allocations: 4 kB / 0.7759 GB, free: 26.38 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002207/0.3998, allocations: 334.2 kB / 0.7763 GB, free: 26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3998, allocations: 8.031 kB / 0.7763 GB, free: 25.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3999, allocations: 4.844 kB / 0.7763 GB, free: 25.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.245e-05/0.3999, allocations: 164.4 kB / 0.7764 GB, free: 25.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4, allocations: 8.375 kB / 0.7764 GB, free: 25.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4, allocations: 4.375 kB / 0.7764 GB, free: 25.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4001, allocations: 66.16 kB / 0.7765 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.4001, allocations: 192 / 0.7765 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4001, allocations: 3.938 kB / 0.7765 GB, free: 25.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4001, allocations: 4 kB / 0.7765 GB, free: 25.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4003, allocations: 103.8 kB / 0.7766 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.4004, allocations: 173.6 kB / 0.7768 GB, free: 25.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.4005, allocations: 74.55 kB / 0.7768 GB, free: 25.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.4005, allocations: 32.84 kB / 0.7769 GB, free: 25.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.4008, allocations: 401.5 kB / 0.7773 GB, free: 24.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.4008, allocations: 42.5 kB / 0.7773 GB, free: 24.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.4008, allocations: 0 / 0.7773 GB, free: 24.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.000192/0.401, allocations: 117.8 kB / 0.7774 GB, free: 24.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.401, allocations: 51.41 kB / 0.7775 GB, free: 24.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.7e-05/0.401, allocations: 105.8 kB / 0.7776 GB, free: 24.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.4011, allocations: 25.7 kB / 0.7776 GB, free: 24.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-06/0.4011, allocations: 80.14 kB / 0.7777 GB, free: 24.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.4011, allocations: 23.66 kB / 0.7777 GB, free: 24.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.4011, allocations: 0 / 0.7777 GB, free: 24.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.4012, allocations: 314.8 kB / 0.778 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.4012, allocations: 19.98 kB / 0.778 GB, free: 23.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.4012, allocations: 19.98 kB / 0.778 GB, free: 23.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/0.4013, allocations: 65.42 kB / 0.7781 GB, free: 23.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4013, allocations: 4 kB / 0.7781 GB, free: 23.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.959e-05/0.4014, allocations: 93.55 kB / 0.7782 GB, free: 23.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.4014, allocations: 4 kB / 0.7782 GB, free: 23.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4014, allocations: 7.922 kB / 0.7782 GB, free: 23.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4015, allocations: 0 / 0.7782 GB, free: 23.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.4015, allocations: 16 kB / 0.7782 GB, free: 23.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4016, allocations: 7.922 kB / 0.7782 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.4016, allocations: 4 kB / 0.7782 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4016, allocations: 7.984 kB / 0.7782 GB, free: 23.72 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: 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 9.848e-05/0.4017, allocations: 121.8 kB / 0.7783 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.4017, allocations: 7.906 kB / 0.7783 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.4019, allocations: 129.4 kB / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4019, allocations: 3.984 kB / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4019, allocations: 0 / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4019, allocations: 0 / 0.7785 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.617e-05/0.402, allocations: 181.5 kB / 0.7786 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.402, allocations: 7.984 kB / 0.7787 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.4021, allocations: 19.94 kB / 0.7787 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4021, allocations: 3.938 kB / 0.7787 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4021, allocations: 0 / 0.7787 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4021, allocations: 3.984 kB / 0.7787 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4021, allocations: 4 kB / 0.7787 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.4022, allocations: 117 kB / 0.7788 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.4022, allocations: 84.95 kB / 0.7789 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4023, allocations: 7.984 kB / 0.7789 GB, free: 22.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.4023, allocations: 4 kB / 0.7789 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.4023, allocations: 11.94 kB / 0.7789 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4023, allocations: 3.984 kB / 0.7789 GB, free: 22.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.448e-05/0.4024, allocations: 79.28 kB / 0.779 GB, free: 22.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4024, allocations: 0 / 0.779 GB, free: 22.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.4025, allocations: 8 kB / 0.779 GB, free: 22.83 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: 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.0001423/0.4027, allocations: 119.2 kB / 0.7791 GB, free: 22.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.4028, allocations: 59.95 kB / 0.7792 GB, free: 22.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4028, allocations: 0 / 0.7792 GB, free: 22.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.4029, allocations: 35.92 kB / 0.7792 GB, free: 22.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.403, allocations: 7.938 kB / 0.7792 GB, free: 22.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.4032, allocations: 150.7 kB / 0.7793 GB, free: 22.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.4033, allocations: 0.6888 MB / 0.78 GB, free: 21.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.465e-05/0.4034, allocations: 31.94 kB / 0.78 GB, free: 21.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.4034, allocations: 15.44 kB / 0.7801 GB, free: 21.67 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4034, allocations: 0 / 0.7801 GB, free: 21.67 MB / 458.7 MB Notification: Performance of Templates: time 0.002297/0.4057, allocations: 0.586 MB / 0.7806 GB, free: 21.09 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)