Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001568/0.001568, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001636/0.001636, allocations: 162.8 kB / 23.01 MB, free: 4.598 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.384/1.384, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 179] 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.7869/0.7869, allocations: 101.3 MB / 361.1 MB, free: 8.777 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002123/0.002123, allocations: 76.38 kB / 0.5357 GB, free: 12.66 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1425, allocations: 85.88 MB / 0.6195 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00173/0.1442, allocations: 0.5881 MB / 0.6201 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002441/0.1444, allocations: 55.8 kB / 0.6202 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.1445, allocations: 4 kB / 0.6202 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.1445, allocations: 0 / 0.6202 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.1445, allocations: 4 kB / 0.6202 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1447, allocations: 15.92 kB / 0.6202 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.1448, allocations: 27.97 kB / 0.6202 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.1449, allocations: 4 kB / 0.6202 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.1449, allocations: 11.98 kB / 0.6202 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.1449, allocations: 11.98 kB / 0.6202 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1449, allocations: 0 / 0.6202 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.145, allocations: 19.97 kB / 0.6203 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.145, allocations: 19.92 kB / 0.6203 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.1451, allocations: 15.94 kB / 0.6203 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1452, allocations: 39.81 kB / 0.6203 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1452, allocations: 4 kB / 0.6203 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1452, allocations: 0 / 0.6203 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1452, allocations: 0 / 0.6203 GB, free: 5.938 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.0003128/0.1455, allocations: 262.3 kB / 0.6206 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1455, allocations: 8.031 kB / 0.6206 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1456, allocations: 0.9375 kB / 0.6206 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.1456, allocations: 106.5 kB / 0.6207 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1457, allocations: 4.375 kB / 0.6207 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.1457, allocations: 8.312 kB / 0.6207 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1458, allocations: 73.98 kB / 0.6208 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1458, allocations: 4.188 kB / 0.6208 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1458, allocations: 3.938 kB / 0.6208 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1458, allocations: 0 / 0.6208 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.146, allocations: 95.86 kB / 0.6209 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1461, allocations: 125.2 kB / 0.621 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1462, allocations: 70.53 kB / 0.6211 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.1463, allocations: 28.78 kB / 0.6211 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.1464, allocations: 19.98 kB / 0.6211 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1465, allocations: 34.56 kB / 0.6211 GB, free: 5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1465, allocations: 0 / 0.6211 GB, free: 5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002408/0.1467, allocations: 117.9 kB / 0.6212 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1467, allocations: 55.41 kB / 0.6213 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.1468, allocations: 97.8 kB / 0.6214 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1468, allocations: 33.7 kB / 0.6214 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.1469, allocations: 80.14 kB / 0.6215 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1469, allocations: 19.86 kB / 0.6215 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.1469, allocations: 25.7 kB / 0.6215 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1471, allocations: 318.8 kB / 0.6218 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.1471, allocations: 19.98 kB / 0.6219 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.1471, allocations: 23.92 kB / 0.6219 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1472, allocations: 60.83 kB / 0.6219 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1472, allocations: 4 kB / 0.622 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.1474, allocations: 93.11 kB / 0.622 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1474, allocations: 4 kB / 0.622 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1474, allocations: 0 / 0.622 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1474, allocations: 3.938 kB / 0.622 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1475, allocations: 23.92 kB / 0.6221 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1475, allocations: 0 / 0.6221 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.1476, allocations: 11.89 kB / 0.6221 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1476, allocations: 4 kB / 0.6221 GB, free: 3.965 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.0001239/0.1477, allocations: 127.5 kB / 0.6222 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1477, allocations: 4 kB / 0.6222 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1479, allocations: 125.5 kB / 0.6223 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1479, allocations: 7.938 kB / 0.6223 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1479, allocations: 0 / 0.6223 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1479, allocations: 3.984 kB / 0.6223 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.148, allocations: 121.2 kB / 0.6225 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.148, allocations: 3.938 kB / 0.6225 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.1481, allocations: 23.98 kB / 0.6225 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1481, allocations: 4 kB / 0.6225 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1481, allocations: 0 / 0.6225 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.1481, allocations: 7.938 kB / 0.6225 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1481, allocations: 4 kB / 0.6225 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1483, allocations: 113.1 kB / 0.6226 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.1483, allocations: 11.89 kB / 0.6226 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1483, allocations: 11.88 kB / 0.6226 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.1483, allocations: 0 / 0.6226 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1484, allocations: 11.97 kB / 0.6226 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1484, allocations: 4 kB / 0.6226 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.1484, allocations: 75.28 kB / 0.6227 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1484, allocations: 0 / 0.6227 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000205/0.1486, allocations: 16 kB / 0.6227 GB, free: 3.234 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.0001465/0.1488, allocations: 107.2 kB / 0.6228 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1489, allocations: 59.89 kB / 0.6229 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1489, allocations: 0 / 0.6229 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.149, allocations: 31.98 kB / 0.6229 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.1491, allocations: 4 kB / 0.6229 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.1494, allocations: 163.5 kB / 0.6231 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.1494, allocations: 75.28 kB / 0.6232 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.1495, allocations: 31.95 kB / 0.6232 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.1495, allocations: 16.5 kB / 0.6232 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1495, allocations: 0 / 0.6232 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of Templates: time 0.002849/0.1524, allocations: 0.5615 MB / 0.6237 GB, free: 2.148 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.981596253928728] Failed to read output from testmodel.py, exit status != 0: 0.16028153209481388 0.175237512 0.026982288 Calling exit ...