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.001836/0.001836, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001913/0.001913, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.645 MB / 186.7 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 3.019/3.019, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 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 2.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.332e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002964/0.002997, allocations: 1.572 MB / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.003381, allocations: 132.1 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.003416, allocations: 0.9062 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.003441, allocations: 3.984 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.003502, allocations: 8.75 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.003785, allocations: 40.45 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.00386, allocations: 31.92 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.003943, allocations: 5.25 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.004002, allocations: 31.89 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.004043, allocations: 11.98 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.004061, allocations: 6.188 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.00415, allocations: 19.98 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.004166, allocations: 7.984 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.004191, allocations: 11.92 kB / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004342, allocations: 51.86 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004345, allocations: 4 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004346, allocations: 0.7812 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004351, allocations: 0 / 0.8127 GB, free: 164 kB / 0.7605 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.0005442/0.004895, allocations: 373.7 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.004929, allocations: 8.031 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.00498, allocations: 8.938 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.005104, allocations: 116.5 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.005125, allocations: 1.438 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.005139, allocations: 4.375 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.005312, allocations: 62.89 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.00532, allocations: 192 / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005329, allocations: 1.844 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005333, allocations: 384 / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.005488, allocations: 39.91 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.006167, allocations: 280.2 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.006482, allocations: 59.59 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.006557, allocations: 20.27 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.006682, allocations: 16.81 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.006719, allocations: 41.31 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.00672, allocations: 0.875 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003379/0.007058, allocations: 85.56 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.007106, allocations: 51.94 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.007247, allocations: 167.3 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.00728, allocations: 25.7 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.007374, allocations: 134.9 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.00739, allocations: 3.953 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.007446, allocations: 28.64 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.007711, allocations: 0.4884 MB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.007777, allocations: 11.98 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.007833, allocations: 20.58 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.00796, allocations: 40.33 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007962, allocations: 1.469 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001759/0.008137, allocations: 69.56 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.00815, allocations: 8 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008154, allocations: 0 / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.008166, allocations: 0.5312 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.008241, allocations: 8.656 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.008251, allocations: 3.984 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.008292, allocations: 5.766 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.008302, allocations: 4.328 kB / 0.8148 GB, free: 13.81 MB / 0.7761 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 0.0001136/0.008415, allocations: 156.6 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.00845, allocations: 12.8 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.00867, allocations: 73.53 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008672, allocations: 3.469 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.008678, allocations: 8 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.00868, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.008847, allocations: 124.6 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008848, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.008906, allocations: 4 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.008913, allocations: 4 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.008925, allocations: 7.922 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008926, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.008927, allocations: 0.5625 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.009205, allocations: 217.6 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.009215, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.00923, allocations: 3.938 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.009295, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.00935, allocations: 11.98 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.009355, allocations: 1.125 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.009431, allocations: 131.2 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.009432, allocations: 4 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002279/0.009659, allocations: 12.84 kB / 0.8156 GB, free: 12.98 MB / 0.7761 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.0001984/0.009858, allocations: 96.09 kB / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.01008, allocations: 49 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01008, allocations: 3.938 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.01018, allocations: 31.61 kB / 0.8157 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01042, allocations: 7.906 kB / 0.8157 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.01081, allocations: 138 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.01088, allocations: 63.34 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.01092, allocations: 11.3 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.01096, allocations: 12.5 kB / 0.8159 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.01096, allocations: 0 / 0.8159 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.004095/0.01505, allocations: 0.7831 MB / 0.8167 GB, free: 11.76 MB / 0.7761 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 -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","/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.03487389208749]