Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007983/0.0007983, allocations: 77.17 kB / 9.992 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002044, allocations: 451.9 kB / 10.43 MB, free: 256 kB / 10.45 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.0007261/0.0007261, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001727, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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 / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/1.095, allocations: 53.68 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6631/0.6631, allocations: 120.3 MB / 364.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06678/0.7299, allocations: 38.24 MB / 402.7 MB, free: 11.96 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 404 MB, free: 10.62 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.071e-05, allocations: 6.25 kB / 404.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002999/0.00302, allocations: 1.636 MB / 405.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.003255, allocations: 119.6 kB / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.003285, allocations: 0 / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.003308, allocations: 0 / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.002e-05/0.003338, allocations: 7.938 kB / 405.8 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.003474, allocations: 27.84 kB / 405.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.00355, allocations: 27.92 kB / 405.9 MB, free: 8.785 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.003623, allocations: 4 kB / 405.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.003693, allocations: 31.95 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.00374, allocations: 15.94 kB / 405.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.003754, allocations: 7.938 kB / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.003827, allocations: 11.98 kB / 405.9 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.003842, allocations: 4 kB / 405.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.003856, allocations: 4 kB / 405.9 MB, free: 8.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.879e-05/0.003955, allocations: 31.84 kB / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.00397, allocations: 0 / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.003971, allocations: 0 / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.003981, allocations: 4 kB / 406 MB, free: 8.672 MB / 394.7 MB 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.0003903/0.004371, allocations: 240.6 kB / 406.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.004404, allocations: 12.03 kB / 406.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.004434, allocations: 4.922 kB / 406.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.004512, allocations: 109.7 kB / 406.3 MB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.004533, allocations: 4.375 kB / 406.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.00454, allocations: 384 / 406.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.004665, allocations: 62.88 kB / 406.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.004672, allocations: 4.188 kB / 406.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.004678, allocations: 384 / 406.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.004684, allocations: 384 / 406.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.004709, allocations: 7.938 kB / 406.4 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.004954, allocations: 164.3 kB / 406.6 MB, free: 8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.005111, allocations: 34.5 kB / 406.6 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.005129, allocations: 12.92 kB / 406.6 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.656e-05/0.005196, allocations: 12 kB / 406.6 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.005217, allocations: 34.55 kB / 406.7 MB, free: 7.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.005218, allocations: 0 / 406.7 MB, free: 7.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001118/0.00533, allocations: 45.62 kB / 406.7 MB, free: 7.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.005359, allocations: 55.34 kB / 406.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.645e-05/0.005405, allocations: 106.7 kB / 406.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.005415, allocations: 29.7 kB / 406.9 MB, free: 7.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.005443, allocations: 88.12 kB / 407 MB, free: 7.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.005458, allocations: 7.953 kB / 407 MB, free: 7.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.005483, allocations: 21.64 kB / 407 MB, free: 7.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.005557, allocations: 314.8 kB / 407.3 MB, free: 7.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.005567, allocations: 3.984 kB / 407.3 MB, free: 7.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-06/0.005575, allocations: 4 kB / 407.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.005602, allocations: 17.31 kB / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005604, allocations: 0 / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.857e-05/0.005652, allocations: 41.72 kB / 407.4 MB, free: 7.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005667, allocations: 8 kB / 407.4 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005672, allocations: 4 kB / 407.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.005686, allocations: 3.938 kB / 407.4 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.005745, allocations: 11.94 kB / 407.4 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.005748, allocations: 0 / 407.4 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.005766, allocations: 3.984 kB / 407.4 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.00577, allocations: 0 / 407.4 MB, free: 7.07 MB / 394.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: 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 6.145e-05/0.005832, allocations: 113.8 kB / 407.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.005846, allocations: 0 / 407.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.09e-05/0.005937, allocations: 53.36 kB / 407.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.00594, allocations: 7.938 kB / 407.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.005942, allocations: 0 / 407.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.005945, allocations: 0 / 407.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/0.006033, allocations: 73.81 kB / 407.7 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.006033, allocations: 4 kB / 407.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.006061, allocations: 4 kB / 407.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.006066, allocations: 4 kB / 407.7 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006068, allocations: 3.984 kB / 407.7 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.006072, allocations: 3.938 kB / 407.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006073, allocations: 0 / 407.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006074, allocations: 3.938 kB / 407.7 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.751e-05/0.006142, allocations: 135.5 kB / 407.8 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.00615, allocations: 3.938 kB / 407.8 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.006181, allocations: 8 kB / 407.8 MB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.006219, allocations: 11.98 kB / 407.8 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006223, allocations: 3.938 kB / 407.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.178e-05/0.006234, allocations: 12.84 kB / 407.9 MB, free: 6.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006234, allocations: 0 / 407.9 MB, free: 6.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.006354, allocations: 4 kB / 407.9 MB, free: 6.574 MB / 394.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: 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.0001063/0.006461, allocations: 84.42 kB / 407.9 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.006545, allocations: 19.92 kB / 408 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.006548, allocations: 4 kB / 408 MB, free: 6.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.006598, allocations: 20.83 kB / 408 MB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.006732, allocations: 37.7 kB / 408 MB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.007055, allocations: 105.1 kB / 408.1 MB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.007088, allocations: 59.34 kB / 408.2 MB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.441e-05/0.007112, allocations: 8 kB / 408.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.007153, allocations: 55.38 kB / 408.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007154, allocations: 0 / 408.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of Templates: time 0.002195/0.009349, allocations: 0.8022 MB / 409 MB, free: 5.316 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & (cd run_cvode && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_dassl.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_dassl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_dassl.sim & (cd run_dassl && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_dassl.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_gbode.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_gbode.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_gbode.sim & (cd run_gbode && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_gbode.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_ida.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_ida.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_ida.sim & (cd run_ida && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3120625261217356]