Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001509/0.001509, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001768/0.001768, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.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-535:34: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-535:42: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.796/0.796, allocations: 154.9 MB / 415.1 MB, free: 216 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.36e-05, allocations: 4.703 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002083/0.002107, allocations: 1.612 MB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.002392, allocations: 130.4 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.002427, allocations: 0 / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.002452, allocations: 5.219 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.002494, allocations: 1.641 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.002681, allocations: 27.84 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.798e-05/0.002739, allocations: 33.03 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.718e-05/0.002807, allocations: 8.875 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.002853, allocations: 17.38 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.00289, allocations: 13.92 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.002901, allocations: 4 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.002966, allocations: 20.66 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.002977, allocations: 1.203 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.002991, allocations: 10.2 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.218e-05/0.003073, allocations: 33.42 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003076, allocations: 4 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003077, allocations: 2.047 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003081, allocations: 3.984 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002375/0.003318, allocations: 230.3 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.003344, allocations: 12.03 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.003367, allocations: 4.875 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/0.003438, allocations: 121.7 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.003453, allocations: 10.12 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.003459, allocations: 1.25 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003567, allocations: 58.94 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003573, allocations: 6.859 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.00358, allocations: 5.562 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003585, allocations: 384 / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.003606, allocations: 7.938 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.00379, allocations: 160.9 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.003907, allocations: 31.81 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.00392, allocations: 9.625 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.003969, allocations: 8.891 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.003986, allocations: 30.56 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.003987, allocations: 0 / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.615e-05/0.004083, allocations: 50.44 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.004106, allocations: 59.45 kB / 483.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.853e-05/0.004145, allocations: 99.62 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.004153, allocations: 30.25 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.004178, allocations: 84.72 kB / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.004191, allocations: 7.938 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.004215, allocations: 18.88 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.004272, allocations: 314.8 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.00428, allocations: 0.625 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.004289, allocations: 8.609 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.004316, allocations: 21.92 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004317, allocations: 1.172 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.96e-05/0.004357, allocations: 42.25 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.004367, allocations: 8 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.00437, allocations: 0.5312 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.00438, allocations: 4.656 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.864e-05/0.004418, allocations: 9.188 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.004425, allocations: 1.781 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.004441, allocations: 4 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.004445, allocations: 3.984 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.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.533e-05/0.004491, allocations: 109.8 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.004505, allocations: 1.281 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.004568, allocations: 50.19 kB / 483.9 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.004572, allocations: 8.875 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.004574, allocations: 5.328 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004576, allocations: 0 / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.173e-05/0.004648, allocations: 65.84 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004648, allocations: 0.7656 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.004673, allocations: 12.86 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.004673, allocations: 0 / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.004678, allocations: 6.344 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004679, allocations: 0 / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004679, allocations: 0 / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.974e-05/0.004739, allocations: 140.1 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.004745, allocations: 13.02 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.004752, allocations: 0 / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.004784, allocations: 5.469 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.004815, allocations: 7.984 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.004817, allocations: 3.938 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.025e-05/0.004828, allocations: 13.64 kB / 484.2 MB, free: 2.539 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004828, allocations: 1.906 kB / 484.2 MB, free: 2.539 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.004949, allocations: 8 kB / 484.2 MB, free: 2.531 MB / 442.7 MB 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.y,rea2Int.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 8.044e-05/0.005029, allocations: 81.28 kB / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.051e-05/0.00508, allocations: 14.12 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005081, allocations: 4 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.789e-05/0.005099, allocations: 17.62 kB / 484.3 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.005208, allocations: 8 kB / 484.3 MB, free: 2.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.005383, allocations: 112 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.685e-05/0.00541, allocations: 59.28 kB / 484.5 MB, free: 2.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.005429, allocations: 7.75 kB / 484.5 MB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.005465, allocations: 52.47 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005465, allocations: 0 / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of Templates: time 0.001958/0.007424, allocations: 0.7594 MB / 485.3 MB, free: 1.406 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7136405636556447]