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.001233/0.001233, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001379/0.001379, allocations: 214.4 kB / 23 MB, free: 5.113 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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.8512/0.8512, allocations: 134 MB / 447.2 MB, free: 10.27 MB / 350.1 MB " [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.002037/0.002037, allocations: 70.52 kB / 0.6198 GB, free: 6.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1803, allocations: 85.91 MB / 0.7037 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002906/0.1832, allocations: 1.569 MB / 0.7052 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003891/0.1836, allocations: 136.5 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.1837, allocations: 0 / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.1837, allocations: 3.938 kB / 0.7053 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.1837, allocations: 7.938 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1841, allocations: 39.91 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.1841, allocations: 23.98 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1842, allocations: 15.97 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.1843, allocations: 23.88 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.1843, allocations: 19.91 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1843, allocations: 4 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.1844, allocations: 19.98 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1844, allocations: 11.92 kB / 0.7055 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.1845, allocations: 19.92 kB / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1846, allocations: 47.81 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1846, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1846, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.527e-06/0.1846, allocations: 0 / 0.7056 GB, free: 14.96 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.0005153/0.1852, allocations: 282.2 kB / 0.7058 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1852, allocations: 8.031 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1852, allocations: 4.938 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1853, allocations: 106.5 kB / 0.7059 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1854, allocations: 8.312 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1854, allocations: 4.375 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1856, allocations: 70.16 kB / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1856, allocations: 192 / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1856, allocations: 7.938 kB / 0.706 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1856, allocations: 0 / 0.706 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.1858, allocations: 39.95 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.1862, allocations: 255.9 kB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1866, allocations: 58.53 kB / 0.7064 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.1867, allocations: 20.84 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.1868, allocations: 23.98 kB / 0.7064 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1868, allocations: 34.56 kB / 0.7064 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1868, allocations: 0 / 0.7064 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003913/0.1872, allocations: 97.58 kB / 0.7065 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1873, allocations: 59.28 kB / 0.7066 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.1873, allocations: 109.8 kB / 0.7067 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1874, allocations: 25.7 kB / 0.7067 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.1874, allocations: 84.14 kB / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1874, allocations: 20 kB / 0.7068 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1875, allocations: 17.72 kB / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1876, allocations: 314.8 kB / 0.7071 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.1877, allocations: 23.97 kB / 0.7072 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.1878, allocations: 15.98 kB / 0.7072 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.188, allocations: 48.81 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.188, allocations: 0 / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002138/0.1882, allocations: 81.55 kB / 0.7073 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1882, allocations: 4 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1882, allocations: 0 / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1882, allocations: 0 / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.1883, allocations: 11.98 kB / 0.7073 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1883, allocations: 320 / 0.7073 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.1884, allocations: 16.25 kB / 0.7073 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1884, allocations: 8 kB / 0.7073 GB, free: 12.95 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 0.0001034/0.1885, allocations: 113.8 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1885, allocations: 11.92 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1888, allocations: 77.64 kB / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1888, allocations: 0 / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1888, allocations: 0 / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1888, allocations: 11.98 kB / 0.7075 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.189, allocations: 144.6 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.189, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1891, allocations: 11.98 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1891, allocations: 0 / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1891, allocations: 0 / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1891, allocations: 0 / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1891, allocations: 0 / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1893, allocations: 179.4 kB / 0.7079 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.1893, allocations: 7.984 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1894, allocations: 0 / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.1894, allocations: 4 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1895, allocations: 7.984 kB / 0.7079 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1895, allocations: 4 kB / 0.7079 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.1896, allocations: 91.25 kB / 0.708 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.708 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002243/0.1898, allocations: 12 kB / 0.708 GB, free: 12.21 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.000154/0.1899, allocations: 103.2 kB / 0.7081 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.1902, allocations: 47.89 kB / 0.7081 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1902, allocations: 0 / 0.7081 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.784e-05/0.1903, allocations: 23.97 kB / 0.7082 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1906, allocations: 11.94 kB / 0.7082 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.1909, allocations: 147.2 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1912, allocations: 0.6844 MB / 0.709 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1913, allocations: 15.42 kB / 0.709 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1913, allocations: 0 / 0.709 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.002525/0.1938, allocations: 0.7993 MB / 0.7098 GB, free: 10.32 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.901879381854087] Failed to read output from testmodel.py, exit status != 0: 0.2014128880109638 0.217510732 0.029738679 Calling exit ...