Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001272/0.001272, allocations: 75.75 kB / 19.76 MB, free: 2.023 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.001365/0.001365, allocations: 154.2 kB / 23 MB, free: 4.953 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.397/1.397, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.8024/0.8024, allocations: 101.3 MB / 361.1 MB, free: 9.539 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002075/0.002075, allocations: 66.48 kB / 0.5356 GB, free: 5.246 MB / 446.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.1395/0.1416, allocations: 85.89 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002859/0.1445, allocations: 1.551 MB / 0.621 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003828/0.1448, allocations: 124.5 kB / 0.6211 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1449, allocations: 0 / 0.6211 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.1449, allocations: 3.938 kB / 0.6211 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.145, allocations: 7.938 kB / 0.6211 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1452, allocations: 39.89 kB / 0.6212 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.1453, allocations: 39.84 kB / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.1454, allocations: 12 kB / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.1454, allocations: 19.91 kB / 0.6213 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.1455, allocations: 15.92 kB / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1455, allocations: 4 kB / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.1456, allocations: 19.98 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1456, allocations: 7.984 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1456, allocations: 19.86 kB / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1457, allocations: 43.83 kB / 0.6214 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1457, allocations: 0 / 0.6214 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1457, allocations: 4 kB / 0.6214 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1457, allocations: 0 / 0.6214 GB, free: 15.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004493/0.1462, allocations: 278.2 kB / 0.6216 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1462, allocations: 15.97 kB / 0.6216 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.1462, allocations: 0.9375 kB / 0.6216 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1464, allocations: 114.5 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1464, allocations: 4.375 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1464, allocations: 4.375 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.1466, allocations: 74.12 kB / 0.6218 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1466, allocations: 192 / 0.6218 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1466, allocations: 3.938 kB / 0.6218 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1466, allocations: 8 kB / 0.6218 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.1468, allocations: 43.95 kB / 0.6219 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1472, allocations: 212.5 kB / 0.6221 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1475, allocations: 66.41 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1476, allocations: 20.91 kB / 0.6222 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.1477, allocations: 19.98 kB / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1477, allocations: 38.56 kB / 0.6222 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1477, allocations: 0 / 0.6222 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003979/0.1481, allocations: 97.56 kB / 0.6223 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1482, allocations: 51.41 kB / 0.6224 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.1483, allocations: 105.8 kB / 0.6225 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1483, allocations: 29.7 kB / 0.6225 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.1483, allocations: 84.14 kB / 0.6226 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1483, allocations: 3.953 kB / 0.6226 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.1484, allocations: 25.7 kB / 0.6226 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1485, allocations: 314.8 kB / 0.6229 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.1486, allocations: 15.98 kB / 0.6229 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.1487, allocations: 24.16 kB / 0.6229 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1489, allocations: 48.91 kB / 0.623 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1489, allocations: 3.938 kB / 0.623 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002339/0.1491, allocations: 89.47 kB / 0.6231 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1491, allocations: 4 kB / 0.6231 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1491, allocations: 0 / 0.6231 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1492, allocations: 0 / 0.6231 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.1492, allocations: 11.98 kB / 0.6231 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1492, allocations: 0 / 0.6231 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.1493, allocations: 11.98 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1493, allocations: 0 / 0.6231 GB, free: 13.68 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: 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 8.647e-05/0.1494, allocations: 121.7 kB / 0.6232 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1494, allocations: 8 kB / 0.6232 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.1497, allocations: 85.27 kB / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1497, allocations: 0 / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1497, allocations: 0 / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1497, allocations: 0 / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1498, allocations: 113.5 kB / 0.6234 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1499, allocations: 4 kB / 0.6234 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.1499, allocations: 11.98 kB / 0.6234 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1499, allocations: 4 kB / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1499, allocations: 4 kB / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1499, allocations: 0 / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1499, allocations: 0 / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1502, allocations: 175.4 kB / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.1502, allocations: 4 kB / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1503, allocations: 4 kB / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.1503, allocations: 7.984 kB / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1504, allocations: 0 / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1504, allocations: 11.92 kB / 0.6236 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.1504, allocations: 87.28 kB / 0.6237 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1504, allocations: 0 / 0.6237 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002354/0.1507, allocations: 8 kB / 0.6237 GB, free: 12.98 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: 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 0.0001365/0.1508, allocations: 99.31 kB / 0.6238 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1511, allocations: 47.94 kB / 0.6239 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1511, allocations: 0 / 0.6239 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1512, allocations: 28.22 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1514, allocations: 6.125 kB / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.1517, allocations: 133.4 kB / 0.624 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.1518, allocations: 63.34 kB / 0.6241 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.1518, allocations: 7.984 kB / 0.6241 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.1518, allocations: 8.5 kB / 0.6241 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1518, allocations: 4 kB / 0.6241 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.003259/0.1551, allocations: 0.7626 MB / 0.6249 GB, free: 11.79 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.082361896056682] Failed to read output from testmodel.py, exit status != 0: 0.16228132997639477 0.17796635000000002 0.0291431 Calling exit ...