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.0007822/0.0007822, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002426, 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.001141/0.001141, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.002204, 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.056/1.056, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09445/1.15, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7899/0.7899, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2764/1.066, allocations: 49.14 MB / 448.6 MB, free: 5.922 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.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.823e-06/1.823e-06, allocations: 0 / 450 MB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.985e-05, allocations: 2.312 kB / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.002049/0.002079, allocations: 0.6504 MB / 450.7 MB, free: 3.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.002209, allocations: 48.47 kB / 450.7 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.002219, allocations: 0 / 450.7 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-06/0.002224, allocations: 0.6875 kB / 450.7 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.512e-06/0.002226, allocations: 0 / 450.7 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.002343, allocations: 17.56 kB / 450.7 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.415e-05/0.002398, allocations: 4.766 kB / 450.7 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.002442, allocations: 7.938 kB / 450.7 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.002479, allocations: 5.641 kB / 450.8 MB, free: 3.852 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.002509, allocations: 4.641 kB / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.002522, allocations: 0 / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.002626, allocations: 16.61 kB / 450.8 MB, free: 3.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.002641, allocations: 2.453 kB / 450.8 MB, free: 3.832 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.002656, allocations: 0.875 kB / 450.8 MB, free: 3.832 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.002748, allocations: 12.75 kB / 450.8 MB, free: 3.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.002759, allocations: 0 / 450.8 MB, free: 3.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00276, allocations: 0 / 450.8 MB, free: 3.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.00277, allocations: 1.062 kB / 450.8 MB, free: 3.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002986/0.003068, allocations: 217.4 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.003104, allocations: 8.031 kB / 451 MB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.003138, allocations: 11.75 kB / 451 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.003214, allocations: 105.7 kB / 451.1 MB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.003225, allocations: 3.359 kB / 451.1 MB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.003234, allocations: 384 / 451.1 MB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.003321, allocations: 34.25 kB / 451.2 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.003329, allocations: 192 / 451.2 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.003336, allocations: 384 / 451.2 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003342, allocations: 5.062 kB / 451.2 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.003368, allocations: 7.938 kB / 451.2 MB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.033e-05/0.003458, allocations: 58.3 kB / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.003509, allocations: 26.59 kB / 451.3 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.003523, allocations: 5.484 kB / 451.3 MB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.003656, allocations: 8.047 kB / 451.3 MB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.003685, allocations: 38.66 kB / 451.3 MB, free: 3.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.003686, allocations: 0 / 451.3 MB, free: 3.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001062/0.003793, allocations: 37.64 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.003825, allocations: 55.39 kB / 451.4 MB, free: 3.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.003867, allocations: 89.86 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.003883, allocations: 25.7 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.003908, allocations: 80.14 kB / 451.6 MB, free: 2.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.003932, allocations: 2.062 kB / 451.6 MB, free: 2.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.003961, allocations: 19.61 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.004059, allocations: 314.8 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.004067, allocations: 5.875 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.004074, allocations: 3.5 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.004108, allocations: 20.77 kB / 452 MB, free: 2.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00411, allocations: 0 / 452 MB, free: 2.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.262e-05/0.004163, allocations: 34.36 kB / 452 MB, free: 2.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.004177, allocations: 5.75 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.004182, allocations: 0 / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.004198, allocations: 9.844 kB / 452 MB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.004255, allocations: 0 / 452 MB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.004258, allocations: 4 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.00427, allocations: 0.9062 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.004274, allocations: 0 / 452 MB, free: 2.473 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 (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.601e-05/0.00434, allocations: 110.5 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.004348, allocations: 4.625 kB / 452.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.004431, allocations: 44.78 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.004433, allocations: 1.953 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004435, allocations: 0 / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.004438, allocations: 1.219 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.341e-05/0.004501, allocations: 65.84 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.004503, allocations: 0 / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.004531, allocations: 7.984 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.004537, allocations: 2.125 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.00454, allocations: 0 / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.004545, allocations: 8 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.004547, allocations: 2.266 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.004548, allocations: 0 / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.758e-05/0.004616, allocations: 65.84 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.004625, allocations: 0 / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-06/0.004635, allocations: 1.375 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.004663, allocations: 8 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.004666, allocations: 0 / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.305e-06/0.004674, allocations: 4.859 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.004674, allocations: 1.438 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.831e-05/0.004773, allocations: 7.984 kB / 452.3 MB, free: 2.094 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,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.0001036/0.004876, allocations: 81.81 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.979e-05/0.004926, allocations: 9.516 kB / 452.4 MB, free: 1.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.004929, allocations: 0.7812 kB / 452.4 MB, free: 1.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.004943, allocations: 14.59 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.08e-05/0.004994, allocations: 11.92 kB / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001343/0.005128, allocations: 87.86 kB / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.516e-05/0.005153, allocations: 63.16 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.103e-05/0.005164, allocations: 3 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.005191, allocations: 51.38 kB / 452.7 MB, free: 1.723 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005191, allocations: 0.625 kB / 452.7 MB, free: 1.723 MB / 426.7 MB Notification: Performance of Templates: time 0.001602/0.006793, allocations: 393.6 kB / 453 MB, free: 1.359 MB / 426.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.5775495059788227]