Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.001083/0.001083, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.00671/0.00671, allocations: 166.4 kB / 24.38 MB, free: 8.473 MB / 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 0.9927/0.9927, allocations: 177.1 MB / 204.8 MB, free: 5.414 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.876/1.876, allocations: 389.6 MB / 0.6356 GB, free: 12.22 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0.6562 kB / 0.7756 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.298e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001785/0.001798, allocations: 1.643 MB / 0.7772 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002856/0.002084, allocations: 144.6 kB / 0.7773 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.002119, allocations: 0 / 0.7773 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.002151, allocations: 4.531 kB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.002197, allocations: 2.703 kB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.002456, allocations: 36.81 kB / 0.7774 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.002522, allocations: 36.91 kB / 0.7774 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.93e-05/0.002591, allocations: 11.98 kB / 0.7774 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.002632, allocations: 25.83 kB / 0.7774 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.002668, allocations: 14.44 kB / 0.7774 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.002683, allocations: 4 kB / 0.7774 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.002767, allocations: 16.73 kB / 0.7775 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.002782, allocations: 16.84 kB / 0.7775 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.002797, allocations: 8.422 kB / 0.7775 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.002899, allocations: 50.33 kB / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002901, allocations: 0 / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.51e-07/0.002902, allocations: 0 / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.002905, allocations: 0 / 0.7775 GB, free: 3.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000262/0.003167, allocations: 249.7 kB / 0.7778 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.003196, allocations: 9.344 kB / 0.7778 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.003215, allocations: 7.688 kB / 0.7778 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.003281, allocations: 114.3 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.003295, allocations: 4.375 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.003302, allocations: 384 / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.019e-05/0.003392, allocations: 62.94 kB / 0.778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-06/0.003398, allocations: 5.062 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.003407, allocations: 4.359 kB / 0.778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.00341, allocations: 2.562 kB / 0.778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.003435, allocations: 15.88 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.00362, allocations: 164.2 kB / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.003734, allocations: 30.56 kB / 0.7782 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.003748, allocations: 9.484 kB / 0.7782 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.268e-05/0.003811, allocations: 15.98 kB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.003829, allocations: 40.17 kB / 0.7782 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.00383, allocations: 0 / 0.7782 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 9.123e-05/0.003921, allocations: 51.36 kB / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.003943, allocations: 51.41 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.003986, allocations: 102.8 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.003994, allocations: 25.7 kB / 0.7785 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.004025, allocations: 101.4 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.004037, allocations: 3.953 kB / 0.7786 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.004061, allocations: 14.72 kB / 0.7786 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.004128, allocations: 322.8 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.004138, allocations: 1.188 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.004147, allocations: 9.062 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.004172, allocations: 16.84 kB / 0.7789 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004174, allocations: 0 / 0.7789 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.012e-05/0.004214, allocations: 38.5 kB / 0.7789 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.004223, allocations: 8 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.004228, allocations: 4.797 kB / 0.779 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.004234, allocations: 0 / 0.779 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.138e-05/0.004275, allocations: 12.92 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004278, allocations: 3.938 kB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.004295, allocations: 4.844 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.004299, allocations: 8.656 kB / 0.779 GB, free: 1.543 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: 2 (falFac.y,rea2Int.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.423e-05/0.004343, allocations: 105.8 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.004356, allocations: 4.594 kB / 0.7791 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.004418, allocations: 58.73 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004419, allocations: 0 / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.004421, allocations: 0 / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.004423, allocations: 384 / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/0.004498, allocations: 74.48 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004499, allocations: 0 / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.004521, allocations: 8.562 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004522, allocations: 1.219 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.004527, allocations: 3.984 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004528, allocations: 0 / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.00453, allocations: 8.797 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.211e-05/0.004592, allocations: 139.5 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.004597, allocations: 0.9375 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.004606, allocations: 8 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.004634, allocations: 0 / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.004665, allocations: 12.64 kB / 0.7794 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.004667, allocations: 0 / 0.7794 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.177e-05/0.004679, allocations: 17.72 kB / 0.7794 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004679, allocations: 0 / 0.7794 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001178/0.004797, allocations: 13.02 kB / 0.7794 GB, free: 1.055 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: 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 7.61e-05/0.004873, allocations: 80.42 kB / 0.7795 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.949e-05/0.004922, allocations: 21.47 kB / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004924, allocations: 0.9688 kB / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.004941, allocations: 16.84 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.005052, allocations: 16 kB / 0.7796 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.005246, allocations: 124.5 kB / 0.7797 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.005276, allocations: 59.34 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.005298, allocations: 5.078 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.005335, allocations: 52.41 kB / 0.7798 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.005335, allocations: 7.938 kB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of Templates: time 0.002006/0.007341, allocations: 0.7936 MB / 0.7806 GB, free: 15.86 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.806551603600383]