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.0009514/0.0009514, allocations: 80.94 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.001547/0.001547, allocations: 177 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 0.9624/0.9624, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8066/0.8066, allocations: 154.9 MB / 415.1 MB, free: 264 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.823e-06/1.823e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.736e-05, allocations: 4.562 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.005616/0.005643, allocations: 1.577 MB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.006014, allocations: 132.5 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.006053, allocations: 4 kB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.006082, allocations: 0 / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.006138, allocations: 9.125 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.006378, allocations: 20.8 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.006449, allocations: 28.38 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.006527, allocations: 17.06 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.006581, allocations: 17.38 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.006625, allocations: 13.52 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.006639, allocations: 4 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.006697, allocations: 5.188 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.006717, allocations: 17.28 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.006734, allocations: 5.312 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.006837, allocations: 37.88 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006841, allocations: 4.984 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006842, allocations: 0 / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.006846, allocations: 0.9062 kB / 482.2 MB, free: 4.719 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.004328/0.01117, allocations: 237.1 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01121, allocations: 12.62 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.01123, allocations: 1.562 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.01131, allocations: 113.7 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.01133, allocations: 2.766 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.01134, allocations: 4.375 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.01145, allocations: 58.94 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.01146, allocations: 4.125 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.01147, allocations: 2.125 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.01147, allocations: 4.922 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.0115, allocations: 11.92 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.01171, allocations: 152.3 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.01185, allocations: 35.38 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.01187, allocations: 8.922 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.01193, allocations: 10.19 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.01195, allocations: 38.5 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 3.267e-06/0.01196, allocations: 3.938 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.01208, allocations: 46.44 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.01211, allocations: 52.03 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.01217, allocations: 106.7 kB / 483.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.01218, allocations: 26.33 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.01221, allocations: 93.08 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.01223, allocations: 4.578 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.01226, allocations: 18.33 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.01234, allocations: 314.8 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.01236, allocations: 8.625 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.01237, allocations: 7.938 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.0124, allocations: 13.47 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.0124, allocations: 4.938 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.374e-05/0.01247, allocations: 37.69 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01248, allocations: 6.438 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01248, allocations: 0 / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.0125, allocations: 7.938 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.01256, allocations: 7.984 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.01257, allocations: 0.9062 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.01259, allocations: 8 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.0126, allocations: 0 / 483.7 MB, free: 3.148 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 6.378e-05/0.01266, allocations: 114.8 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.01268, allocations: 0.5469 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.01277, allocations: 49.98 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01277, allocations: 5.25 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01277, allocations: 0 / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01277, allocations: 0 / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.01289, allocations: 79.56 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01289, allocations: 0 / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.01293, allocations: 9.219 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.01293, allocations: 0 / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.01294, allocations: 0 / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01294, allocations: 1.062 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01294, allocations: 3.984 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.982e-05/0.01303, allocations: 140.1 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.01304, allocations: 1 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.01305, allocations: 4 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.0131, allocations: 4.766 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01314, allocations: 10.86 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.01314, allocations: 4.531 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.419e-05/0.01315, allocations: 12.84 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 1.438 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.01335, allocations: 12 kB / 484.1 MB, free: 2.66 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 0.0001295/0.01348, allocations: 78.41 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.01354, allocations: 24.77 kB / 484.2 MB, free: 2.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01354, allocations: 1.438 kB / 484.2 MB, free: 2.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.01357, allocations: 12.86 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.01372, allocations: 8 kB / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.01698, allocations: 112.8 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.01702, allocations: 59.3 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.01704, allocations: 0.5625 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.01709, allocations: 64.72 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01709, allocations: 0 / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of Templates: time 0.002571/0.01966, allocations: 0.7529 MB / 485.2 MB, free: 1.543 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.64010071195662]