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.001407/0.001407, allocations: 78.64 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.002522/0.002522, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.508/1.508, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.214/1.214, allocations: 154.6 MB / 413.7 MB, free: 5.277 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.855e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001875/0.001914, allocations: 0.5998 MB / 0.6192 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.002222, allocations: 55.73 kB / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.002247, allocations: 0 / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.00229, allocations: 0.5312 kB / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-06/0.002298, allocations: 0 / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.002645, allocations: 27.91 kB / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.00273, allocations: 31.95 kB / 0.6193 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.002766, allocations: 0 / 0.6193 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.002807, allocations: 12 kB / 0.6193 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.002845, allocations: 15.97 kB / 0.6193 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.002863, allocations: 4 kB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.002953, allocations: 15.97 kB / 0.6193 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.002983, allocations: 15.92 kB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.00301, allocations: 8 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003123, allocations: 43.86 kB / 0.6194 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.003128, allocations: 8 kB / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.02e-07/0.003129, allocations: 0 / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003133, allocations: 0 / 0.6194 GB, free: 3.762 MB / 0.5294 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.0003562/0.003489, allocations: 262.3 kB / 0.6196 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.003524, allocations: 9.469 kB / 0.6197 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.003558, allocations: 0.9375 kB / 0.6197 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.003665, allocations: 109.7 kB / 0.6198 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.003684, allocations: 12.3 kB / 0.6198 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.003696, allocations: 4.375 kB / 0.6198 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.003843, allocations: 62.23 kB / 0.6198 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.003852, allocations: 192 / 0.6198 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.003863, allocations: 8.375 kB / 0.6198 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.003868, allocations: 384 / 0.6198 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.004039, allocations: 99.8 kB / 0.6199 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.004216, allocations: 121.2 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.004354, allocations: 74.41 kB / 0.6201 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.004405, allocations: 28.84 kB / 0.6201 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.004613, allocations: 19.98 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.004648, allocations: 34.56 kB / 0.6202 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.004649, allocations: 336 / 0.6202 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002766/0.004926, allocations: 113.5 kB / 0.6203 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.00498, allocations: 51.41 kB / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.005043, allocations: 105.8 kB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.005064, allocations: 25.7 kB / 0.6205 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.005112, allocations: 92.08 kB / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.005145, allocations: 19.8 kB / 0.6206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.005193, allocations: 29.7 kB / 0.6206 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.005357, allocations: 318.8 kB / 0.6209 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.00541, allocations: 19.98 kB / 0.6209 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/0.005452, allocations: 27.31 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.005563, allocations: 56.83 kB / 0.621 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005564, allocations: 0 / 0.621 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000151/0.005715, allocations: 101.6 kB / 0.6211 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005729, allocations: 4 kB / 0.6211 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.005734, allocations: 0 / 0.6211 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.00575, allocations: 0 / 0.6211 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.005862, allocations: 19.98 kB / 0.6211 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005868, allocations: 3.938 kB / 0.6211 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.005893, allocations: 11.89 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.005901, allocations: 0 / 0.6212 GB, free: 1.781 MB / 0.5294 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.0001843/0.006085, allocations: 126.8 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.006098, allocations: 8 kB / 0.6213 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.006339, allocations: 121.5 kB / 0.6214 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.006351, allocations: 4 kB / 0.6214 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.006361, allocations: 3.984 kB / 0.6214 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.006365, allocations: 3.938 kB / 0.6214 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.006498, allocations: 117.2 kB / 0.6215 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.006501, allocations: 3.984 kB / 0.6215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.006573, allocations: 16 kB / 0.6215 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006574, allocations: 0 / 0.6215 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.006587, allocations: 4 kB / 0.6215 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.006592, allocations: 3.984 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006593, allocations: 4 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.006786, allocations: 127.8 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.006798, allocations: 11.89 kB / 0.6217 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.006813, allocations: 3.984 kB / 0.6217 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.006832, allocations: 4 kB / 0.6217 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.006875, allocations: 11.92 kB / 0.6217 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.006883, allocations: 4 kB / 0.6217 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.006919, allocations: 75.28 kB / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.006919, allocations: 0 / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002068/0.007126, allocations: 16 kB / 0.6218 GB, free: 1.055 MB / 0.5294 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.000211/0.007337, allocations: 111.2 kB / 0.6219 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.007486, allocations: 63.84 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007488, allocations: 4 kB / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.007546, allocations: 31.92 kB / 0.622 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.007689, allocations: 6.656 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.00802, allocations: 144.8 kB / 0.6221 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.027e-05/0.00809, allocations: 67.34 kB / 0.6222 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.721e-05/0.008177, allocations: 39.95 kB / 0.6222 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.008207, allocations: 16.5 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.008208, allocations: 0 / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of Templates: time 0.003446/0.01165, allocations: 0.5799 MB / 0.6228 GB, free: 15.95 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.820102956146002] Failed to read output from testmodel.py, exit status != 0: 0.02049683779478073 0.035087001 0.028871552 Calling exit ...