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.001378/0.001378, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001252/0.001252, allocations: 173 kB / 23.49 MB, free: 1.055 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.9958/0.9958, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.9275/0.9275, allocations: 154.8 MB / 415.1 MB, free: 0.5078 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.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.593e-06/1.593e-06, allocations: 0 / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.773e-05, allocations: 5.375 kB / 0.5206 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001221/0.001249, allocations: 0.6035 MB / 0.5212 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.001475, allocations: 52.36 kB / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.0015, allocations: 0 / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.001537, allocations: 1.875 kB / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.001543, allocations: 0 / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.001983, allocations: 27.84 kB / 0.5213 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.002058, allocations: 32.58 kB / 0.5213 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.002091, allocations: 1.25 kB / 0.5213 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.002121, allocations: 12.77 kB / 0.5213 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.002144, allocations: 11.97 kB / 0.5214 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.002158, allocations: 4 kB / 0.5214 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.002233, allocations: 17.25 kB / 0.5214 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.00226, allocations: 23.91 kB / 0.5214 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.002283, allocations: 5.531 kB / 0.5214 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.002378, allocations: 35.92 kB / 0.5214 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00238, allocations: 3.938 kB / 0.5214 GB, free: 1.418 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002381, allocations: 0 / 0.5214 GB, free: 1.418 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.002386, allocations: 1.031 kB / 0.5214 GB, free: 1.418 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.0002626/0.002648, allocations: 364.3 kB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.00268, allocations: 8.031 kB / 0.5218 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.002727, allocations: 9.922 kB / 0.5218 GB, free: 1.008 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.498e-05/0.002792, allocations: 116.5 kB / 0.5219 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.002804, allocations: 5.656 kB / 0.5219 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.002814, allocations: 4.375 kB / 0.5219 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.002917, allocations: 61.5 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.002925, allocations: 0.8438 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.002934, allocations: 4.375 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.002941, allocations: 1.312 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.003025, allocations: 87.81 kB / 0.5221 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.003142, allocations: 117.2 kB / 0.5222 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.00322, allocations: 71.02 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.00325, allocations: 28.52 kB / 0.5223 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.003409, allocations: 19.98 kB / 0.5223 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.003428, allocations: 35.48 kB / 0.5223 GB, free: 392 kB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.003429, allocations: 0 / 0.5223 GB, free: 392 kB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001783/0.003607, allocations: 97.56 kB / 0.5224 GB, free: 288 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.003635, allocations: 55.41 kB / 0.5225 GB, free: 220 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.021e-05/0.003686, allocations: 146.2 kB / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.003696, allocations: 25.92 kB / 0.5227 GB, free: 28 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.003737, allocations: 131.9 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.003767, allocations: 35.72 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.003804, allocations: 36.77 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.003912, allocations: 0.4884 MB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.003937, allocations: 11.98 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.003955, allocations: 8 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.004021, allocations: 47.22 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.004024, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.699e-05/0.004121, allocations: 87.05 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.004133, allocations: 4 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.004138, allocations: 0 / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.00415, allocations: 0 / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.004225, allocations: 20.5 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.00423, allocations: 0 / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.004247, allocations: 16.91 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.004252, allocations: 0 / 0.5235 GB, free: 15.12 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.918e-05/0.004331, allocations: 165.4 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.004342, allocations: 8.625 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.004485, allocations: 118.1 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.004487, allocations: 0 / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.004491, allocations: 1.188 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.004495, allocations: 7.875 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.785e-05/0.004563, allocations: 120.6 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004564, allocations: 2.719 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.004608, allocations: 19.98 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.004611, allocations: 0 / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.004623, allocations: 12 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.004624, allocations: 0 / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.004626, allocations: 0 / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.00473, allocations: 128.2 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.004737, allocations: 7.922 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.004747, allocations: 2.438 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.004756, allocations: 8 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.004787, allocations: 11.92 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.004791, allocations: 0 / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.004822, allocations: 119.2 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004822, allocations: 3.938 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001327/0.004955, allocations: 17.53 kB / 0.5242 GB, free: 14.32 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.0001371/0.005092, allocations: 107.2 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.005199, allocations: 59.8 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.005202, allocations: 4 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.005241, allocations: 36.67 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.992e-05/0.00534, allocations: 4 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.005588, allocations: 149.4 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.00562, allocations: 55.36 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.005666, allocations: 31.95 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.005701, allocations: 24.48 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.005702, allocations: 0 / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.002374/0.008077, allocations: 0.5945 MB / 0.5253 GB, free: 13.23 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.005065073026344]