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.001132/0.001132, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.002995, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001234/0.001234, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002711, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.076/1.076, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09724/1.174, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7895/0.7895, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2748/1.064, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.854e-06/1.854e-06, allocations: 0 / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.768e-05, allocations: 8.172 kB / 450 MB, free: 4.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003142/0.003169, allocations: 1.626 MB / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.00345, allocations: 136.2 kB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.003484, allocations: 0 / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.003514, allocations: 0.7656 kB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.003546, allocations: 8.812 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.003708, allocations: 18.14 kB / 451.8 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.003789, allocations: 32.36 kB / 451.8 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.003872, allocations: 5.094 kB / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.003953, allocations: 29.31 kB / 451.8 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.004012, allocations: 8.75 kB / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.004028, allocations: 5.172 kB / 451.8 MB, free: 2.758 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.004114, allocations: 17.89 kB / 451.9 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.004132, allocations: 5.75 kB / 451.9 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.00415, allocations: 4.656 kB / 451.9 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.004269, allocations: 30.7 kB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.004284, allocations: 3.984 kB / 451.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004285, allocations: 4.5 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.004295, allocations: 0 / 451.9 MB, free: 2.699 MB / 426.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.0003939/0.004689, allocations: 244.1 kB / 452.1 MB, free: 2.438 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.004725, allocations: 9.312 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.004759, allocations: 4.938 kB / 452.2 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.004861, allocations: 110.9 kB / 452.3 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.004882, allocations: 5.062 kB / 452.3 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004895, allocations: 384 / 452.3 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.005037, allocations: 64.91 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.005045, allocations: 4.781 kB / 452.3 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005054, allocations: 384 / 452.3 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.00506, allocations: 384 / 452.3 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.00509, allocations: 7.938 kB / 452.4 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.005344, allocations: 160.8 kB / 452.5 MB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.00552, allocations: 32.92 kB / 452.5 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.005541, allocations: 11.28 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/0.005613, allocations: 7.938 kB / 452.6 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.005638, allocations: 34.62 kB / 452.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.00564, allocations: 0 / 452.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001364/0.005776, allocations: 50.45 kB / 452.6 MB, free: 1.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.005805, allocations: 51.41 kB / 452.7 MB, free: 1.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.005869, allocations: 111.4 kB / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.005881, allocations: 26.36 kB / 452.8 MB, free: 1.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.005918, allocations: 84.97 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.005935, allocations: 3.953 kB / 452.9 MB, free: 1.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.005973, allocations: 18.34 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.006065, allocations: 321.3 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.00608, allocations: 0 / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.006094, allocations: 13 kB / 453.3 MB, free: 1.219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.006126, allocations: 12.86 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.006129, allocations: 6.078 kB / 453.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.358e-05/0.006203, allocations: 33.7 kB / 453.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.006219, allocations: 11.98 kB / 453.3 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.006224, allocations: 0 / 453.3 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.006239, allocations: 4.781 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.006312, allocations: 9.453 kB / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006315, allocations: 0 / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.006344, allocations: 7.938 kB / 453.3 MB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.006351, allocations: 8.938 kB / 453.4 MB, free: 1.121 MB / 426.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.417e-05/0.006415, allocations: 113.8 kB / 453.5 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.006438, allocations: 1.422 kB / 453.5 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.006536, allocations: 51.81 kB / 453.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.00654, allocations: 3.938 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.006543, allocations: 4.594 kB / 453.5 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006546, allocations: 0 / 453.5 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.00666, allocations: 67.64 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006662, allocations: 4 kB / 453.6 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.00671, allocations: 12.52 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.006717, allocations: 4.562 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006719, allocations: 0.625 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.006724, allocations: 0 / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.006727, allocations: 4.797 kB / 453.6 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.006731, allocations: 3.938 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.006835, allocations: 136.7 kB / 453.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006846, allocations: 0 / 453.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.006903, allocations: 4.766 kB / 453.8 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.006945, allocations: 12.7 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.006951, allocations: 3.938 kB / 453.8 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.006966, allocations: 10.33 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006966, allocations: 0 / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.007167, allocations: 4 kB / 453.8 MB, free: 0.6406 MB / 426.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.0001467/0.007314, allocations: 86.06 kB / 453.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.007391, allocations: 28.16 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.007396, allocations: 1.312 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.007428, allocations: 13.41 kB / 453.9 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.007623, allocations: 37.69 kB / 454 MB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.008045, allocations: 119.5 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.008085, allocations: 59.2 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.008116, allocations: 5.828 kB / 454.1 MB, free: 248 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.008177, allocations: 51.38 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.008178, allocations: 0.7188 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of Templates: time 0.0025/0.01068, allocations: 0.7899 MB / 455 MB, free: 15.44 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.6374906841665506]