Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001458/0.001458, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00163/0.00163, allocations: 214.4 kB / 22.25 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.311/1.311, allocations: 203.8 MB / 0.5042 GB, free: 4.598 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 63.89 kB / 0.7187 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6647, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001899/0.6666, allocations: 0.593 MB / 0.8189 GB, free: 28.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.6669, allocations: 57 kB / 0.8189 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.6669, allocations: 1.344 kB / 0.8189 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.6669, allocations: 1.062 kB / 0.8189 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.6669, allocations: 2.516 kB / 0.8189 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.6673, allocations: 18.7 kB / 0.819 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.6674, allocations: 27.3 kB / 0.819 GB, free: 28.53 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.6674, allocations: 2.531 kB / 0.819 GB, free: 28.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.967e-05/0.6675, allocations: 16.27 kB / 0.819 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.6675, allocations: 7.047 kB / 0.819 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.6675, allocations: 3.031 kB / 0.819 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.6676, allocations: 27.06 kB / 0.819 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.6677, allocations: 12.55 kB / 0.8191 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.6677, allocations: 13.2 kB / 0.8191 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.6678, allocations: 37.02 kB / 0.8191 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6678, allocations: 1.844 kB / 0.8191 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6678, allocations: 0 / 0.8191 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.6678, allocations: 1.125 kB / 0.8191 GB, free: 28.49 MB / 0.6387 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.0003296/0.6682, allocations: 264.5 kB / 0.8194 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.6682, allocations: 11.91 kB / 0.8194 GB, free: 28.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.6683, allocations: 8.203 kB / 0.8194 GB, free: 28.22 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.608e-05/0.6683, allocations: 109.6 kB / 0.8195 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.6683, allocations: 6.531 kB / 0.8195 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.6684, allocations: 8.062 kB / 0.8195 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.6685, allocations: 61.61 kB / 0.8195 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6685, allocations: 2.062 kB / 0.8196 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6685, allocations: 4.812 kB / 0.8196 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6686, allocations: 1.594 kB / 0.8196 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.6687, allocations: 95.02 kB / 0.8196 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.6688, allocations: 123 kB / 0.8198 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.669, allocations: 76.25 kB / 0.8198 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.669, allocations: 29.67 kB / 0.8199 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.6692, allocations: 25.58 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6693, allocations: 36.91 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.6693, allocations: 1.062 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0002859/0.6695, allocations: 114.3 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.6696, allocations: 53.44 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/0.6696, allocations: 101.4 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.6696, allocations: 28.36 kB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.6696, allocations: 88.08 kB / 0.8203 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.6697, allocations: 20.64 kB / 0.8203 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.6697, allocations: 31.73 kB / 0.8203 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.6697, allocations: 323.3 kB / 0.8207 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.6698, allocations: 20.14 kB / 0.8207 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.6698, allocations: 22.78 kB / 0.8207 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.6699, allocations: 56.72 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6699, allocations: 0 / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001422/0.6701, allocations: 94.95 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6701, allocations: 4.656 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6701, allocations: 4.438 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6701, allocations: 4.594 kB / 0.8209 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.6702, allocations: 22.19 kB / 0.8209 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6702, allocations: 1.188 kB / 0.8209 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.6703, allocations: 5.172 kB / 0.8209 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.6703, allocations: 2.828 kB / 0.8209 GB, free: 26.99 MB / 0.6387 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.0001104/0.6704, allocations: 126.4 kB / 0.821 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.6704, allocations: 6.172 kB / 0.821 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.6707, allocations: 133.3 kB / 0.8211 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6707, allocations: 2.156 kB / 0.8211 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6707, allocations: 3.938 kB / 0.8211 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6707, allocations: 1.812 kB / 0.8211 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.539e-05/0.6707, allocations: 115.4 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6708, allocations: 0.9688 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.6708, allocations: 17.44 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6708, allocations: 4.719 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6708, allocations: 6.844 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6708, allocations: 3.938 kB / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6708, allocations: 0.9375 kB / 0.8213 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.671, allocations: 118.3 kB / 0.8214 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.671, allocations: 6.75 kB / 0.8214 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.671, allocations: 5.406 kB / 0.8214 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.6711, allocations: 4.688 kB / 0.8214 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.6711, allocations: 8.016 kB / 0.8214 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6711, allocations: 3.703 kB / 0.8214 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.453e-05/0.6711, allocations: 84.16 kB / 0.8215 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.6711, allocations: 3.938 kB / 0.8215 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002036/0.6713, allocations: 19.23 kB / 0.8215 GB, free: 26.47 MB / 0.6387 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.0001701/0.6715, allocations: 109.1 kB / 0.8216 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.6717, allocations: 59.03 kB / 0.8217 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6717, allocations: 0.6562 kB / 0.8217 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.6718, allocations: 32.95 kB / 0.8217 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.6719, allocations: 7.516 kB / 0.8217 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.6722, allocations: 153.6 kB / 0.8219 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.6723, allocations: 66.41 kB / 0.8219 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.6724, allocations: 41.16 kB / 0.822 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.6724, allocations: 19.22 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6724, allocations: 3.938 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.003317/0.6758, allocations: 0.5672 MB / 0.8226 GB, free: 26.04 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.887256791815162] Failed to read output from testmodel.py, exit status != 0: 0.6859160810709 0.698041887 0.027342555 Calling exit ...