Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000868/0.000868, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002039, 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.0007208/0.0007208, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000975/0.001696, 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.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09923/1.12, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.508/2.508, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2511/2.759, allocations: 146 MB / 0.8176 GB, free: 3.809 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.275e-05, allocations: 9.203 kB / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002215/0.002238, allocations: 1.641 MB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.002456, allocations: 131.5 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.002482, allocations: 8 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.002505, allocations: 3.938 kB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.00253, allocations: 7.875 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.002708, allocations: 31.89 kB / 0.8207 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.002768, allocations: 31.86 kB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.225e-05/0.00284, allocations: 15.98 kB / 0.8208 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.002892, allocations: 27.91 kB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.00293, allocations: 11.98 kB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.002945, allocations: 4 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.003044, allocations: 19.97 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.00306, allocations: 15.94 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.003074, allocations: 4 kB / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.003182, allocations: 39.84 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.003193, allocations: 0 / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003194, allocations: 0 / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.003207, allocations: 0 / 0.8209 GB, free: 464 kB / 0.7917 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.000349/0.003556, allocations: 256.5 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.003585, allocations: 8.031 kB / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.003614, allocations: 12.92 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.00369, allocations: 109.7 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.003708, allocations: 8.312 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.003719, allocations: 4.375 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.003836, allocations: 62.94 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.003843, allocations: 192 / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.003851, allocations: 384 / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.003856, allocations: 384 / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.003887, allocations: 19.92 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.004111, allocations: 164.2 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.004243, allocations: 34.55 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.004258, allocations: 20.86 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.539e-05/0.004333, allocations: 20.05 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.004354, allocations: 34.56 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.004355, allocations: 0 / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001005/0.004455, allocations: 49.75 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.004477, allocations: 51.41 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.004523, allocations: 106.7 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.004534, allocations: 29.7 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.004561, allocations: 88.06 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.004574, allocations: 3.953 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.004597, allocations: 21.7 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.004667, allocations: 318.8 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-06/0.004675, allocations: 0 / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.004685, allocations: 11.98 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.004709, allocations: 16.84 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.00471, allocations: 0 / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.331e-05/0.004754, allocations: 45.62 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.004765, allocations: 5.406 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.00477, allocations: 7.922 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.004781, allocations: 0 / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.004826, allocations: 12.23 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004829, allocations: 4 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.004848, allocations: 11.95 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.004851, allocations: 0 / 0.8224 GB, free: 14.79 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: 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 5.662e-05/0.004908, allocations: 105.8 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.004922, allocations: 7.984 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.004997, allocations: 57.19 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004998, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004999, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.005001, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.505e-05/0.005076, allocations: 77.88 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005077, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.005104, allocations: 11.98 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.005108, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005109, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.005114, allocations: 4 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.005116, allocations: 3.938 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005117, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898e-05/0.005185, allocations: 143.5 kB / 0.8227 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.005194, allocations: 0 / 0.8227 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.005224, allocations: 4 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.005258, allocations: 19.86 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.00526, allocations: 0 / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.034e-05/0.005271, allocations: 8.859 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005271, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001244/0.005395, allocations: 12 kB / 0.8228 GB, free: 14.29 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: 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 9.578e-05/0.005491, allocations: 80.41 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.005549, allocations: 25.06 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.005552, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.005575, allocations: 20.84 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.005706, allocations: 44.03 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.006012, allocations: 120.6 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.006042, allocations: 59.2 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.00606, allocations: 4 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.006099, allocations: 51.38 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/0.006099, allocations: 0 / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.002341/0.00844, allocations: 0.8336 MB / 0.824 GB, free: 12.98 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial/Buildings_latest_Buildings.Utilities.Math.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.216708528809249]