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.0008268/0.0008268, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.00123/0.00123, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8882/0.8882, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.689/1.689, allocations: 377.8 MB / 0.6229 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.293e-06/1.293e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.353e-05, allocations: 13.17 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.0018/0.001824, allocations: 1.559 MB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.002107, allocations: 131.5 kB / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.002139, allocations: 0 / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002165, allocations: 3.938 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.002201, allocations: 11.88 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.002477, allocations: 31.89 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.245e-05/0.002539, allocations: 39.91 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.002624, allocations: 8 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.002661, allocations: 15.98 kB / 0.984 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.0027, allocations: 23.91 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.002715, allocations: 4 kB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.002784, allocations: 19.97 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.002796, allocations: 8 kB / 0.984 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.002815, allocations: 19.86 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.00293, allocations: 47.86 kB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002932, allocations: 0 / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002933, allocations: 0 / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002936, allocations: 0 / 0.9841 GB, free: 148 kB / 0.9323 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.0003491/0.003285, allocations: 290.2 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.003315, allocations: 8.031 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.003343, allocations: 4.938 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.8e-05/0.003411, allocations: 109.8 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.00343, allocations: 4.375 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.003438, allocations: 4.312 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.003569, allocations: 66.22 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003576, allocations: 192 / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.003584, allocations: 4.312 kB / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.003588, allocations: 4.375 kB / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.003688, allocations: 47.89 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.003956, allocations: 216.5 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.00416, allocations: 58.47 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.004209, allocations: 24.91 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.004303, allocations: 15.98 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.00432, allocations: 42.5 kB / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004321, allocations: 0 / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000226/0.004547, allocations: 97.58 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.004571, allocations: 51.41 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.004622, allocations: 105.8 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004631, allocations: 25.7 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.004668, allocations: 88.08 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.004683, allocations: 7.953 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.004709, allocations: 17.72 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.004781, allocations: 318.8 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.004826, allocations: 19.98 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.004867, allocations: 19.97 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.00495, allocations: 41.11 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004951, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000121/0.005072, allocations: 93.52 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.005084, allocations: 6.656 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005087, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.005097, allocations: 4 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.00514, allocations: 15.92 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005145, allocations: 3.938 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.005168, allocations: 4 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.005174, allocations: 3.984 kB / 0.9858 GB, free: 14.18 MB / 0.948 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.223e-05/0.005226, allocations: 113.8 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.005239, allocations: 7.938 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.005381, allocations: 85.31 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005383, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.005386, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005389, allocations: 3.938 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.005472, allocations: 113.4 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005472, allocations: 256 / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.005503, allocations: 11.98 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.005506, allocations: 8 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.005514, allocations: 7.938 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005515, allocations: 3.938 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005516, allocations: 0 / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.005645, allocations: 171.5 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.00565, allocations: 4 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.005661, allocations: 3.938 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.0057, allocations: 7.984 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.005743, allocations: 8 kB / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.005746, allocations: 7.984 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.005772, allocations: 79.28 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005772, allocations: 0 / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001599/0.005932, allocations: 11.94 kB / 0.9864 GB, free: 13.48 MB / 0.948 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.000103/0.006035, allocations: 103.2 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.006164, allocations: 51.88 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006166, allocations: 0 / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.006213, allocations: 27.98 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.006389, allocations: 0 / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.006617, allocations: 154.5 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.006659, allocations: 63.34 kB / 0.9868 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.006683, allocations: 8.5 kB / 0.9868 GB, free: 13.02 MB / 0.948 GB Notification: Performance of SimCode: time 4.2e-07/0.006683, allocations: 0 / 0.9868 GB, free: 13.02 MB / 0.948 GB Notification: Performance of Templates: time 0.001645/0.008328, allocations: 0.8031 MB / 0.9876 GB, free: 12.22 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.3774101650342345]