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.001391/0.001391, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001974/0.001974, allocations: 211.9 kB / 22.25 MB, free: 4.863 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 1.349/1.349, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] 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.002374/0.002374, allocations: 59.91 kB / 0.7187 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6592, allocations: 102 MB / 0.8183 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001841/0.661, allocations: 0.5941 MB / 0.8189 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.6613, allocations: 42.7 kB / 0.8189 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.6613, allocations: 1.312 kB / 0.8189 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.6613, allocations: 3.938 kB / 0.8189 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 1.871e-05/0.6614, allocations: 0 / 0.8189 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.6616, allocations: 11.8 kB / 0.8189 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.6617, allocations: 5.391 kB / 0.8189 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.6617, allocations: 4.594 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.6617, allocations: 1.281 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 2.246e-05/0.6618, allocations: 2.109 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.6618, allocations: 0 / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-05/0.6619, allocations: 15.91 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.6619, allocations: 3.984 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.6619, allocations: 4.469 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.662, allocations: 10.86 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.662, allocations: 0.625 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.662, allocations: 0.7188 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.662, allocations: 1.438 kB / 0.819 GB, free: 28.46 MB / 0.6387 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.0002675/0.6623, allocations: 234.7 kB / 0.8192 GB, free: 28.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6623, allocations: 14.81 kB / 0.8192 GB, free: 28.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.6624, allocations: 6.734 kB / 0.8192 GB, free: 28.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.014e-05/0.6624, allocations: 104.2 kB / 0.8193 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6624, allocations: 5.156 kB / 0.8193 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.6624, allocations: 7.719 kB / 0.8193 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.6625, allocations: 30.86 kB / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6626, allocations: 0.8125 kB / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.6626, allocations: 6.031 kB / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.6626, allocations: 0 / 0.8194 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.6626, allocations: 8.5 kB / 0.8194 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.6627, allocations: 100.8 kB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.6628, allocations: 25.41 kB / 0.8195 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.6628, allocations: 6.938 kB / 0.8195 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.6629, allocations: 11.19 kB / 0.8195 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.663, allocations: 32.61 kB / 0.8196 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.663, allocations: 0.8438 kB / 0.8196 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.6631, allocations: 44.47 kB / 0.8196 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6632, allocations: 58.31 kB / 0.8197 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.779e-05/0.6632, allocations: 91.31 kB / 0.8197 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.6632, allocations: 25.7 kB / 0.8198 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.513e-05/0.6632, allocations: 81.33 kB / 0.8198 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.6632, allocations: 4.953 kB / 0.8199 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.6633, allocations: 14.8 kB / 0.8199 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.6633, allocations: 316.5 kB / 0.8202 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.6633, allocations: 6.047 kB / 0.8202 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-06/0.6634, allocations: 4.734 kB / 0.8202 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.6634, allocations: 11.22 kB / 0.8202 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6634, allocations: 0 / 0.8202 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.343e-05/0.6634, allocations: 40.27 kB / 0.8202 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6635, allocations: 10.28 kB / 0.8202 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6635, allocations: 1.75 kB / 0.8202 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6635, allocations: 0.6875 kB / 0.8202 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.6635, allocations: 11.25 kB / 0.8202 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6635, allocations: 1.359 kB / 0.8203 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.6636, allocations: 8.609 kB / 0.8203 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.6636, allocations: 1.781 kB / 0.8203 GB, free: 27.11 MB / 0.6387 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 5.085e-05/0.6636, allocations: 114.2 kB / 0.8204 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.6636, allocations: 0.5156 kB / 0.8204 GB, free: 27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.6637, allocations: 45.11 kB / 0.8204 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6637, allocations: 5.578 kB / 0.8204 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6637, allocations: 0 / 0.8204 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.6637, allocations: 0.5 kB / 0.8204 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.476e-05/0.6638, allocations: 104.8 kB / 0.8205 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6638, allocations: 1.125 kB / 0.8205 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.6638, allocations: 8.391 kB / 0.8205 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6638, allocations: 3.938 kB / 0.8205 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.6638, allocations: 4.75 kB / 0.8205 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6638, allocations: 0 / 0.8205 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6638, allocations: 5.641 kB / 0.8205 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.927e-05/0.6639, allocations: 60.95 kB / 0.8206 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.6639, allocations: 2.312 kB / 0.8206 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.6639, allocations: 1.422 kB / 0.8206 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.6639, allocations: 1.156 kB / 0.8206 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.664, allocations: 9.75 kB / 0.8206 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.664, allocations: 1.062 kB / 0.8206 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.664, allocations: 75.81 kB / 0.8207 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.1e-08/0.664, allocations: 0 / 0.8207 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001933/0.6642, allocations: 9.547 kB / 0.8207 GB, free: 26.66 MB / 0.6387 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.0001483/0.6643, allocations: 96.97 kB / 0.8208 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.6644, allocations: 12.33 kB / 0.8208 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6644, allocations: 3.5 kB / 0.8208 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.6644, allocations: 4.969 kB / 0.8208 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.6646, allocations: 3.281 kB / 0.8208 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.6648, allocations: 86.98 kB / 0.8209 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.6648, allocations: 57.17 kB / 0.8209 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.404e-05/0.6648, allocations: 1.156 kB / 0.821 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.6648, allocations: 10.11 kB / 0.821 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.6648, allocations: 0 / 0.821 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of Templates: time 0.00267/0.6675, allocations: 309.3 kB / 0.8213 GB, free: 26.32 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.939010823145509] Failed to read output from testmodel.py, exit status != 0: 0.6768103968352079 0.6886878319999999 0.024042635000000003 Calling exit ...