Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 189.4 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8628/0.8628, allocations: 134 MB / 440.3 MB, free: 220 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 67.73 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1961, allocations: 84.73 MB / 0.6935 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002368/0.1985, allocations: 0.5862 MB / 0.6941 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000362/0.1988, allocations: 60.2 kB / 0.6941 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1988, allocations: 0 / 0.6941 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.1989, allocations: 0 / 0.6941 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-06/0.1989, allocations: 7.938 kB / 0.6941 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1993, allocations: 19.91 kB / 0.6942 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1994, allocations: 31.97 kB / 0.6942 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.1994, allocations: 4 kB / 0.6942 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.1995, allocations: 7.984 kB / 0.6942 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.1995, allocations: 15.98 kB / 0.6942 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1995, allocations: 0 / 0.6942 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1996, allocations: 23.97 kB / 0.6942 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1997, allocations: 15.98 kB / 0.6943 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.1997, allocations: 19.88 kB / 0.6943 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1998, allocations: 31.83 kB / 0.6943 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1998, allocations: 4 kB / 0.6943 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1998, allocations: 0 / 0.6943 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.1998, allocations: 0 / 0.6943 GB, free: 8.18 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003723/0.2002, allocations: 266.3 kB / 0.6946 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2002, allocations: 8.031 kB / 0.6946 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.2003, allocations: 4.891 kB / 0.6946 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.2004, allocations: 110.5 kB / 0.6947 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2004, allocations: 4.375 kB / 0.6947 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2004, allocations: 4.375 kB / 0.6947 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2006, allocations: 66.22 kB / 0.6948 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2006, allocations: 4.188 kB / 0.6948 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2006, allocations: 3.938 kB / 0.6948 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2006, allocations: 0 / 0.6948 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2008, allocations: 99.88 kB / 0.6949 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.201, allocations: 148.6 kB / 0.695 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2011, allocations: 74.42 kB / 0.6951 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.2011, allocations: 24.84 kB / 0.6951 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.2013, allocations: 27.97 kB / 0.6951 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2014, allocations: 34.56 kB / 0.6952 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.2014, allocations: 0 / 0.6952 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002755/0.2016, allocations: 121.8 kB / 0.6953 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.2017, allocations: 59.34 kB / 0.6953 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.2017, allocations: 93.86 kB / 0.6954 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2018, allocations: 25.7 kB / 0.6954 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.2018, allocations: 80.14 kB / 0.6955 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.2018, allocations: 23.86 kB / 0.6955 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.2019, allocations: 33.7 kB / 0.6956 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.202, allocations: 314.8 kB / 0.6959 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.2021, allocations: 19.98 kB / 0.6959 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.2021, allocations: 19.98 kB / 0.6959 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.2022, allocations: 58.92 kB / 0.696 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2022, allocations: 0 / 0.696 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001539/0.2024, allocations: 101.5 kB / 0.6961 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2024, allocations: 4 kB / 0.6961 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2024, allocations: 11.94 kB / 0.6961 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2024, allocations: 0 / 0.6961 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2025, allocations: 23.98 kB / 0.6961 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2025, allocations: 0 / 0.6961 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.2025, allocations: 7.938 kB / 0.6961 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2026, allocations: 4 kB / 0.6961 GB, free: 6.148 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001705/0.2027, allocations: 121.8 kB / 0.6962 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2027, allocations: 3.953 kB / 0.6962 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.203, allocations: 127.5 kB / 0.6964 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.203, allocations: 4 kB / 0.6964 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.203, allocations: 4 kB / 0.6964 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.203, allocations: 3.984 kB / 0.6964 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2032, allocations: 152.6 kB / 0.6965 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2032, allocations: 4 kB / 0.6965 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.2032, allocations: 15.98 kB / 0.6965 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2032, allocations: 7.938 kB / 0.6965 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2033, allocations: 4 kB / 0.6965 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2033, allocations: 4 kB / 0.6965 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2033, allocations: 0 / 0.6965 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.2034, allocations: 121 kB / 0.6967 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.2034, allocations: 11.83 kB / 0.6967 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2035, allocations: 0 / 0.6967 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.2035, allocations: 11.94 kB / 0.6967 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2035, allocations: 3.984 kB / 0.6967 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2035, allocations: 4 kB / 0.6967 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.2036, allocations: 79.28 kB / 0.6968 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2036, allocations: 0 / 0.6968 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002053/0.2038, allocations: 16 kB / 0.6968 GB, free: 5.383 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002044/0.204, allocations: 107.2 kB / 0.6969 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2041, allocations: 59.91 kB / 0.6969 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2041, allocations: 0 / 0.6969 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.2042, allocations: 35.91 kB / 0.697 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.2043, allocations: 8 kB / 0.697 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.2047, allocations: 149.3 kB / 0.6971 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.205, allocations: 0.6817 MB / 0.6978 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.2051, allocations: 35.95 kB / 0.6978 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.2051, allocations: 19.44 kB / 0.6978 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2051, allocations: 0 / 0.6978 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.0034/0.2085, allocations: 0.6342 MB / 0.6985 GB, free: 3.605 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.709085228852928] Failed to read output from testmodel.py, exit status != 0: 0.21713922265917063 0.234677396 0.031179048 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5f642517b0>