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.001368/0.001368, 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.001901/0.001901, 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 1.089/1.089, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.793/0.793, allocations: 154.9 MB / 415.1 MB, free: 268 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.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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0.7656 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.568e-05, allocations: 2.312 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001812/0.001838, allocations: 0.6127 MB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002494/0.002087, allocations: 43.81 kB / 481.1 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.002104, allocations: 0 / 481.1 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.002117, allocations: 0 / 481.1 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.002124, allocations: 0 / 481.1 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.002359, allocations: 20.41 kB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.002405, allocations: 5.562 kB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.002442, allocations: 4.641 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.002474, allocations: 7.984 kB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.059e-05/0.002494, allocations: 0.875 kB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.002507, allocations: 2 kB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.002588, allocations: 8 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.002599, allocations: 0 / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.002614, allocations: 9.969 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.161e-05/0.002696, allocations: 11.98 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002698, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002699, allocations: 0.625 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.002702, allocations: 0.625 kB / 481.1 MB, free: 5.816 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000219/0.002921, allocations: 209.9 kB / 481.3 MB, free: 5.586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.00296, allocations: 14.38 kB / 481.4 MB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.002984, allocations: 0.9375 kB / 481.4 MB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.195e-05/0.003046, allocations: 101.8 kB / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.003055, allocations: 8.312 kB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.003064, allocations: 384 / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.898e-05/0.003133, allocations: 34.25 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003139, allocations: 1.562 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.003147, allocations: 4.922 kB / 481.5 MB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003153, allocations: 4.375 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.003173, allocations: 8.438 kB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.929e-05/0.003262, allocations: 61.8 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.003305, allocations: 26.53 kB / 481.6 MB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.003318, allocations: 9.578 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.003418, allocations: 4 kB / 481.6 MB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.003444, allocations: 31.44 kB / 481.6 MB, free: 5.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.003445, allocations: 0 / 481.6 MB, free: 5.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001048/0.00355, allocations: 46.53 kB / 481.7 MB, free: 5.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.003584, allocations: 51.41 kB / 481.7 MB, free: 5.117 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.728e-05/0.003621, allocations: 95.5 kB / 481.8 MB, free: 5.016 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.003635, allocations: 29.7 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.003657, allocations: 80.14 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.003672, allocations: 1.312 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.0037, allocations: 17.66 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.00379, allocations: 318.8 kB / 482.3 MB, free: 4.555 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.003798, allocations: 1.312 kB / 482.3 MB, free: 4.555 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.003806, allocations: 4 kB / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.003836, allocations: 10.08 kB / 482.3 MB, free: 4.539 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.003838, allocations: 0 / 482.3 MB, free: 4.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.655e-05/0.003895, allocations: 38.66 kB / 482.3 MB, free: 4.496 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.003907, allocations: 4 kB / 482.3 MB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.003911, allocations: 1.703 kB / 482.3 MB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.003923, allocations: 0 / 482.3 MB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.003969, allocations: 7.938 kB / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003971, allocations: 0.7188 kB / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.003982, allocations: 0 / 482.3 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.003986, allocations: 2.719 kB / 482.3 MB, free: 4.484 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 (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 6.143e-05/0.004047, allocations: 121.8 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.004054, allocations: 3.984 kB / 482.5 MB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.00412, allocations: 37.91 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.004123, allocations: 4 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.004125, allocations: 0 / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004128, allocations: 0 / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.262e-05/0.004191, allocations: 70.41 kB / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004191, allocations: 4 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.004208, allocations: 1.188 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.00421, allocations: 0.7656 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.004215, allocations: 4 kB / 482.6 MB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004216, allocations: 0.875 kB / 482.6 MB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.004219, allocations: 3.938 kB / 482.6 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.004287, allocations: 66.28 kB / 482.6 MB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.004292, allocations: 0 / 482.6 MB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.0043, allocations: 4 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.004309, allocations: 5.531 kB / 482.7 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.00433, allocations: 3.984 kB / 482.7 MB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.004333, allocations: 0.5938 kB / 482.7 MB, free: 4.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.522e-06/0.004339, allocations: 5.516 kB / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004339, allocations: 0 / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.004502, allocations: 4.625 kB / 482.7 MB, free: 4.105 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,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.0001205/0.004622, allocations: 84.91 kB / 482.8 MB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.504e-05/0.004677, allocations: 17.44 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.004681, allocations: 4 kB / 482.8 MB, free: 3.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.004694, allocations: 9.766 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.429e-05/0.004748, allocations: 9.594 kB / 482.8 MB, free: 3.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001575/0.004906, allocations: 81.95 kB / 482.9 MB, free: 3.867 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.004937, allocations: 55.89 kB / 482.9 MB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.167e-05/0.004949, allocations: 0 / 482.9 MB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.004982, allocations: 52.41 kB / 483 MB, free: 3.742 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.004983, allocations: 0 / 483 MB, free: 3.742 MB / 442.7 MB Notification: Performance of Templates: time 0.002092/0.007074, allocations: 379.3 kB / 483.4 MB, free: 3.387 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.644173679407686]