Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007595/0.0007595, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001802, allocations: 440 kB / 10.41 MB, free: 284 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.001038/0.001038, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.00245, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.044/1.044, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.146, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.431/2.431, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2488/2.68, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.079e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001905/0.001926, allocations: 0.6679 MB / 0.8196 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.002056, allocations: 51.81 kB / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.002071, allocations: 4 kB / 0.8197 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.00209, allocations: 3.938 kB / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.002091, allocations: 4 kB / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.002262, allocations: 19.89 kB / 0.8197 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.00236, allocations: 27.98 kB / 0.8197 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.002402, allocations: 4 kB / 0.8197 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.002453, allocations: 23.91 kB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.002491, allocations: 7.984 kB / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.688e-05/0.002558, allocations: 0 / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.002777, allocations: 23.97 kB / 0.8198 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.002816, allocations: 8 kB / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.002851, allocations: 7.938 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.003002, allocations: 31.91 kB / 0.8198 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.003018, allocations: 4 kB / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.684e-06/0.00302, allocations: 0 / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.003037, allocations: 0 / 0.8198 GB, free: 1.539 MB / 0.7917 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.0003976/0.003434, allocations: 248.6 kB / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.003466, allocations: 12.03 kB / 0.8201 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.003497, allocations: 4.938 kB / 0.8201 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.085e-05/0.003558, allocations: 105.7 kB / 0.8202 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003568, allocations: 4.375 kB / 0.8202 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.00358, allocations: 4.375 kB / 0.8202 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.003673, allocations: 62.09 kB / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.00368, allocations: 4.188 kB / 0.8203 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.003687, allocations: 384 / 0.8203 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.003693, allocations: 4.375 kB / 0.8203 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.003757, allocations: 71.81 kB / 0.8203 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.273e-05/0.00384, allocations: 67.86 kB / 0.8204 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.003897, allocations: 46.56 kB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.003917, allocations: 12.86 kB / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.004049, allocations: 27.91 kB / 0.8205 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.004067, allocations: 30.56 kB / 0.8205 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.004069, allocations: 4 kB / 0.8205 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.0001166/0.004185, allocations: 73.94 kB / 0.8206 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.004206, allocations: 55.41 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.077e-05/0.004237, allocations: 97.8 kB / 0.8207 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004247, allocations: 25.7 kB / 0.8208 GB, free: 480 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.004265, allocations: 84.14 kB / 0.8208 GB, free: 392 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.004297, allocations: 31.77 kB / 0.8209 GB, free: 360 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.004326, allocations: 29.69 kB / 0.8209 GB, free: 324 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.004396, allocations: 314.8 kB / 0.8212 GB, free: 0 / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.00442, allocations: 8.047 kB / 0.8212 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.004432, allocations: 11.88 kB / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.004481, allocations: 36.31 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004482, allocations: 7.938 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.41e-05/0.004536, allocations: 61.61 kB / 0.8213 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004547, allocations: 4 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004551, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.004562, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.004633, allocations: 31.92 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.004635, allocations: 0 / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.004647, allocations: 3.984 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.004652, allocations: 4 kB / 0.8214 GB, free: 15.82 MB / 0.8073 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.97e-05/0.004721, allocations: 124.6 kB / 0.8215 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-06/0.004729, allocations: 4 kB / 0.8215 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.004827, allocations: 97.48 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.004829, allocations: 7.938 kB / 0.8216 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00483, allocations: 3.938 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.004833, allocations: 0 / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.602e-05/0.004889, allocations: 73.84 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.00489, allocations: 0 / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.004927, allocations: 19.98 kB / 0.8217 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.004936, allocations: 23.86 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.004936, allocations: 0 / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.004942, allocations: 8 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.004942, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.004944, allocations: 4 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.157e-05/0.005006, allocations: 84.98 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.005015, allocations: 8 kB / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.005021, allocations: 0 / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.005045, allocations: 11.97 kB / 0.8218 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.005049, allocations: 3.984 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.332e-06/0.005055, allocations: 4.859 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005055, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001047/0.00516, allocations: 16 kB / 0.8218 GB, free: 15.28 MB / 0.8073 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.0001292/0.005289, allocations: 97.28 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.189e-05/0.005361, allocations: 48.7 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.005364, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.005391, allocations: 32.72 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.766e-05/0.005449, allocations: 18.22 kB / 0.822 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.005631, allocations: 127.3 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.005659, allocations: 63.34 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.005683, allocations: 19.97 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.005719, allocations: 63.36 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.005719, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of Templates: time 0.002146/0.007865, allocations: 0.7006 MB / 0.823 GB, free: 14.07 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.186636101454496]