Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001356/0.001356, allocations: 196.6 kB / 16.14 MB, free: 6.695 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7783/0.7783, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 60.88 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1693, allocations: 80.2 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002498/0.1719, allocations: 1.491 MB / 0.5809 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006497/0.1725, allocations: 256 kB / 0.5811 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1726, allocations: 4 kB / 0.5811 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.1726, allocations: 0 / 0.5811 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.1727, allocations: 7.922 kB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.173, allocations: 47.89 kB / 0.5812 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.173, allocations: 16 kB / 0.5812 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.1731, allocations: 11.98 kB / 0.5812 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.1732, allocations: 11.88 kB / 0.5812 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.1732, allocations: 7.984 kB / 0.5812 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1732, allocations: 7.984 kB / 0.5812 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1734, allocations: 59.88 kB / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1734, allocations: 7.938 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1734, allocations: 4 kB / 0.5813 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1736, allocations: 51.86 kB / 0.5814 GB, free: 7.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1736, allocations: 4 kB / 0.5814 GB, free: 7.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1736, allocations: 0 / 0.5814 GB, free: 7.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1736, allocations: 0 / 0.5814 GB, free: 7.227 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004614/0.1741, allocations: 352.9 kB / 0.5817 GB, free: 6.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1741, allocations: 8.031 kB / 0.5817 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1742, allocations: 4.938 kB / 0.5817 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1743, allocations: 164.4 kB / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1743, allocations: 384 / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1743, allocations: 4.375 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1745, allocations: 58.17 kB / 0.5819 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1745, allocations: 192 / 0.5819 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1745, allocations: 3.938 kB / 0.5819 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1745, allocations: 0 / 0.5819 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.1747, allocations: 35.89 kB / 0.582 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.175, allocations: 248.9 kB / 0.5822 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1752, allocations: 46.44 kB / 0.5822 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.1753, allocations: 24.89 kB / 0.5823 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/0.176, allocations: 453.5 kB / 0.5827 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.176, allocations: 34.56 kB / 0.5827 GB, free: 5.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.176, allocations: 0 / 0.5827 GB, free: 5.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003353/0.1764, allocations: 77.64 kB / 0.5828 GB, free: 5.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1764, allocations: 51.41 kB / 0.5829 GB, free: 5.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.1765, allocations: 106 kB / 0.583 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1765, allocations: 25.7 kB / 0.583 GB, free: 5.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.1766, allocations: 84.08 kB / 0.5831 GB, free: 5.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1766, allocations: 11.91 kB / 0.5831 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1766, allocations: 13.66 kB / 0.5831 GB, free: 5.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1768, allocations: 318.8 kB / 0.5834 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.1768, allocations: 15.98 kB / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/0.1769, allocations: 15.98 kB / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1771, allocations: 36.83 kB / 0.5835 GB, free: 4.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1771, allocations: 0 / 0.5835 GB, free: 4.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.1773, allocations: 73.59 kB / 0.5835 GB, free: 4.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1773, allocations: 4 kB / 0.5835 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1773, allocations: 4.094 kB / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1773, allocations: 0 / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1774, allocations: 15.92 kB / 0.5835 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1774, allocations: 0 / 0.5835 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1775, allocations: 7.984 kB / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1775, allocations: 0 / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.703e-05/0.1775, allocations: 109.8 kB / 0.5837 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1776, allocations: 11.91 kB / 0.5837 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1778, allocations: 72.78 kB / 0.5837 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1778, allocations: 0 / 0.5837 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1778, allocations: 0 / 0.5837 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1778, allocations: 0 / 0.5837 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.178, allocations: 161.6 kB / 0.5839 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.178, allocations: 4 kB / 0.5839 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.1781, allocations: 7.984 kB / 0.5839 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1781, allocations: 3.938 kB / 0.5839 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1781, allocations: 4.031 kB / 0.5839 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1781, allocations: 3.938 kB / 0.5839 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1781, allocations: 4 kB / 0.5839 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1783, allocations: 159.5 kB / 0.5841 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.1784, allocations: 85.23 kB / 0.5842 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1784, allocations: 0 / 0.5842 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.1785, allocations: 12.02 kB / 0.5842 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1786, allocations: 3.984 kB / 0.5842 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.1786, allocations: 0 / 0.5842 GB, free: 3.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.1786, allocations: 83.28 kB / 0.5842 GB, free: 3.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1786, allocations: 0 / 0.5842 GB, free: 3.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1789, allocations: 20 kB / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0002007/0.1791, allocations: 115.2 kB / 0.5844 GB, free: 3.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1793, allocations: 43.89 kB / 0.5844 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1793, allocations: 0 / 0.5844 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1794, allocations: 19.98 kB / 0.5844 GB, free: 3.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1796, allocations: 7.875 kB / 0.5844 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.1799, allocations: 107.4 kB / 0.5845 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1802, allocations: 0.6808 MB / 0.5852 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.1802, allocations: 3.938 kB / 0.5852 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1803, allocations: 7.438 kB / 0.5852 GB, free: 2.781 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1803, allocations: 0 / 0.5852 GB, free: 2.781 MB / 494.1 MB Notification: Performance of Templates: time 0.003453/0.1837, allocations: 0.5812 MB / 0.5858 GB, free: 2.207 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)