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.0006509/0.0006509, allocations: 96.36 kB / 19.7 MB, free: 456 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.0007424/0.0007424, allocations: 211.5 kB / 23 MB, free: 2.969 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 0.9015/0.9015, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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-531:190: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-531:198: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.764/0.764, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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.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: 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.0008803/0.0008803, allocations: 70.62 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.479, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001827/0.4808, allocations: 1.557 MB / 0.8205 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.4811, allocations: 136.7 kB / 0.8207 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.4812, allocations: 0 / 0.8207 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.4812, allocations: 5.344 kB / 0.8207 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.4812, allocations: 3.938 kB / 0.8207 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.4815, allocations: 28.81 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.4816, allocations: 45.36 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.4817, allocations: 11.34 kB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.4817, allocations: 12.61 kB / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.4817, allocations: 12.47 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.4817, allocations: 7.875 kB / 0.8208 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.4818, allocations: 28.59 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.4818, allocations: 11.09 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.4819, allocations: 13 kB / 0.8208 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.482, allocations: 49.08 kB / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.482, allocations: 3.625 kB / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.482, allocations: 0 / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.482, allocations: 0 / 0.8209 GB, free: 72 kB / 0.6042 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.0003645/0.4824, allocations: 272.7 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4824, allocations: 8.797 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.4824, allocations: 16.17 kB / 0.8212 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.47e-05/0.4825, allocations: 106.3 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4825, allocations: 1.781 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.4825, allocations: 3.75 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4827, allocations: 70.28 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4827, allocations: 3.938 kB / 0.8213 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4827, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4827, allocations: 2.969 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.4828, allocations: 49.95 kB / 0.8214 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.4831, allocations: 223.4 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.4833, allocations: 57.31 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.4834, allocations: 25.53 kB / 0.8217 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.4835, allocations: 18.02 kB / 0.8217 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4835, allocations: 32.44 kB / 0.8217 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4835, allocations: 0 / 0.8217 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002433/0.4837, allocations: 97.97 kB / 0.8218 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.4838, allocations: 53.75 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.4838, allocations: 114.1 kB / 0.822 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.4838, allocations: 26.45 kB / 0.822 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.4839, allocations: 82.97 kB / 0.8221 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.4839, allocations: 15.52 kB / 0.8221 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.4839, allocations: 15.69 kB / 0.8221 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.484, allocations: 316.3 kB / 0.8224 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.484, allocations: 19.3 kB / 0.8224 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.4841, allocations: 20.84 kB / 0.8225 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/0.4842, allocations: 56.11 kB / 0.8225 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4842, allocations: 0 / 0.8225 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001315/0.4843, allocations: 78.02 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4843, allocations: 4.219 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4843, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4843, allocations: 12.41 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.4844, allocations: 8.641 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4844, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.4844, allocations: 10.59 kB / 0.8226 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.4844, allocations: 1.094 kB / 0.8226 GB, free: 14.52 MB / 0.6198 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 5.78e-05/0.4845, allocations: 117.5 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.4845, allocations: 5.844 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.4847, allocations: 86.86 kB / 0.8228 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4847, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4847, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.4847, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.136e-05/0.4848, allocations: 113.9 kB / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4848, allocations: 0 / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.4848, allocations: 13.12 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4848, allocations: 0.6094 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4848, allocations: 1.688 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.4848, allocations: 0 / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4848, allocations: 2.281 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.485, allocations: 180.3 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.485, allocations: 3.969 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.485, allocations: 0 / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.485, allocations: 9.484 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4851, allocations: 7.422 kB / 0.8231 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4851, allocations: 5 kB / 0.8232 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.4851, allocations: 83.16 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4851, allocations: 0 / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001549/0.4852, allocations: 14.84 kB / 0.8232 GB, free: 13.98 MB / 0.6198 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.0001126/0.4854, allocations: 106.5 kB / 0.8233 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.4855, allocations: 40.86 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4855, allocations: 4 kB / 0.8234 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.4855, allocations: 25 kB / 0.8234 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.4857, allocations: 13.91 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.4861, allocations: 150.4 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.4862, allocations: 71.38 kB / 0.8236 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.4862, allocations: 15.67 kB / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.4862, allocations: 0 / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.001825/0.488, allocations: 0.791 MB / 0.8244 GB, free: 13.57 MB / 0.6198 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.705062309280038] Failed to read output from testmodel.py, exit status != 0: 0.49351570196449757 0.5035408530000001 0.019542229 Calling exit ...