Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Factorial.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.00147/0.00147, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.008165/0.008165, allocations: 162 kB / 24.38 MB, free: 8.586 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.9177/0.9177, allocations: 177.1 MB / 204.8 MB, free: 5.043 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.865/1.865, allocations: 389.6 MB / 0.6356 GB, free: 12.23 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 4.594 kB / 0.7756 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.85e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.003471/0.003499, allocations: 1.63 MB / 0.7772 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.003932, allocations: 127.6 kB / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.003976, allocations: 1.125 kB / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.004013, allocations: 0.6562 kB / 0.7773 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.004072, allocations: 10.11 kB / 0.7773 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.004326, allocations: 19.91 kB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.004408, allocations: 33.34 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.004519, allocations: 7.984 kB / 0.7774 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.004581, allocations: 17.36 kB / 0.7774 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.004628, allocations: 17.83 kB / 0.7774 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.004643, allocations: 1.531 kB / 0.7774 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.004722, allocations: 16 kB / 0.7774 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.004737, allocations: 12.58 kB / 0.7774 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.004751, allocations: 5.094 kB / 0.7774 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.004856, allocations: 38.72 kB / 0.7775 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004859, allocations: 1.719 kB / 0.7775 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00486, allocations: 0 / 0.7775 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004864, allocations: 4 kB / 0.7775 GB, free: 3.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002941/0.005158, allocations: 233.7 kB / 0.7777 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.005191, allocations: 9.344 kB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.005217, allocations: 9.75 kB / 0.7777 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.005304, allocations: 109.7 kB / 0.7778 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.005322, allocations: 0.875 kB / 0.7778 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.005333, allocations: 5.125 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.005457, allocations: 62.88 kB / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.005463, allocations: 3.141 kB / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.005469, allocations: 384 / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.005474, allocations: 384 / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.005499, allocations: 15.92 kB / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.005718, allocations: 152.3 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.005852, allocations: 34.19 kB / 0.7781 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.005868, allocations: 12.8 kB / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.005931, allocations: 11.97 kB / 0.7781 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.005952, allocations: 34.62 kB / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.005954, allocations: 0 / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.006058, allocations: 49.62 kB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.006086, allocations: 51.41 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.006135, allocations: 113.3 kB / 0.7783 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.006144, allocations: 26.69 kB / 0.7784 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.006172, allocations: 84.14 kB / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.006185, allocations: 3.953 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.006209, allocations: 17.72 kB / 0.7785 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.00628, allocations: 318.8 kB / 0.7788 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.006292, allocations: 7.938 kB / 0.7788 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.006301, allocations: 5.062 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.006327, allocations: 13.61 kB / 0.7788 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006328, allocations: 1.75 kB / 0.7788 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.284e-05/0.006381, allocations: 41.69 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.006392, allocations: 4 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006395, allocations: 0 / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.006403, allocations: 3.938 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.006454, allocations: 17.17 kB / 0.7789 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.006458, allocations: 4.594 kB / 0.7789 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.006477, allocations: 4.656 kB / 0.7789 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.006481, allocations: 0 / 0.7789 GB, free: 1.656 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 (rea2Int.y,fac.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 5.13e-05/0.006532, allocations: 107 kB / 0.779 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.006547, allocations: 8 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.006614, allocations: 45.95 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.006616, allocations: 4.594 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006617, allocations: 0.7812 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00662, allocations: 0 / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.921e-05/0.006699, allocations: 78.5 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006699, allocations: 0.9062 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.006725, allocations: 8 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006726, allocations: 3.938 kB / 0.7791 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.006733, allocations: 9.422 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-07/0.006733, allocations: 0 / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.006735, allocations: 3.938 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.006803, allocations: 136.7 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.006809, allocations: 3.984 kB / 0.7793 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.006819, allocations: 9.672 kB / 0.7793 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.006848, allocations: 0 / 0.7793 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.006882, allocations: 11.98 kB / 0.7793 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006885, allocations: 3.938 kB / 0.7793 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.218e-05/0.006898, allocations: 13.72 kB / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006898, allocations: 0 / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001163/0.007014, allocations: 11.95 kB / 0.7793 GB, free: 1.164 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 (fac.y,rea2Int.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.0001024/0.007116, allocations: 77.36 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.636e-05/0.007173, allocations: 21.31 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.007175, allocations: 9.531 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.007193, allocations: 8.859 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.007315, allocations: 7.984 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.007526, allocations: 114.1 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.007559, allocations: 55.3 kB / 0.7796 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.007581, allocations: 9.328 kB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.007624, allocations: 55.36 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.007624, allocations: 0.7188 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of Templates: time 0.002446/0.01007, allocations: 0.7652 MB / 0.7804 GB, free: 24 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.Factorial_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.Factorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7939692735672]