Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001287/0.001287, allocations: 108.7 kB / 18.94 MB, free: 2.793 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.001505/0.001505, allocations: 193.4 kB / 22.23 MB, free: 5.23 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.602/1.602, allocations: 225.6 MB / 251 MB, free: 13.03 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.9081/0.9081, allocations: 134 MB / 440.3 MB, free: 228 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial")
translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 60.42 kB / 0.6107 GB, free: 13.65 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2085, allocations: 84.73 MB / 0.6935 GB, free: 9 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003206/0.2117, allocations: 1.561 MB / 0.695 GB, free: 7.43 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.0004375/0.2121, allocations: 128.5 kB / 0.6951 GB, free: 7.301 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.2121, allocations: 0 / 0.6951 GB, free: 7.301 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.2122, allocations: 7.938 kB / 0.6951 GB, free: 7.293 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.2122, allocations: 7.922 kB / 0.6951 GB, free: 7.285 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2125, allocations: 27.97 kB / 0.6952 GB, free: 7.258 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.2126, allocations: 39.91 kB / 0.6952 GB, free: 7.219 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2127, allocations: 11.98 kB / 0.6952 GB, free: 7.207 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.2128, allocations: 15.92 kB / 0.6952 GB, free: 7.191 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.2128, allocations: 19.92 kB / 0.6952 GB, free: 7.172 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2129, allocations: 4 kB / 0.6952 GB, free: 7.168 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.2129, allocations: 23.92 kB / 0.6953 GB, free: 7.145 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.213, allocations: 15.91 kB / 0.6953 GB, free: 7.129 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.213, allocations: 15.94 kB / 0.6953 GB, free: 7.113 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.2131, allocations: 39.83 kB / 0.6953 GB, free: 7.074 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2132, allocations: 0 / 0.6953 GB, free: 7.074 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.483e-06/0.2132, allocations: 0 / 0.6953 GB, free: 7.074 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 7.094e-06/0.2132, allocations: 0 / 0.6953 GB, free: 7.074 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005197/0.2137, allocations: 284.2 kB / 0.6956 GB, free: 6.766 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2137, allocations: 8.031 kB / 0.6956 GB, free: 6.758 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.2138, allocations: 8.891 kB / 0.6956 GB, free: 6.75 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2139, allocations: 114.5 kB / 0.6957 GB, free: 6.613 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2139, allocations: 4.312 kB / 0.6957 GB, free: 6.609 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2139, allocations: 8.375 kB / 0.6957 GB, free: 6.602 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.2141, allocations: 66.16 kB / 0.6958 GB, free: 6.531 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2141, allocations: 192 / 0.6958 GB, free: 6.531 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2142, allocations: 3.938 kB / 0.6958 GB, free: 6.527 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2142, allocations: 4 kB / 0.6958 GB, free: 6.523 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.2144, allocations: 47.89 kB / 0.6959 GB, free: 6.477 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.2149, allocations: 247.9 kB / 0.6961 GB, free: 6.191 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.2152, allocations: 62.47 kB / 0.6962 GB, free: 6.121 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2153, allocations: 24.91 kB / 0.6962 GB, free: 6.094 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.2155, allocations: 19.98 kB / 0.6962 GB, free: 6.074 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2155, allocations: 34.55 kB / 0.6962 GB, free: 6.031 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2155, allocations: 0 / 0.6962 GB, free: 6.031 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=3): time 0.0004455/0.216, allocations: 89.64 kB / 0.6963 GB, free: 5.938 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.216, allocations: 59.41 kB / 0.6964 GB, free: 5.867 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.2161, allocations: 109.8 kB / 0.6965 GB, free: 5.75 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2161, allocations: 25.7 kB / 0.6965 GB, free: 5.719 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.2162, allocations: 96.08 kB / 0.6966 GB, free: 5.621 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2162, allocations: 3.953 kB / 0.6966 GB, free: 5.617 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.2163, allocations: 17.72 kB / 0.6966 GB, free: 5.594 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001672/0.2164, allocations: 314.8 kB / 0.6969 GB, free: 5.277 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2166, allocations: 23.97 kB / 0.6969 GB, free: 5.254 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.2166, allocations: 19.98 kB / 0.697 GB, free: 5.234 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2168, allocations: 48.81 kB / 0.697 GB, free: 5.184 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2168, allocations: 0 / 0.697 GB, free: 5.184 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002347/0.2171, allocations: 69.66 kB / 0.6971 GB, free: 5.109 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2171, allocations: 7.281 kB / 0.6971 GB, free: 5.105 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2171, allocations: 4.312 kB / 0.6971 GB, free: 5.102 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2171, allocations: 7.938 kB / 0.6971 GB, free: 5.094 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.2172, allocations: 8 kB / 0.6971 GB, free: 5.086 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2172, allocations: 3.984 kB / 0.6971 GB, free: 5.082 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.2173, allocations: 15.94 kB / 0.6971 GB, free: 5.066 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2173, allocations: 4 kB / 0.6971 GB, free: 5.062 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: 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.0001026/0.2174, allocations: 113.8 kB / 0.6972 GB, free: 4.941 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.2174, allocations: 11.89 kB / 0.6972 GB, free: 4.93 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.2177, allocations: 89.62 kB / 0.6973 GB, free: 4.832 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2177, allocations: 4 kB / 0.6973 GB, free: 4.828 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2177, allocations: 0 / 0.6973 GB, free: 4.828 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2177, allocations: 0 / 0.6973 GB, free: 4.828 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.2179, allocations: 140.7 kB / 0.6975 GB, free: 4.648 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2179, allocations: 0 / 0.6975 GB, free: 4.648 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.218, allocations: 19.92 kB / 0.6975 GB, free: 4.629 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.218, allocations: 0 / 0.6975 GB, free: 4.629 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.218, allocations: 0 / 0.6975 GB, free: 4.629 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.218, allocations: 4 kB / 0.6975 GB, free: 4.625 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.218, allocations: 0 / 0.6975 GB, free: 4.625 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2183, allocations: 171.4 kB / 0.6977 GB, free: 4.441 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.2183, allocations: 7.953 kB / 0.6977 GB, free: 4.434 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.2183, allocations: 3.938 kB / 0.6977 GB, free: 4.43 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2184, allocations: 4 kB / 0.6977 GB, free: 4.426 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2185, allocations: 15.98 kB / 0.6977 GB, free: 4.41 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2185, allocations: 0 / 0.6977 GB, free: 4.41 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 6.717e-05/0.2185, allocations: 91.56 kB / 0.6978 GB, free: 4.32 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 9e-08/0.2185, allocations: 0 / 0.6978 GB, free: 4.32 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002351/0.2188, allocations: 12 kB / 0.6978 GB, free: 4.309 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: 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.0001714/0.219, allocations: 99.19 kB / 0.6979 GB, free: 4.203 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0002678/0.2192, allocations: 51.94 kB / 0.6979 GB, free: 4.152 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2192, allocations: 0 / 0.6979 GB, free: 4.152 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2193, allocations: 23.98 kB / 0.698 GB, free: 4.129 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2197, allocations: 3.938 kB / 0.698 GB, free: 4.125 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.2201, allocations: 133.4 kB / 0.6981 GB, free: 3.969 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2204, allocations: 0.6768 MB / 0.6987 GB, free: 3.266 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 3.463e-05/0.2205, allocations: 11.94 kB / 0.6988 GB, free: 3.254 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.2205, allocations: 11.44 kB / 0.6988 GB, free: 3.242 MB / 0.5137 GB
Notification: Performance of SimCode: time 4.11e-07/0.2205, allocations: 0 / 0.6988 GB, free: 3.242 MB / 0.5137 GB
Notification: Performance of Templates: time 0.003898/0.2244, allocations: 0.7702 MB / 0.6995 GB, free: 2.473 MB / 0.5137 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.9264326160773635]
Failed to read output from testmodel.py, exit status != 0:
0.23268752358853817 0.250115417 0.033519828
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7072bf17b0>