Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009159/0.0009159, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001103/0.001103, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9026/0.9026, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.828e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001646/0.001664, allocations: 1.55 MB / 0.9533 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002774/0.001941, allocations: 131.6 kB / 0.9534 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.001972, allocations: 0 / 0.9534 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.002, allocations: 3.938 kB / 0.9534 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.002036, allocations: 7.938 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.002302, allocations: 39.83 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.002363, allocations: 35.91 kB / 0.9535 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.002447, allocations: 8 kB / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.002481, allocations: 23.92 kB / 0.9535 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.002515, allocations: 19.91 kB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.002529, allocations: 0 / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.002597, allocations: 23.97 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.002608, allocations: 8 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.002625, allocations: 15.92 kB / 0.9536 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.002734, allocations: 51.86 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002736, allocations: 0 / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002737, allocations: 3.938 kB / 0.9536 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.00274, allocations: 0 / 0.9536 GB, free: 1.082 MB / 0.9011 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.0003319/0.003072, allocations: 282.2 kB / 0.9539 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.003103, allocations: 8.031 kB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.003129, allocations: 4.875 kB / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.934e-05/0.003198, allocations: 105.8 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.003218, allocations: 4.375 kB / 0.954 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003228, allocations: 4.375 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.003353, allocations: 70.22 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.00336, allocations: 192 / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.003369, allocations: 384 / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003374, allocations: 384 / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.003472, allocations: 47.89 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.003738, allocations: 220.4 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.003932, allocations: 62.53 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.003979, allocations: 25.52 kB / 0.9544 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.899e-05/0.004068, allocations: 11.98 kB / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.004084, allocations: 38.5 kB / 0.9545 GB, free: 104 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.004084, allocations: 0 / 0.9545 GB, free: 104 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002274/0.004312, allocations: 101.6 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.004337, allocations: 51.41 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.97e-05/0.004387, allocations: 113.8 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.004396, allocations: 29.7 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.00443, allocations: 84.14 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.004444, allocations: 11.97 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.004469, allocations: 21.7 kB / 0.9549 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.004538, allocations: 310.8 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.00458, allocations: 19.98 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.004618, allocations: 19.97 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.004704, allocations: 48.77 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004706, allocations: 0 / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.004811, allocations: 85.53 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004823, allocations: 4 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004827, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.004837, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.00488, allocations: 15.92 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.004885, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.00491, allocations: 11.98 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004915, allocations: 4 kB / 0.9553 GB, free: 15.12 MB / 0.9167 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 6.104e-05/0.004976, allocations: 109.8 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.00499, allocations: 7.938 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.005144, allocations: 81.27 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.005147, allocations: 4 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.005151, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.005155, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.612e-05/0.005251, allocations: 121.3 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005252, allocations: 0 / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.005282, allocations: 11.98 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005284, allocations: 0 / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.005292, allocations: 3.938 kB / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005293, allocations: 0 / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005295, allocations: 3.984 kB / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.005435, allocations: 175.4 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.005441, allocations: 4 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.005451, allocations: 7.938 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.005488, allocations: 7.984 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.005526, allocations: 4.422 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.005529, allocations: 8.234 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.005553, allocations: 83.28 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005553, allocations: 0 / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002209/0.005774, allocations: 19.88 kB / 0.956 GB, free: 14.42 MB / 0.9167 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.0001059/0.00588, allocations: 99.25 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.006011, allocations: 55.92 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006012, allocations: 0 / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.006057, allocations: 23.92 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.00622, allocations: 4 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.006452, allocations: 150.4 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.006493, allocations: 63.34 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.006516, allocations: 16.5 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.006516, allocations: 4 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.001536/0.008052, allocations: 0.7868 MB / 0.9571 GB, free: 13.16 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.353269596584141]