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.0009729/0.0009729, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001175/0.001175, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.645 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-535:34: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-535:42: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.9224/0.9224, allocations: 154.8 MB / 414.7 MB, free: 468 kB / 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.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 1.723e-06/1.723e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.092e-05, allocations: 5.062 kB / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00191/0.001941, allocations: 0.6072 MB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.00223, allocations: 53.48 kB / 0.5213 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.002253, allocations: 0 / 0.5213 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.002301, allocations: 5.594 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.002308, allocations: 0 / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.002658, allocations: 16.14 kB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.002743, allocations: 39.89 kB / 0.5213 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.002779, allocations: 4.969 kB / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.00281, allocations: 4 kB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.002834, allocations: 23.91 kB / 0.5214 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.002849, allocations: 2.031 kB / 0.5214 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.002938, allocations: 19.95 kB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.002965, allocations: 12 kB / 0.5214 GB, free: 1.133 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.002992, allocations: 7.984 kB / 0.5214 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.003104, allocations: 39.88 kB / 0.5214 GB, free: 1.086 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.003108, allocations: 4.75 kB / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.003109, allocations: 0 / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.003114, allocations: 0 / 0.5214 GB, free: 1.082 MB / 490.7 MB 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.0002851/0.003399, allocations: 357 kB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.003436, allocations: 8.594 kB / 0.5218 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.003476, allocations: 17.23 kB / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.336e-05/0.00354, allocations: 109.3 kB / 0.5219 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.003553, allocations: 8.312 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.003566, allocations: 5.797 kB / 0.5219 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.003681, allocations: 58.23 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.003691, allocations: 192 / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.003701, allocations: 384 / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.003709, allocations: 5.094 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.003795, allocations: 87.81 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.003915, allocations: 121.4 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.003992, allocations: 66.97 kB / 0.5222 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.004024, allocations: 26.8 kB / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.00419, allocations: 19.98 kB / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.004216, allocations: 37.39 kB / 0.5223 GB, free: 52 kB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.004217, allocations: 0 / 0.5223 GB, free: 52 kB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001909/0.004408, allocations: 100.1 kB / 0.5224 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.004439, allocations: 51.41 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.004501, allocations: 150.2 kB / 0.5226 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.004516, allocations: 29.64 kB / 0.5226 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.004554, allocations: 135.3 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.004594, allocations: 24.8 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.004649, allocations: 39.36 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.004795, allocations: 496.1 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.004826, allocations: 12.58 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.004847, allocations: 12 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.726e-05/0.004915, allocations: 44.64 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004917, allocations: 0 / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.725e-05/0.005014, allocations: 85.53 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005027, allocations: 4 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005032, allocations: 0 / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.005048, allocations: 4.875 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.005133, allocations: 19.92 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.00514, allocations: 5.031 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.005156, allocations: 7.891 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.005163, allocations: 4 kB / 0.5235 GB, free: 14.79 MB / 0.4948 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 7.66e-05/0.005239, allocations: 165.8 kB / 0.5236 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.005248, allocations: 4.625 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.005397, allocations: 121.4 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005398, allocations: 1.625 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005402, allocations: 0 / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005405, allocations: 3.938 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.614e-05/0.005482, allocations: 124.6 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005482, allocations: 1.188 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.005523, allocations: 19.98 kB / 0.5239 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.005526, allocations: 7.984 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005533, allocations: 4.812 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.005535, allocations: 0 / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005535, allocations: 1.188 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.005639, allocations: 132.2 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005646, allocations: 11.92 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.005657, allocations: 4.719 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-06/0.005665, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.005695, allocations: 12.55 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.0057, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.005728, allocations: 121 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005728, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001404/0.005868, allocations: 16 kB / 0.5242 GB, free: 13.98 MB / 0.4948 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.0001362/0.006004, allocations: 108.8 kB / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.006111, allocations: 55.59 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006112, allocations: 0 / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.006146, allocations: 49.36 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.006248, allocations: 6.5 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.006521, allocations: 146.2 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.006556, allocations: 59.34 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.006606, allocations: 34.09 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.006634, allocations: 16.48 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.006635, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.002342/0.008977, allocations: 0.5894 MB / 0.5252 GB, free: 12.89 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.079649090766907]