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.001049/0.001049, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009582/0.0009582, allocations: 161.4 kB / 24.16 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 0.9441/0.9441, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.854/1.854, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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 3.527e-06/3.527e-06, allocations: 4 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.545e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003322/0.003348, allocations: 1.645 MB / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003822/0.00373, allocations: 144.2 kB / 0.7769 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.003773, allocations: 0 / 0.7769 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.003809, allocations: 0 / 0.7769 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.003874, allocations: 6.234 kB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.004182, allocations: 31.84 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.296e-05/0.004265, allocations: 41.44 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.004349, allocations: 12.67 kB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.004398, allocations: 20.97 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.004441, allocations: 15.33 kB / 0.7771 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.004458, allocations: 4 kB / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.004577, allocations: 23.97 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.004591, allocations: 5.859 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.004613, allocations: 18.25 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.00474, allocations: 37.98 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004743, allocations: 4.531 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004744, allocations: 0.5625 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004748, allocations: 0 / 0.7772 GB, free: 3.387 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.0003382/0.005086, allocations: 244.9 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.005127, allocations: 13.34 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.005161, allocations: 4.922 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.005259, allocations: 110.2 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.005279, allocations: 4.375 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.005289, allocations: 4.375 kB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.005433, allocations: 62.92 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005441, allocations: 4.125 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005451, allocations: 7.125 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005457, allocations: 4.375 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.00549, allocations: 15.91 kB / 0.7776 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.005755, allocations: 172.2 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.005926, allocations: 34.55 kB / 0.7778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.005947, allocations: 10.48 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.361e-05/0.006041, allocations: 15.98 kB / 0.7778 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.006063, allocations: 38.56 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.006065, allocations: 0 / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001389/0.006204, allocations: 46.81 kB / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.006231, allocations: 55.41 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.006294, allocations: 106.7 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.006306, allocations: 26.52 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.006341, allocations: 88.09 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.006358, allocations: 8.484 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.006393, allocations: 21.69 kB / 0.7782 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.006479, allocations: 315.8 kB / 0.7785 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.006491, allocations: 0 / 0.7785 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.006504, allocations: 8.859 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.006537, allocations: 16.84 kB / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006539, allocations: 5.375 kB / 0.7785 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.424e-05/0.006603, allocations: 37.69 kB / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006617, allocations: 8 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.006622, allocations: 3.938 kB / 0.7786 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.006635, allocations: 0.6562 kB / 0.7786 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.006691, allocations: 9.016 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.006693, allocations: 4 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.006717, allocations: 0 / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.006721, allocations: 0.6562 kB / 0.7786 GB, free: 1.766 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 6.629e-05/0.006787, allocations: 118.7 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.006809, allocations: 3.984 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.006909, allocations: 58 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.006911, allocations: 256 / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006912, allocations: 0.6875 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.006916, allocations: 4 kB / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.007034, allocations: 75.69 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007036, allocations: 0 / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.007081, allocations: 7.984 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.007083, allocations: 0 / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.007088, allocations: 4 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.00709, allocations: 0.875 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.007092, allocations: 3.938 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.514e-05/0.007187, allocations: 136.1 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.007193, allocations: 0.9375 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.007203, allocations: 3.984 kB / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.007257, allocations: 4 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.007301, allocations: 16.86 kB / 0.779 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007304, allocations: 0 / 0.779 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.368e-05/0.007318, allocations: 13.78 kB / 0.779 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007318, allocations: 0 / 0.779 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002208/0.007539, allocations: 19.89 kB / 0.7791 GB, free: 1.262 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 0.0001188/0.007658, allocations: 88.12 kB / 0.7791 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.007735, allocations: 18.02 kB / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.007737, allocations: 0 / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.007766, allocations: 21.5 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.007943, allocations: 9.844 kB / 0.7792 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.008193, allocations: 120.5 kB / 0.7793 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.008233, allocations: 55.34 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.008262, allocations: 4.844 kB / 0.7794 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.008317, allocations: 56.41 kB / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.008317, allocations: 0 / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of Templates: time 0.003189/0.01151, allocations: 0.7927 MB / 0.7802 GB, free: 84 kB / 0.7292 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.834089990705252]