Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006934/0.0006934, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000972/0.001665, 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.0007335/0.0007335, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.001691, 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.047/1.047, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09646/1.144, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7832/0.7832, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2808/1.064, allocations: 49.13 MB / 448.6 MB, free: 5.902 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-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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.205e-05, allocations: 4 kB / 450 MB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001773/0.001785, allocations: 1.652 MB / 451.6 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.001964, allocations: 136.2 kB / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.00199, allocations: 0.625 kB / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.002011, allocations: 7.922 kB / 451.8 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.117e-05/0.002032, allocations: 3.953 kB / 451.8 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.00219, allocations: 31.89 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.002253, allocations: 37.67 kB / 451.8 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.002326, allocations: 8 kB / 451.8 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.002379, allocations: 30.89 kB / 451.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.002418, allocations: 14.06 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.00243, allocations: 2.906 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.002518, allocations: 31.91 kB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.002532, allocations: 5.422 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.00255, allocations: 9.312 kB / 451.9 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002651, allocations: 35.02 kB / 452 MB, free: 2.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.002661, allocations: 0 / 452 MB, free: 2.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002661, allocations: 0 / 452 MB, free: 2.617 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.002668, allocations: 0.875 kB / 452 MB, free: 2.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003176/0.002985, allocations: 259.3 kB / 452.2 MB, free: 2.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003018, allocations: 11.97 kB / 452.2 MB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.003044, allocations: 6.094 kB / 452.2 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.003117, allocations: 106.6 kB / 452.4 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.003136, allocations: 5.5 kB / 452.4 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.003148, allocations: 5.625 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.003257, allocations: 66.92 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.003267, allocations: 192 / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003274, allocations: 0.9062 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.003278, allocations: 4.344 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.003304, allocations: 11.94 kB / 452.4 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.003528, allocations: 168.2 kB / 452.6 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.003656, allocations: 35.73 kB / 452.6 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.003671, allocations: 8.859 kB / 452.7 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.00375, allocations: 19.98 kB / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.003767, allocations: 31.11 kB / 452.7 MB, free: 1.809 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.003768, allocations: 0.9062 kB / 452.7 MB, free: 1.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001039/0.003872, allocations: 49.56 kB / 452.8 MB, free: 1.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.003893, allocations: 53.28 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.003939, allocations: 110.8 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.003948, allocations: 26.36 kB / 452.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.00398, allocations: 88.89 kB / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.003997, allocations: 11.94 kB / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.004022, allocations: 14.59 kB / 453 MB, free: 1.418 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.00409, allocations: 314.8 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.004102, allocations: 7.984 kB / 453.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.004112, allocations: 2.172 kB / 453.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.004138, allocations: 21.98 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.00414, allocations: 0.8438 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.239e-05/0.004182, allocations: 41.69 kB / 453.4 MB, free: 1.023 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.004199, allocations: 4.625 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004203, allocations: 4.812 kB / 453.4 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.004212, allocations: 0 / 453.4 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.004262, allocations: 8 kB / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.004264, allocations: 1.219 kB / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.004287, allocations: 19.88 kB / 453.5 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.004291, allocations: 0 / 453.5 MB, free: 0.9883 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: 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 5.034e-05/0.004341, allocations: 112.8 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.004353, allocations: 0.7656 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/0.004427, allocations: 58.64 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.004429, allocations: 4 kB / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.004432, allocations: 4 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.004434, allocations: 0.75 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.034e-05/0.004515, allocations: 69.88 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004515, allocations: 1.469 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.004542, allocations: 8.656 kB / 453.7 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.004551, allocations: 7.984 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.004553, allocations: 1.438 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.004558, allocations: 0 / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.004561, allocations: 3.938 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004562, allocations: 0 / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.494e-05/0.004637, allocations: 137.7 kB / 453.9 MB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.004647, allocations: 4 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.004677, allocations: 5.25 kB / 453.9 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.004718, allocations: 7.922 kB / 453.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004721, allocations: 4 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.43e-05/0.004735, allocations: 18.42 kB / 453.9 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004735, allocations: 0 / 453.9 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001195/0.004854, allocations: 8 kB / 453.9 MB, free: 0.4961 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: 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 9.677e-05/0.004951, allocations: 81.3 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.022e-05/0.005011, allocations: 20.16 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.005015, allocations: 0 / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.00504, allocations: 22.17 kB / 454 MB, free: 372 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.005177, allocations: 38.33 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.005484, allocations: 128.4 kB / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.055e-05/0.005515, allocations: 59.84 kB / 454.3 MB, free: 96 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.057e-05/0.005535, allocations: 2.234 kB / 454.3 MB, free: 96 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.005578, allocations: 59.36 kB / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005578, allocations: 0.6875 kB / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of Templates: time 0.002335/0.007913, allocations: 0.8133 MB / 455.1 MB, free: 15.27 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5943000642582774]