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.0008143/0.0008143, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007882/0.0007882, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8583/0.8583, allocations: 230.6 MB / 256.8 MB, free: 3.449 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.7462/0.7462, allocations: 203.8 MB / 0.5049 GB, free: 0.6641 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.0008764/0.0008764, allocations: 63.91 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.434, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002011/0.436, allocations: 1.571 MB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.4363, allocations: 137.6 kB / 0.8207 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.4363, allocations: 1.062 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.4364, allocations: 3.766 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.691e-05/0.4364, allocations: 4.656 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.4367, allocations: 36.56 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.4368, allocations: 40.39 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.4368, allocations: 17.06 kB / 0.8208 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.4369, allocations: 11.98 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.4369, allocations: 17.14 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4369, allocations: 3.719 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.961e-05/0.437, allocations: 21.58 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.437, allocations: 17.2 kB / 0.8209 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.4371, allocations: 20.61 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.4372, allocations: 40.73 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4372, allocations: 0.7812 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4372, allocations: 5.781 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4372, allocations: 0.7188 kB / 0.821 GB, free: 23.93 MB / 0.6355 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.0003926/0.4376, allocations: 282.2 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4377, allocations: 11.09 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.4377, allocations: 6.906 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.457e-05/0.4378, allocations: 110.7 kB / 0.8214 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4378, allocations: 2.969 kB / 0.8214 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.4378, allocations: 8.375 kB / 0.8214 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.438, allocations: 58.16 kB / 0.8214 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.438, allocations: 1.219 kB / 0.8214 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.438, allocations: 7.938 kB / 0.8214 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.438, allocations: 1.625 kB / 0.8215 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4381, allocations: 45.73 kB / 0.8215 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.4385, allocations: 251.8 kB / 0.8217 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.4387, allocations: 53.48 kB / 0.8218 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.4388, allocations: 26.53 kB / 0.8218 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.4389, allocations: 19.27 kB / 0.8218 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.4389, allocations: 31.62 kB / 0.8219 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4389, allocations: 6.5 kB / 0.8219 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002586/0.4392, allocations: 97.38 kB / 0.822 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.4392, allocations: 52.06 kB / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.4393, allocations: 111.5 kB / 0.8221 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-06/0.4393, allocations: 26.77 kB / 0.8221 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.4393, allocations: 90.66 kB / 0.8222 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.4393, allocations: 6.141 kB / 0.8222 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.4393, allocations: 18.77 kB / 0.8222 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.948e-05/0.4394, allocations: 317.5 kB / 0.8226 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.4394, allocations: 19.55 kB / 0.8226 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.717e-05/0.4395, allocations: 25.38 kB / 0.8226 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.4396, allocations: 53.2 kB / 0.8226 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4396, allocations: 1.156 kB / 0.8226 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001181/0.4397, allocations: 81.05 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4397, allocations: 5.609 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4397, allocations: 0.75 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4397, allocations: 3.188 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.72e-05/0.4398, allocations: 11.38 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.4398, allocations: 1.25 kB / 0.8227 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.4398, allocations: 6.297 kB / 0.8228 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.4398, allocations: 5.438 kB / 0.8228 GB, free: 22.37 MB / 0.6355 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 4.096e-05/0.4398, allocations: 122.2 kB / 0.8229 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.4398, allocations: 2.062 kB / 0.8229 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.44, allocations: 88 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.44, allocations: 1.094 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.44, allocations: 0.8438 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.44, allocations: 1.062 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/0.4401, allocations: 140.1 kB / 0.8231 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4401, allocations: 0.7969 kB / 0.8231 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.4401, allocations: 15.36 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4401, allocations: 0 / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4401, allocations: 6.172 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.4401, allocations: 0 / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4401, allocations: 1.438 kB / 0.8231 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.4402, allocations: 173.4 kB / 0.8233 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/0.4403, allocations: 6.266 kB / 0.8233 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.4403, allocations: 2.5 kB / 0.8233 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.4403, allocations: 4.672 kB / 0.8233 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.4404, allocations: 9.25 kB / 0.8233 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4404, allocations: 2.891 kB / 0.8233 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.4404, allocations: 87.33 kB / 0.8234 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4404, allocations: 0.7812 kB / 0.8234 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001459/0.4405, allocations: 11.84 kB / 0.8234 GB, free: 21.79 MB / 0.6355 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 9.839e-05/0.4406, allocations: 102.2 kB / 0.8235 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.4408, allocations: 45.78 kB / 0.8235 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4408, allocations: 7.938 kB / 0.8236 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.4408, allocations: 28.3 kB / 0.8236 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.441, allocations: 7.203 kB / 0.8236 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.4412, allocations: 159.4 kB / 0.8237 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.4413, allocations: 0.6801 MB / 0.8244 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.4413, allocations: 15.11 kB / 0.8244 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4413, allocations: 0 / 0.8244 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.001917/0.4432, allocations: 0.8021 MB / 0.8252 GB, free: 20.75 MB / 0.6355 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.450065029086545] Failed to read output from testmodel.py, exit status != 0: 0.4482020849827677 0.45613578200000005 0.017327134 Calling exit ...