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.0007645/0.0007645, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008106/0.0008106, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8673/0.8673, allocations: 230.6 MB / 256.8 MB, free: 3.43 MB / 202.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.7313/0.7313, allocations: 203.8 MB / 0.5049 GB, free: 0.7383 MB / 410.7 MB " [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.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.000849/0.000849, allocations: 71.89 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4123, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001289/0.4136, allocations: 0.5991 MB / 0.8197 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000235/0.4138, allocations: 60.56 kB / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.4139, allocations: 1.062 kB / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.4139, allocations: 0 / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.4139, allocations: 0 / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.4142, allocations: 18.39 kB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.4143, allocations: 26.19 kB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.4143, allocations: 10.2 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.4143, allocations: 12.8 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.4143, allocations: 12.31 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.4144, allocations: 1.25 kB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.4144, allocations: 28.59 kB / 0.8199 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.4145, allocations: 14.47 kB / 0.8199 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.4145, allocations: 9.25 kB / 0.8199 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.4146, allocations: 39.33 kB / 0.8199 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4146, allocations: 0 / 0.8199 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.624e-06/0.4146, allocations: 0 / 0.8199 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4146, allocations: 0 / 0.8199 GB, free: 24.75 MB / 0.6355 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.0002183/0.4148, allocations: 265.7 kB / 0.8202 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4149, allocations: 11.16 kB / 0.8202 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.4149, allocations: 3.625 kB / 0.8202 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.684e-05/0.4149, allocations: 109 kB / 0.8203 GB, free: 24.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.415, allocations: 6.781 kB / 0.8203 GB, free: 24.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.415, allocations: 9.328 kB / 0.8203 GB, free: 24.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4151, allocations: 65.91 kB / 0.8204 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4151, allocations: 192 / 0.8204 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4151, allocations: 4.656 kB / 0.8204 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4151, allocations: 2.969 kB / 0.8204 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4152, allocations: 100.5 kB / 0.8205 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.4154, allocations: 149 kB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4155, allocations: 75.53 kB / 0.8207 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.4155, allocations: 25.58 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.4157, allocations: 23.92 kB / 0.8207 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4157, allocations: 34.55 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.4157, allocations: 0 / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002306/0.4159, allocations: 118.3 kB / 0.8209 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.416, allocations: 53.94 kB / 0.8209 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.177e-05/0.416, allocations: 96.67 kB / 0.821 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.416, allocations: 35.5 kB / 0.8211 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-06/0.416, allocations: 84.08 kB / 0.8211 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.416, allocations: 23.91 kB / 0.8212 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.4161, allocations: 28.41 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.4161, allocations: 318.5 kB / 0.8215 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.4161, allocations: 18.78 kB / 0.8215 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.4162, allocations: 21.05 kB / 0.8215 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.745e-05/0.4163, allocations: 64.62 kB / 0.8216 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4163, allocations: 3.938 kB / 0.8216 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000113/0.4164, allocations: 89.47 kB / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4164, allocations: 8.453 kB / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4164, allocations: 7.5 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4164, allocations: 1.375 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.4165, allocations: 22.09 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4165, allocations: 5.625 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.4165, allocations: 8.578 kB / 0.8217 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4165, allocations: 4.031 kB / 0.8217 GB, free: 23.22 MB / 0.6355 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 9.514e-05/0.4166, allocations: 124.2 kB / 0.8219 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.4166, allocations: 2.094 kB / 0.8219 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.4168, allocations: 131 kB / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4168, allocations: 1.594 kB / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4168, allocations: 0 / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4168, allocations: 8.641 kB / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.832e-05/0.4169, allocations: 148.9 kB / 0.8221 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4169, allocations: 0.75 kB / 0.8221 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.4169, allocations: 18.95 kB / 0.8222 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4169, allocations: 3.938 kB / 0.8222 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.417, allocations: 5.812 kB / 0.8222 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.417, allocations: 1.906 kB / 0.8222 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.417, allocations: 0 / 0.8222 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.4171, allocations: 130 kB / 0.8223 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.4171, allocations: 6.562 kB / 0.8223 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.4171, allocations: 0.6562 kB / 0.8223 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.4171, allocations: 4.75 kB / 0.8223 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4171, allocations: 8.859 kB / 0.8223 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4171, allocations: 3.203 kB / 0.8223 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.868e-06/0.4171, allocations: 75.28 kB / 0.8224 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4171, allocations: 0.5312 kB / 0.8224 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001407/0.4173, allocations: 15.47 kB / 0.8224 GB, free: 22.66 MB / 0.6355 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.0001198/0.4174, allocations: 110.7 kB / 0.8225 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.4175, allocations: 66.31 kB / 0.8226 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4175, allocations: 0 / 0.8226 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.4176, allocations: 29.59 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.4177, allocations: 9.125 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.4179, allocations: 176.2 kB / 0.8228 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.418, allocations: 0.6862 MB / 0.8234 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.418, allocations: 19.7 kB / 0.8235 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.418, allocations: 0 / 0.8235 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.002206/0.4202, allocations: 0.9527 MB / 0.8244 GB, free: 21.59 MB / 0.6355 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.478358573978767] Failed to read output from testmodel.py, exit status != 0: 0.4256780918221921 0.43438447 0.018136937000000002 Calling exit ...