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.000713/0.000713, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008822/0.001595, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006922/0.0006922, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008524/0.001545, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.112, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7638/0.7638, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2415/1.005, allocations: 49.12 MB / 448.4 MB, free: 6.02 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.253e-06/1.253e-06, allocations: 0 / 449.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.047e-05, allocations: 5.156 kB / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001174/0.001194, allocations: 0.647 MB / 450.4 MB, free: 4.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.585e-05/0.00129, allocations: 46.77 kB / 450.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.001301, allocations: 0 / 450.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-06/0.001305, allocations: 0 / 450.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.001306, allocations: 0 / 450.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.001411, allocations: 15.91 kB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.00146, allocations: 6.609 kB / 450.5 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.001496, allocations: 0 / 450.5 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.001533, allocations: 8.984 kB / 450.5 MB, free: 3.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.225e-05/0.001555, allocations: 4 kB / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.001566, allocations: 0.5938 kB / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.001654, allocations: 12.75 kB / 450.5 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.001662, allocations: 0.625 kB / 450.5 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.858e-06/0.001671, allocations: 2.562 kB / 450.5 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.001752, allocations: 16.89 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.001765, allocations: 0 / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.001766, allocations: 4.547 kB / 450.5 MB, free: 3.945 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.001782, allocations: 0 / 450.5 MB, free: 3.945 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.0002412/0.002024, allocations: 212.8 kB / 450.7 MB, free: 3.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.002051, allocations: 10.02 kB / 450.7 MB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.002072, allocations: 4.922 kB / 450.7 MB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.159e-05/0.002124, allocations: 110.6 kB / 450.9 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.002132, allocations: 384 / 450.9 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-06/0.002137, allocations: 384 / 450.9 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.797e-05/0.002205, allocations: 30.77 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.002212, allocations: 0.6875 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.002217, allocations: 1.656 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.002222, allocations: 384 / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.002246, allocations: 16.62 kB / 450.9 MB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.931e-05/0.002315, allocations: 61.77 kB / 451 MB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.75e-05/0.002353, allocations: 20.55 kB / 451 MB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.005e-05/0.002363, allocations: 4.859 kB / 451 MB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.002471, allocations: 8.047 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.00249, allocations: 30.56 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.002491, allocations: 4 kB / 451 MB, free: 3.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.897e-05/0.00258, allocations: 34.75 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.002609, allocations: 52.03 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.229e-05/0.002642, allocations: 97.84 kB / 451.2 MB, free: 3.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.00265, allocations: 27.36 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.002944, allocations: 84.12 kB / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.002961, allocations: 6.719 kB / 451.3 MB, free: 3.023 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.002981, allocations: 13.72 kB / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.003046, allocations: 316.2 kB / 451.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.003055, allocations: 4 kB / 451.6 MB, free: 2.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.00306, allocations: 0 / 451.6 MB, free: 2.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.003087, allocations: 13.69 kB / 451.7 MB, free: 2.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003088, allocations: 0.9844 kB / 451.7 MB, free: 2.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.619e-05/0.003125, allocations: 38.3 kB / 451.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003137, allocations: 4.844 kB / 451.7 MB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003141, allocations: 0 / 451.7 MB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.525e-06/0.003149, allocations: 0.625 kB / 451.7 MB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.003202, allocations: 7.984 kB / 451.7 MB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.003204, allocations: 1.5 kB / 451.7 MB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.003213, allocations: 0 / 451.7 MB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.003216, allocations: 4 kB / 451.7 MB, free: 2.609 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 4.409e-05/0.00326, allocations: 112.5 kB / 451.8 MB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.003264, allocations: 4 kB / 451.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.003323, allocations: 50 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.003325, allocations: 0 / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.003326, allocations: 0 / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.003328, allocations: 0 / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.862e-05/0.003377, allocations: 75.36 kB / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.003378, allocations: 0 / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.003391, allocations: 8.891 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-06/0.003394, allocations: 0 / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.003395, allocations: 0 / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-06/0.003398, allocations: 1.188 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003398, allocations: 0 / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.003399, allocations: 4 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.278e-05/0.003442, allocations: 65.95 kB / 452 MB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.003449, allocations: 4.594 kB / 452 MB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.003453, allocations: 0.6562 kB / 452 MB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.003473, allocations: 3.938 kB / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.003479, allocations: 6.312 kB / 452 MB, free: 2.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.25e-06/0.003484, allocations: 4.859 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003484, allocations: 0.5625 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.344e-05/0.003578, allocations: 5.5 kB / 452.1 MB, free: 2.234 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.0001043/0.003682, allocations: 81.22 kB / 452.1 MB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.274e-05/0.003735, allocations: 14.08 kB / 452.2 MB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.003737, allocations: 0 / 452.2 MB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.003749, allocations: 9.578 kB / 452.2 MB, free: 2.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.765e-05/0.003796, allocations: 8.688 kB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001413/0.003938, allocations: 91.81 kB / 452.3 MB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.532e-05/0.003963, allocations: 59.2 kB / 452.3 MB, free: 1.918 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.162e-05/0.003975, allocations: 6.719 kB / 452.3 MB, free: 1.914 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.004001, allocations: 51.36 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.004001, allocations: 0.625 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of Templates: time 0.0017/0.005701, allocations: 373.7 kB / 452.7 MB, free: 1.512 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.5364681240171194]