Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.0009029/0.0009029, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009363/0.0009363, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 1.009/1.009, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.897/1.897, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) 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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0.7656 kB / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.016e-05, allocations: 6.25 kB / 0.7753 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001425/0.001455, allocations: 0.6596 MB / 0.7759 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.001675, allocations: 43.81 kB / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.001694, allocations: 0 / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.001731, allocations: 0 / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.001737, allocations: 4 kB / 0.7759 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.00199, allocations: 25.62 kB / 0.776 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.002063, allocations: 31.97 kB / 0.776 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.0021, allocations: 0.7812 kB / 0.776 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.002137, allocations: 16.62 kB / 0.776 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.208e-05/0.002159, allocations: 15.97 kB / 0.776 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.002172, allocations: 4.656 kB / 0.776 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-05/0.002268, allocations: 17.5 kB / 0.7761 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.002292, allocations: 16.84 kB / 0.7761 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.002312, allocations: 7.938 kB / 0.7761 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.002396, allocations: 40.55 kB / 0.7761 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002398, allocations: 0 / 0.7761 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.21e-07/0.002398, allocations: 0 / 0.7761 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002402, allocations: 0 / 0.7761 GB, free: 4.469 MB / 0.7292 GB 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.0002115/0.002613, allocations: 238.9 kB / 0.7763 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.002643, allocations: 9.344 kB / 0.7764 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.002667, allocations: 4.938 kB / 0.7764 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.792e-05/0.002725, allocations: 114.4 kB / 0.7765 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.002735, allocations: 384 / 0.7765 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.002743, allocations: 10.09 kB / 0.7765 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.831e-05/0.002821, allocations: 51.77 kB / 0.7765 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002828, allocations: 192 / 0.7765 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.002834, allocations: 4.312 kB / 0.7765 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.002839, allocations: 384 / 0.7765 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.002905, allocations: 73.61 kB / 0.7766 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.351e-05/0.002989, allocations: 72.17 kB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.00304, allocations: 51.75 kB / 0.7767 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.003062, allocations: 18.48 kB / 0.7767 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.003183, allocations: 28.86 kB / 0.7768 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.003204, allocations: 33.09 kB / 0.7768 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.003205, allocations: 3.938 kB / 0.7768 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001144/0.003319, allocations: 67.86 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.003343, allocations: 59.41 kB / 0.7769 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.109e-05/0.003374, allocations: 97.83 kB / 0.777 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.003382, allocations: 25.7 kB / 0.777 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.003406, allocations: 80.14 kB / 0.7771 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.003432, allocations: 26.55 kB / 0.7771 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.003461, allocations: 30.45 kB / 0.7772 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.003539, allocations: 322.8 kB / 0.7775 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.003552, allocations: 7.984 kB / 0.7775 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.003565, allocations: 9.531 kB / 0.7775 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.003619, allocations: 44.3 kB / 0.7775 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003621, allocations: 0 / 0.7775 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.341e-05/0.003695, allocations: 58.06 kB / 0.7776 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.003709, allocations: 11.98 kB / 0.7776 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.003715, allocations: 0 / 0.7776 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.003727, allocations: 0 / 0.7776 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.003793, allocations: 20 kB / 0.7776 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.003796, allocations: 4.75 kB / 0.7776 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.003811, allocations: 7.953 kB / 0.7776 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.003817, allocations: 9.5 kB / 0.7776 GB, free: 2.777 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 6.7e-05/0.003884, allocations: 120.6 kB / 0.7778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.003892, allocations: 4.875 kB / 0.7778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.003995, allocations: 97.47 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.003997, allocations: 0.9375 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.003998, allocations: 0 / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.004002, allocations: 0 / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.377e-05/0.004066, allocations: 87.56 kB / 0.7779 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.004067, allocations: 0 / 0.7779 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.004103, allocations: 19.94 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004104, allocations: 0 / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.004111, allocations: 7.984 kB / 0.778 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.004114, allocations: 4.5 kB / 0.778 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004114, allocations: 1.094 kB / 0.778 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.849e-05/0.004183, allocations: 89.03 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.004188, allocations: 7.891 kB / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.004196, allocations: 4.656 kB / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.004203, allocations: 4 kB / 0.7781 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.004225, allocations: 5.109 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.00423, allocations: 7.984 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.953e-06/0.004237, allocations: 8.797 kB / 0.7781 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004237, allocations: 0.6875 kB / 0.7781 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001165/0.004354, allocations: 20.72 kB / 0.7781 GB, free: 2.246 MB / 0.7292 GB 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.0001077/0.004462, allocations: 93.03 kB / 0.7782 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.004536, allocations: 37.69 kB / 0.7782 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.004537, allocations: 0 / 0.7782 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.004561, allocations: 34.25 kB / 0.7783 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.493e-05/0.004606, allocations: 8.219 kB / 0.7783 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001712/0.004777, allocations: 135.5 kB / 0.7784 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.22e-05/0.00481, allocations: 55.89 kB / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.004837, allocations: 21.36 kB / 0.7785 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.004871, allocations: 59.38 kB / 0.7785 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.004871, allocations: 0 / 0.7785 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of Templates: time 0.001956/0.006827, allocations: 0.6844 MB / 0.7792 GB, free: 1.109 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8281409703195095]