Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001287/0.001287, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001962/0.003249, allocations: 449.7 kB / 10.37 MB, free: 328 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.0012/0.0012, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.00288, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9839/0.9839, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09941/1.083, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5056/2.445, allocations: 123.3 MB / 0.7281 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.39e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002866/0.00289, allocations: 1.654 MB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.003164, allocations: 136.3 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.003199, allocations: 0 / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.003226, allocations: 3.938 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.833e-05/0.003254, allocations: 7.062 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.003459, allocations: 28.67 kB / 0.7311 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.003544, allocations: 37.02 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.003632, allocations: 12.95 kB / 0.7312 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.0037, allocations: 25.73 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.003751, allocations: 17.89 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.003768, allocations: 5.406 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.003892, allocations: 23.98 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.003909, allocations: 6.516 kB / 0.7313 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.003928, allocations: 5.094 kB / 0.7313 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.00406, allocations: 44.3 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.811e-05/0.004078, allocations: 0 / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004079, allocations: 0 / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.004096, allocations: 0.875 kB / 0.7313 GB, free: 2.559 MB / 0.698 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.0003905/0.004487, allocations: 253.5 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004521, allocations: 8.031 kB / 0.7316 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.004554, allocations: 8.922 kB / 0.7316 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.155e-05/0.004646, allocations: 111.3 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.004669, allocations: 1.5 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.004679, allocations: 4.375 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004816, allocations: 70.86 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004823, allocations: 0.9062 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.004831, allocations: 384 / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004837, allocations: 0.9062 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.004872, allocations: 16.86 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.005132, allocations: 161.3 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.005303, allocations: 43.36 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.005327, allocations: 18.27 kB / 0.732 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.953e-05/0.005417, allocations: 11.98 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005439, allocations: 34.56 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.005441, allocations: 0 / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001349/0.005576, allocations: 50.28 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.005606, allocations: 51.41 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.005669, allocations: 115.3 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.00568, allocations: 32.25 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.005718, allocations: 84.75 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.005739, allocations: 3.953 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.00578, allocations: 29.69 kB / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.005893, allocations: 310.8 kB / 0.7327 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.00591, allocations: 4.781 kB / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.005921, allocations: 0 / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.005959, allocations: 18.44 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005961, allocations: 0 / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.167e-05/0.006033, allocations: 42.56 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.006046, allocations: 7.938 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006052, allocations: 3.938 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.006061, allocations: 0.6875 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.006122, allocations: 13.7 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006125, allocations: 0 / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.006151, allocations: 5.781 kB / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.006155, allocations: 0 / 0.7328 GB, free: 0.9297 MB / 0.698 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.985e-05/0.006215, allocations: 109.8 kB / 0.7329 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.00624, allocations: 7.984 kB / 0.7329 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.006331, allocations: 46 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006333, allocations: 0.875 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006334, allocations: 0 / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.006337, allocations: 0 / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.006461, allocations: 83.33 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006463, allocations: 0.8438 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.006508, allocations: 15.92 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006514, allocations: 0.875 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.006518, allocations: 4 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.006523, allocations: 0 / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.006525, allocations: 4.531 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006526, allocations: 0.6562 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.006659, allocations: 135.9 kB / 0.7331 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.00667, allocations: 5.094 kB / 0.7332 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.006724, allocations: 4 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.006765, allocations: 15.95 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.006769, allocations: 1.281 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.602e-05/0.006785, allocations: 16.84 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006785, allocations: 0 / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002143/0.007, allocations: 12.56 kB / 0.7332 GB, free: 436 kB / 0.698 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.0001364/0.007136, allocations: 94.12 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.007212, allocations: 12.86 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.007218, allocations: 3.984 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.007243, allocations: 14.08 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.007432, allocations: 6.672 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.007859, allocations: 121.3 kB / 0.7334 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.007897, allocations: 55.36 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.007925, allocations: 9.188 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.007977, allocations: 60.67 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/0.007978, allocations: 0 / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of Templates: time 0.003228/0.01121, allocations: 0.8119 MB / 0.7344 GB, free: 15.22 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.964991794899106]