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.0009254/0.0009254, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.00225, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00104/0.00104, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002374, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.017/1.017, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08931/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8058/0.8058, allocations: 154.6 MB / 398.8 MB, free: 404 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.3076/1.113, allocations: 49.05 MB / 447.8 MB, free: 6.57 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 449.2 MB, free: 5.195 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.353e-05, allocations: 4.422 kB / 449.2 MB, free: 5.191 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001082/0.001096, allocations: 0.6537 MB / 449.9 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.913e-05/0.001185, allocations: 61.83 kB / 449.9 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.001196, allocations: 0 / 449.9 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.00121, allocations: 4.75 kB / 449.9 MB, free: 4.516 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.82e-07/0.001211, allocations: 0 / 449.9 MB, free: 4.516 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.001335, allocations: 16.67 kB / 450 MB, free: 4.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.0014, allocations: 32.62 kB / 450 MB, free: 4.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.001436, allocations: 5.688 kB / 450 MB, free: 4.465 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.745e-05/0.001473, allocations: 20.73 kB / 450 MB, free: 4.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.584e-05/0.001499, allocations: 8.75 kB / 450 MB, free: 4.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.001511, allocations: 3.938 kB / 450 MB, free: 4.434 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.001607, allocations: 24.88 kB / 450 MB, free: 4.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.001632, allocations: 9.969 kB / 450.1 MB, free: 4.402 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.00165, allocations: 5.203 kB / 450.1 MB, free: 4.398 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.968e-05/0.00173, allocations: 31.28 kB / 450.1 MB, free: 4.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.001739, allocations: 4 kB / 450.1 MB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001739, allocations: 0 / 450.1 MB, free: 4.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.001748, allocations: 0.6875 kB / 450.1 MB, free: 4.367 MB / 426.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.0002034/0.001951, allocations: 245.8 kB / 450.3 MB, free: 4.102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.001975, allocations: 12.69 kB / 450.3 MB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.903e-05/0.001994, allocations: 6.188 kB / 450.4 MB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.386e-05/0.002038, allocations: 105.8 kB / 450.5 MB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.002047, allocations: 8.312 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.002057, allocations: 8.375 kB / 450.5 MB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.915e-05/0.002126, allocations: 47.89 kB / 450.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-06/0.002131, allocations: 192 / 450.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.002136, allocations: 3.219 kB / 450.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.00214, allocations: 4.375 kB / 450.5 MB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.002201, allocations: 73.17 kB / 450.6 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.609e-05/0.002277, allocations: 70.48 kB / 450.7 MB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.00233, allocations: 51.14 kB / 450.7 MB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.002361, allocations: 18.17 kB / 450.7 MB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.002496, allocations: 20.61 kB / 450.8 MB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.002516, allocations: 34.56 kB / 450.8 MB, free: 3.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.002517, allocations: 1.062 kB / 450.8 MB, free: 3.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000107/0.002624, allocations: 67.42 kB / 450.9 MB, free: 3.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.002647, allocations: 56.5 kB / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.235e-05/0.002679, allocations: 98.95 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.00269, allocations: 29.7 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.002709, allocations: 88.06 kB / 451.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.002738, allocations: 27.84 kB / 451.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.002769, allocations: 31.34 kB / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.002847, allocations: 318.8 kB / 451.5 MB, free: 2.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.00286, allocations: 12.53 kB / 451.5 MB, free: 2.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.002871, allocations: 7.062 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.002917, allocations: 36.53 kB / 451.5 MB, free: 2.789 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.002919, allocations: 1.25 kB / 451.6 MB, free: 2.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 4.849e-05/0.002967, allocations: 59.53 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.002976, allocations: 4 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.00298, allocations: 0.6562 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.002989, allocations: 4 kB / 451.6 MB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.003051, allocations: 29.17 kB / 451.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.003054, allocations: 0 / 451.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.003065, allocations: 0 / 451.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.003072, allocations: 10.2 kB / 451.7 MB, free: 2.684 MB / 426.7 MB 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 6.638e-05/0.003138, allocations: 124.5 kB / 451.8 MB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.003148, allocations: 7.984 kB / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.003245, allocations: 100.6 kB / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.003247, allocations: 0 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.003249, allocations: 0 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.003251, allocations: 0 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.003414, allocations: 82.8 kB / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.003417, allocations: 0.9062 kB / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.00349, allocations: 19.98 kB / 452 MB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.003505, allocations: 13.56 kB / 452 MB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.003509, allocations: 0 / 452 MB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.003516, allocations: 4 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.003521, allocations: 4.906 kB / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.003522, allocations: 0 / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.003643, allocations: 99.33 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.003655, allocations: 8 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.003669, allocations: 0.625 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.003694, allocations: 9.375 kB / 452.1 MB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.003699, allocations: 0 / 452.1 MB, free: 2.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.426e-06/0.003707, allocations: 5.484 kB / 452.1 MB, free: 2.172 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003707, allocations: 0 / 452.1 MB, free: 2.172 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000114/0.003821, allocations: 16.62 kB / 452.1 MB, free: 2.156 MB / 426.7 MB 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.000144/0.003965, allocations: 94.47 kB / 452.2 MB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.221e-05/0.004048, allocations: 40.86 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.004053, allocations: 4 kB / 452.3 MB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.004083, allocations: 35.38 kB / 452.3 MB, free: 1.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.903e-05/0.004142, allocations: 15.98 kB / 452.3 MB, free: 1.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.004352, allocations: 131.9 kB / 452.5 MB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.004379, allocations: 56.14 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.004407, allocations: 15.98 kB / 452.5 MB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.004445, allocations: 60.91 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.004446, allocations: 0 / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of Templates: time 0.002292/0.006738, allocations: 0.6984 MB / 453.3 MB, free: 1.016 MB / 426.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5313219064846635]