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.001399/0.001399, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001542/0.001542, allocations: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.519/1.519, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 2.94/2.94, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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.873e-06/1.873e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.535e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002651/0.002676, allocations: 1.558 MB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003538/0.00303, allocations: 135.4 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.003067, allocations: 0 / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.003092, allocations: 7.938 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.003141, allocations: 7.922 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.003427, allocations: 27.91 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.003504, allocations: 35.92 kB / 0.9832 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.003597, allocations: 19.91 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.003657, allocations: 19.98 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.003698, allocations: 11.98 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.003716, allocations: 4 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.003807, allocations: 31.89 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.003823, allocations: 11.88 kB / 0.9833 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.003846, allocations: 8 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.003979, allocations: 51.8 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003981, allocations: 0 / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003982, allocations: 0 / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003985, allocations: 0 / 0.9833 GB, free: 10.04 MB / 0.9356 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.0004584/0.004444, allocations: 286.2 kB / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004478, allocations: 8.031 kB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.004515, allocations: 4.938 kB / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004617, allocations: 105.8 kB / 0.9837 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.004635, allocations: 4.375 kB / 0.9837 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004648, allocations: 4.375 kB / 0.9837 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.004851, allocations: 66.2 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.00486, allocations: 4.125 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.004872, allocations: 4.375 kB / 0.9838 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.004876, allocations: 384 / 0.9838 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.005082, allocations: 47.89 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.005453, allocations: 216.5 kB / 0.984 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.005793, allocations: 58.48 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.005901, allocations: 28.89 kB / 0.9841 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.006025, allocations: 19.98 kB / 0.9841 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.006057, allocations: 38.5 kB / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006058, allocations: 4 kB / 0.9842 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000415/0.006473, allocations: 97.58 kB / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.006511, allocations: 51.41 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.006588, allocations: 105.8 kB / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.006607, allocations: 25.7 kB / 0.9844 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.006667, allocations: 96.02 kB / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.006682, allocations: 3.953 kB / 0.9845 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.006716, allocations: 13.72 kB / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.006857, allocations: 322.8 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.006958, allocations: 19.98 kB / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.007049, allocations: 19.97 kB / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.007236, allocations: 41.11 kB / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.007238, allocations: 0 / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002438/0.007481, allocations: 89.52 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.007494, allocations: 8 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007498, allocations: 4 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.00751, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.0076, allocations: 15.92 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.007605, allocations: 0 / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.007663, allocations: 7.938 kB / 0.9851 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007672, allocations: 3.984 kB / 0.9851 GB, free: 8.074 MB / 0.9356 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 8.79e-05/0.00776, allocations: 113.8 kB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.007787, allocations: 3.938 kB / 0.9852 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.008064, allocations: 85.33 kB / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.008066, allocations: 0 / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.008069, allocations: 0 / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.008072, allocations: 0 / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.008216, allocations: 113.3 kB / 0.9854 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008217, allocations: 0 / 0.9854 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.008296, allocations: 11.98 kB / 0.9854 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008297, allocations: 0 / 0.9854 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.008306, allocations: 7.875 kB / 0.9854 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.008307, allocations: 4 kB / 0.9854 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008308, allocations: 0 / 0.9854 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.008597, allocations: 175.5 kB / 0.9856 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.008603, allocations: 0 / 0.9856 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.008619, allocations: 8.125 kB / 0.9856 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.00871, allocations: 11.98 kB / 0.9856 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.008758, allocations: 8 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.008762, allocations: 0 / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.008811, allocations: 87.27 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008811, allocations: 0 / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002531/0.009064, allocations: 11.94 kB / 0.9857 GB, free: 7.383 MB / 0.9356 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.0001796/0.009244, allocations: 103.2 kB / 0.9858 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.009482, allocations: 43.89 kB / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009484, allocations: 0 / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.009588, allocations: 27.97 kB / 0.9858 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.009858, allocations: 12 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.01017, allocations: 120.8 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.914e-05/0.01023, allocations: 63.34 kB / 0.986 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.01026, allocations: 4 kB / 0.986 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.01029, allocations: 12.5 kB / 0.986 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.01029, allocations: 0 / 0.986 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.003296/0.01359, allocations: 0.783 MB / 0.9868 GB, free: 6.176 MB / 0.9356 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: 8.083967234939337]