Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005894/0.005894, allocations: 105.4 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7689/0.7689, allocations: 132.2 MB / 422.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.5814 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5083, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001742/0.5101, allocations: 0.5768 MB / 0.6603 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002871/0.5104, allocations: 64.78 kB / 0.6603 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.5104, allocations: 1.344 kB / 0.6603 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.5105, allocations: 0 / 0.6603 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-06/0.5105, allocations: 0 / 0.6603 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.5108, allocations: 14.56 kB / 0.6604 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.5109, allocations: 37.02 kB / 0.6604 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.511, allocations: 2.906 kB / 0.6604 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.511, allocations: 15.5 kB / 0.6604 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.511, allocations: 7.562 kB / 0.6604 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.511, allocations: 2.25 kB / 0.6604 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.5111, allocations: 20.25 kB / 0.6604 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.5112, allocations: 10.84 kB / 0.6604 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.5112, allocations: 17.64 kB / 0.6605 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.5113, allocations: 36.39 kB / 0.6605 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5113, allocations: 0 / 0.6605 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5113, allocations: 1.062 kB / 0.6605 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.5114, allocations: 0 / 0.6605 GB, free: 9.887 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002824/0.5116, allocations: 336.2 kB / 0.6608 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5117, allocations: 9.844 kB / 0.6608 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.5117, allocations: 3.5 kB / 0.6608 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.553e-05/0.5118, allocations: 170.3 kB / 0.661 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5118, allocations: 9.688 kB / 0.661 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5118, allocations: 4.188 kB / 0.661 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.512, allocations: 63.67 kB / 0.6611 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.512, allocations: 4.172 kB / 0.6611 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.512, allocations: 5.969 kB / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.512, allocations: 1.25 kB / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.5122, allocations: 104.4 kB / 0.6612 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.5123, allocations: 172.8 kB / 0.6613 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.5125, allocations: 78.73 kB / 0.6614 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.5125, allocations: 33.05 kB / 0.6615 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.5128, allocations: 404 kB / 0.6618 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.5128, allocations: 35.31 kB / 0.6619 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.5128, allocations: 2 kB / 0.6619 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002401/0.513, allocations: 112.4 kB / 0.662 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.5131, allocations: 56.84 kB / 0.662 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.541e-05/0.5131, allocations: 100.8 kB / 0.6621 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.5131, allocations: 27.02 kB / 0.6622 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.018e-05/0.5131, allocations: 84.73 kB / 0.6622 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.5132, allocations: 18.12 kB / 0.6623 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.5132, allocations: 32.11 kB / 0.6623 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.5133, allocations: 314.7 kB / 0.6626 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.5133, allocations: 24.03 kB / 0.6626 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.5133, allocations: 23.19 kB / 0.6626 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5135, allocations: 59.62 kB / 0.6627 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5135, allocations: 0 / 0.6627 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001297/0.5136, allocations: 97.89 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5136, allocations: 5.125 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5136, allocations: 5.219 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5136, allocations: 4.594 kB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5137, allocations: 17.88 kB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5138, allocations: 1.281 kB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.5138, allocations: 9.938 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5138, allocations: 3.25 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.601e-05/0.5139, allocations: 121.2 kB / 0.6629 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.5139, allocations: 5.344 kB / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.5141, allocations: 128.2 kB / 0.6631 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5142, allocations: 1.984 kB / 0.6631 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5142, allocations: 3.938 kB / 0.6631 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5142, allocations: 4.656 kB / 0.6631 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.506e-05/0.5143, allocations: 182.1 kB / 0.6633 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5143, allocations: 0 / 0.6633 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.5143, allocations: 22 kB / 0.6633 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5144, allocations: 6.328 kB / 0.6633 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.5144, allocations: 1.094 kB / 0.6633 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5144, allocations: 0.5625 kB / 0.6633 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5144, allocations: 1.5 kB / 0.6633 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.5145, allocations: 124.1 kB / 0.6634 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.5145, allocations: 83.33 kB / 0.6635 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.5146, allocations: 5.469 kB / 0.6635 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.5146, allocations: 0 / 0.6635 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.5146, allocations: 12.05 kB / 0.6635 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.5146, allocations: 2.938 kB / 0.6635 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.25e-05/0.5146, allocations: 80.47 kB / 0.6636 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5146, allocations: 0 / 0.6636 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002036/0.5149, allocations: 19.05 kB / 0.6636 GB, free: 6.969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001565/0.515, allocations: 117.4 kB / 0.6637 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.5152, allocations: 64.02 kB / 0.6638 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5152, allocations: 0 / 0.6638 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.5152, allocations: 34.55 kB / 0.6638 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.5154, allocations: 8.594 kB / 0.6638 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.5156, allocations: 158 kB / 0.664 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.5157, allocations: 0.6853 MB / 0.6646 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.758e-05/0.5158, allocations: 32.06 kB / 0.6647 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.5158, allocations: 16.14 kB / 0.6647 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5158, allocations: 5.281 kB / 0.6647 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of Templates: time 0.002585/0.5184, allocations: 0.6067 MB / 0.6653 GB, free: 5.652 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)