Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.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.000777/0.000777, allocations: 117.6 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.0009004/0.0009004, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.901/0.901, allocations: 230.6 MB / 256.8 MB, free: 9.824 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.7475/0.7475, allocations: 203.8 MB / 0.5049 GB, free: 10.77 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [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.0009124/0.0009124, allocations: 67.86 kB / 0.7195 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4581, allocations: 102 MB / 0.8191 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001219/0.4593, allocations: 0.602 MB / 0.8197 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002205/0.4595, allocations: 50.42 kB / 0.8198 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.4596, allocations: 0 / 0.8198 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.4596, allocations: 0 / 0.8198 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.4596, allocations: 0 / 0.8198 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.4598, allocations: 10.94 kB / 0.8198 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.4598, allocations: 2.75 kB / 0.8198 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.4599, allocations: 5.359 kB / 0.8198 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.4599, allocations: 2.031 kB / 0.8198 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.4599, allocations: 8.641 kB / 0.8198 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.4599, allocations: 2.594 kB / 0.8198 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.275e-05/0.46, allocations: 14.47 kB / 0.8198 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.46, allocations: 0 / 0.8198 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.46, allocations: 5.469 kB / 0.8198 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.176e-05/0.4601, allocations: 7.984 kB / 0.8198 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4601, allocations: 3.938 kB / 0.8198 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4601, allocations: 0 / 0.8198 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4601, allocations: 0 / 0.8198 GB, free: 1.121 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000183/0.4603, allocations: 245.1 kB / 0.82 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.4603, allocations: 9.781 kB / 0.8201 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.4604, allocations: 4.891 kB / 0.8201 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.201e-05/0.4604, allocations: 109.1 kB / 0.8202 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.4604, allocations: 384 / 0.8202 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.4604, allocations: 4.312 kB / 0.8202 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.064e-05/0.4605, allocations: 36.28 kB / 0.8202 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.4605, allocations: 192 / 0.8202 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.4605, allocations: 3.938 kB / 0.8202 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4605, allocations: 4 kB / 0.8202 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.4605, allocations: 3.188 kB / 0.8202 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.882e-05/0.4606, allocations: 125.8 kB / 0.8203 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.4606, allocations: 19.05 kB / 0.8204 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.4607, allocations: 12.19 kB / 0.8204 GB, free: 500 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.4608, allocations: 5.125 kB / 0.8204 GB, free: 500 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.4608, allocations: 39.27 kB / 0.8204 GB, free: 452 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.4608, allocations: 0 / 0.8204 GB, free: 452 kB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.4609, allocations: 46.92 kB / 0.8205 GB, free: 412 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.4609, allocations: 51.41 kB / 0.8205 GB, free: 348 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.504e-05/0.461, allocations: 94.61 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.461, allocations: 25.7 kB / 0.8206 GB, free: 212 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-06/0.461, allocations: 84.12 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.461, allocations: 2.75 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.461, allocations: 15.84 kB / 0.8207 GB, free: 104 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.4611, allocations: 313.5 kB / 0.821 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.4611, allocations: 8.703 kB / 0.821 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.4611, allocations: 3.125 kB / 0.821 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.4611, allocations: 10.47 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4611, allocations: 0 / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.383e-05/0.4612, allocations: 45.58 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4612, allocations: 10.02 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4612, allocations: 4 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4612, allocations: 3.938 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.4613, allocations: 2.688 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4613, allocations: 0.6094 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.4613, allocations: 4 kB / 0.8211 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.4613, allocations: 3.25 kB / 0.8211 GB, free: 15.72 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.706e-05/0.4613, allocations: 106.4 kB / 0.8212 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.4613, allocations: 3.953 kB / 0.8212 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.4614, allocations: 55.02 kB / 0.8213 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4614, allocations: 1.562 kB / 0.8213 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4614, allocations: 4.594 kB / 0.8213 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4614, allocations: 0 / 0.8213 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.383e-05/0.4615, allocations: 124.5 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4615, allocations: 0 / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.4615, allocations: 8.281 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4615, allocations: 1.531 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.4615, allocations: 3.938 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4615, allocations: 0.5156 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4615, allocations: 8.469 kB / 0.8214 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.926e-05/0.4616, allocations: 61.81 kB / 0.8215 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.4616, allocations: 6.453 kB / 0.8215 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.4616, allocations: 4.969 kB / 0.8215 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-06/0.4616, allocations: 0 / 0.8215 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.4616, allocations: 2.078 kB / 0.8215 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.4616, allocations: 1.625 kB / 0.8215 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.4616, allocations: 79.31 kB / 0.8216 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4616, allocations: 0 / 0.8216 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001249/0.4617, allocations: 8.688 kB / 0.8216 GB, free: 15.22 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001197/0.4619, allocations: 104.5 kB / 0.8217 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.342e-05/0.4619, allocations: 5.344 kB / 0.8217 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.4619, allocations: 0 / 0.8217 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/0.4619, allocations: 4.969 kB / 0.8217 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.842e-05/0.462, allocations: 11.27 kB / 0.8217 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.4622, allocations: 111.2 kB / 0.8218 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.4624, allocations: 0.6705 MB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.4624, allocations: 11.75 kB / 0.8225 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of SimCode: time 5.62e-07/0.4624, allocations: 0 / 0.8225 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.001401/0.4638, allocations: 460 kB / 0.8229 GB, free: 14.26 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.384987049037591] Failed to read output from testmodel.py, exit status != 0: 0.46897754492238164 0.478196686 0.016222508 Calling exit ...