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.001878/0.001878, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002318/0.002318, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.455/1.455, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.712/2.712, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.625e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003302/0.003328, allocations: 1.561 MB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000438/0.003766, allocations: 128.2 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.003809, allocations: 4 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.00384, allocations: 4.844 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-05/0.003893, allocations: 7.875 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.004203, allocations: 40.77 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.004292, allocations: 35.91 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.004374, allocations: 10.97 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.004427, allocations: 23.97 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.004476, allocations: 15.92 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.004494, allocations: 4 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.004582, allocations: 19.97 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.004598, allocations: 7.984 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.004633, allocations: 15.92 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004791, allocations: 51.86 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004793, allocations: 1.25 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004793, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004797, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.7448 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.0004964/0.005293, allocations: 270.9 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005329, allocations: 9.094 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.005381, allocations: 12.88 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.00551, allocations: 117.7 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.005533, allocations: 4.953 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.005549, allocations: 9.891 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.005776, allocations: 58.23 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005784, allocations: 192 / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.005793, allocations: 384 / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.005797, allocations: 5.719 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.006022, allocations: 47.89 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.006424, allocations: 222.8 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.006914, allocations: 58.53 kB / 0.789 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.007085, allocations: 25.52 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.007253, allocations: 16.52 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.007304, allocations: 38.5 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.007305, allocations: 0.7188 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006268/0.007932, allocations: 99.64 kB / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.007992, allocations: 51.41 kB / 0.7893 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.008127, allocations: 109.8 kB / 0.7894 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.008156, allocations: 25.7 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.008234, allocations: 80.77 kB / 0.7895 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.008257, allocations: 8.641 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.008326, allocations: 21.7 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.008557, allocations: 315.5 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.008716, allocations: 16.48 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.008861, allocations: 24.75 kB / 0.7898 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.009155, allocations: 46.19 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009157, allocations: 0 / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004092/0.009567, allocations: 87.3 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.009586, allocations: 7.938 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009592, allocations: 4 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.009611, allocations: 0 / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.009745, allocations: 12.83 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.009755, allocations: 3.984 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.009851, allocations: 9.828 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.009859, allocations: 0 / 0.79 GB, free: 8.938 MB / 0.7448 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.0001348/0.009994, allocations: 113.8 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.01004, allocations: 3.938 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.01049, allocations: 88.75 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.0105, allocations: 4.031 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.0105, allocations: 0 / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01051, allocations: 0 / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.01076, allocations: 109.3 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.01076, allocations: 256 / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.0109, allocations: 17.95 kB / 0.7903 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.0109, allocations: 0 / 0.7903 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01091, allocations: 3.938 kB / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01092, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01092, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.01139, allocations: 185.7 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.0114, allocations: 0 / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01142, allocations: 3.938 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01156, allocations: 7.984 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.01163, allocations: 11.98 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.01164, allocations: 1.156 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.01171, allocations: 79.28 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01171, allocations: 0 / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004271/0.01213, allocations: 16.56 kB / 0.7906 GB, free: 8.246 MB / 0.7448 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.0002117/0.01235, allocations: 104 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.01268, allocations: 48.36 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01268, allocations: 0 / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.01284, allocations: 23.92 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.01327, allocations: 15.92 kB / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.01371, allocations: 128.5 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.0138, allocations: 63.28 kB / 0.791 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.01385, allocations: 5.406 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.0139, allocations: 16.5 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.0139, allocations: 1 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.004871/0.01877, allocations: 0.7871 MB / 0.7918 GB, free: 7.027 MB / 0.7448 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.460160327958874]