Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001081/0.001081, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007674/0.0007674, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8699/0.8699, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7029/0.7029, allocations: 154.6 MB / 414.5 MB, free: 0.8633 MB / 378.7 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 179] 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.353e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002423/0.002446, allocations: 1.555 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002797/0.002726, allocations: 135.6 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.002758, allocations: 4 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.002783, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.002821, allocations: 11.86 kB / 0.621 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.003085, allocations: 31.84 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.003145, allocations: 35.92 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.003229, allocations: 15.97 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.003264, allocations: 15.98 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.003298, allocations: 15.92 kB / 0.6211 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.003311, allocations: 4 kB / 0.6211 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.003383, allocations: 23.97 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.003394, allocations: 7.984 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.003412, allocations: 15.94 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.003584, allocations: 47.86 kB / 0.6212 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003586, allocations: 0 / 0.6212 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003587, allocations: 4 kB / 0.6212 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.00359, allocations: 0 / 0.6212 GB, free: 11.32 MB / 0.5886 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.0003174/0.003908, allocations: 278.2 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.00394, allocations: 13.47 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.003964, allocations: 0.9375 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.004041, allocations: 125.5 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.004058, allocations: 384 / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.004068, allocations: 8.375 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.00419, allocations: 62.22 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.004196, allocations: 192 / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004206, allocations: 4.375 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00421, allocations: 4.375 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.004314, allocations: 47.88 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.004569, allocations: 216.5 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.004759, allocations: 58.61 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.004805, allocations: 20.83 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.004894, allocations: 19.98 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.004908, allocations: 34.5 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004909, allocations: 0 / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002142/0.005123, allocations: 101.5 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.005149, allocations: 59.41 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.675e-05/0.005195, allocations: 97.86 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.005205, allocations: 25.7 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.005239, allocations: 92.12 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.005252, allocations: 3.953 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.005279, allocations: 13.72 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.005349, allocations: 322.8 kB / 0.6227 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.005391, allocations: 15.98 kB / 0.6227 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.00543, allocations: 15.98 kB / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.005513, allocations: 52.81 kB / 0.6228 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005515, allocations: 0 / 0.6228 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002326/0.005747, allocations: 85.48 kB / 0.6229 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.005758, allocations: 7.984 kB / 0.6229 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.005761, allocations: 3.938 kB / 0.6229 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.00577, allocations: 0 / 0.6229 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.00581, allocations: 11.98 kB / 0.6229 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005814, allocations: 4 kB / 0.6229 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.005838, allocations: 4.25 kB / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.005842, allocations: 0 / 0.6229 GB, free: 9.371 MB / 0.5886 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 4.854e-05/0.00589, allocations: 114.8 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.005903, allocations: 7.922 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.006042, allocations: 93.58 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006044, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.006046, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006049, allocations: 7.938 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.065e-05/0.006129, allocations: 109.3 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00613, allocations: 0 / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.00616, allocations: 15.98 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006161, allocations: 0 / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.006167, allocations: 3.938 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006168, allocations: 4 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006169, allocations: 0 / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.006297, allocations: 167.5 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.006303, allocations: 11.92 kB / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.006315, allocations: 7.938 kB / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.006352, allocations: 3.938 kB / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.006389, allocations: 11.98 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006392, allocations: 0 / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.006417, allocations: 83.27 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006417, allocations: 4 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001455/0.006563, allocations: 8 kB / 0.6235 GB, free: 8.66 MB / 0.5886 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 9.23e-05/0.006655, allocations: 99.25 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.006775, allocations: 43.95 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.006775, allocations: 0 / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.006822, allocations: 31.91 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.006992, allocations: 10.19 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.007212, allocations: 138.6 kB / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.007251, allocations: 67.34 kB / 0.6239 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.007274, allocations: 20.42 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.007274, allocations: 0 / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of Templates: time 0.001402/0.008676, allocations: 0.8082 MB / 0.6247 GB, free: 7.398 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.975989266298711] Failed to read output from testmodel.py, exit status != 0: 0.013543721288442612 0.020154400000000003 0.015033012 Calling exit ...