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.001996/0.001996, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.002343/0.002343, allocations: 168.4 kB / 22.46 MB, free: 5.355 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.767/2.767, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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.543e-06/1.543e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.409e-05/4.564e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002956/0.003001, allocations: 1.563 MB / 0.9525 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.003402, allocations: 135.6 kB / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.003445, allocations: 0 / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.003473, allocations: 7.938 kB / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.003515, allocations: 4 kB / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.003823, allocations: 31.84 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.003911, allocations: 39.91 kB / 0.9527 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.00401, allocations: 11.92 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.004062, allocations: 19.98 kB / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.00411, allocations: 19.91 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.004128, allocations: 4 kB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.004222, allocations: 19.98 kB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.004239, allocations: 7.984 kB / 0.9528 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.004265, allocations: 11.98 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.00441, allocations: 51.81 kB / 0.9528 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004411, allocations: 0 / 0.9528 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004412, allocations: 0 / 0.9528 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004416, allocations: 0 / 0.9528 GB, free: 9.613 MB / 0.8575 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.0004881/0.004904, allocations: 278.2 kB / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.004938, allocations: 8.031 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.004974, allocations: 12.89 kB / 0.9531 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.005095, allocations: 105.8 kB / 0.9532 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.005117, allocations: 4.375 kB / 0.9532 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.005132, allocations: 384 / 0.9532 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.00535, allocations: 70.22 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.005359, allocations: 4.125 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.005368, allocations: 384 / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.005372, allocations: 384 / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.005584, allocations: 51.83 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.005975, allocations: 212.5 kB / 0.9536 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.006315, allocations: 54.55 kB / 0.9536 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.00643, allocations: 36.83 kB / 0.9536 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.006552, allocations: 15.98 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.006579, allocations: 38.5 kB / 0.9537 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006581, allocations: 0 / 0.9537 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004084/0.006989, allocations: 97.55 kB / 0.9538 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.007036, allocations: 55.41 kB / 0.9538 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.007125, allocations: 105.8 kB / 0.9539 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.007142, allocations: 29.7 kB / 0.954 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.007208, allocations: 88.12 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.007227, allocations: 11.89 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.007266, allocations: 13.72 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.007411, allocations: 318.8 kB / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.00751, allocations: 19.92 kB / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.007601, allocations: 19.98 kB / 0.9544 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.007802, allocations: 48.81 kB / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007803, allocations: 0 / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002528/0.008056, allocations: 77.59 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008069, allocations: 4 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.008075, allocations: 7.984 kB / 0.9546 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.008089, allocations: 0 / 0.9546 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.008172, allocations: 8 kB / 0.9546 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.008181, allocations: 7.969 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.008243, allocations: 11.89 kB / 0.9546 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.008248, allocations: 7.938 kB / 0.9546 GB, free: 7.648 MB / 0.8575 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.665e-05/0.008335, allocations: 113.8 kB / 0.9547 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.008365, allocations: 7.922 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.008651, allocations: 81.33 kB / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008653, allocations: 0 / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008656, allocations: 256 / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008659, allocations: 0 / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.008808, allocations: 113.4 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008809, allocations: 4 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.008899, allocations: 11.98 kB / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.008901, allocations: 0 / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.008911, allocations: 3.938 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008912, allocations: 0 / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008913, allocations: 0 / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.009205, allocations: 171.5 kB / 0.9551 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.00922, allocations: 15.94 kB / 0.9551 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.009235, allocations: 3.938 kB / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.009324, allocations: 8 kB / 0.9551 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.009375, allocations: 7.984 kB / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.00938, allocations: 432 / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.009435, allocations: 87.27 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009435, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002347/0.00967, allocations: 8 kB / 0.9552 GB, free: 6.957 MB / 0.8575 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.0001551/0.009825, allocations: 113.4 kB / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.01008, allocations: 55.88 kB / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01008, allocations: 0 / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.01018, allocations: 27.97 kB / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01044, allocations: 4 kB / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.01075, allocations: 125.4 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.01082, allocations: 63.34 kB / 0.9556 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.01086, allocations: 11.98 kB / 0.9556 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.01089, allocations: 8.5 kB / 0.9556 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01089, allocations: 0 / 0.9556 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of Templates: time 0.003619/0.01451, allocations: 0.7744 MB / 0.9563 GB, free: 5.734 MB / 0.8575 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: 7.960018295794725]