Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, 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.001342/0.001342, allocations: 193.2 kB / 16.14 MB, free: 6.707 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.6 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.42 kB / 0.5052 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1654, allocations: 81.02 MB / 0.5843 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002717/0.1681, allocations: 1.477 MB / 0.5858 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.1687, allocations: 272 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.1688, allocations: 0 / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.1688, allocations: 0 / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.1689, allocations: 0 / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1692, allocations: 55.88 kB / 0.5861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.1693, allocations: 19.92 kB / 0.5861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.1693, allocations: 7.938 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.1694, allocations: 8 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.1694, allocations: 11.92 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.1694, allocations: 0 / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1696, allocations: 71.86 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1696, allocations: 4 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1697, allocations: 7.938 kB / 0.5862 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1698, allocations: 59.84 kB / 0.5863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1698, allocations: 0 / 0.5863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1698, allocations: 0 / 0.5863 GB, free: 2.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.1698, allocations: 0 / 0.5863 GB, free: 2.48 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.0004741/0.1703, allocations: 347.7 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1704, allocations: 12.03 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1704, allocations: 0.9375 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1705, allocations: 160.4 kB / 0.5868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1705, allocations: 4.312 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1706, allocations: 12.3 kB / 0.5868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1707, allocations: 50.23 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1708, allocations: 4.188 kB / 0.5868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1708, allocations: 3.938 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1708, allocations: 0 / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.171, allocations: 39.89 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1713, allocations: 244.8 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1714, allocations: 46.53 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.1715, allocations: 24.91 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/0.1723, allocations: 457.5 kB / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1723, allocations: 38.56 kB / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1723, allocations: 0 / 0.5876 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000356/0.1727, allocations: 81.58 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1727, allocations: 55.41 kB / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.1728, allocations: 101.8 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1729, allocations: 25.7 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1729, allocations: 84.27 kB / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1729, allocations: 11.91 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.173, allocations: 9.719 kB / 0.588 GB, free: 412 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1731, allocations: 310.8 kB / 0.5883 GB, free: 92 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.1732, allocations: 23.97 kB / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1733, allocations: 11.98 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1734, allocations: 44.83 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1735, allocations: 0 / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002136/0.1737, allocations: 69.67 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1737, allocations: 8 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1737, allocations: 0 / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1737, allocations: 0 / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.1738, allocations: 12.02 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1738, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1739, allocations: 0 / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1739, allocations: 7.984 kB / 0.5885 GB, free: 15.9 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: 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 8.391e-05/0.174, allocations: 109.8 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.174, allocations: 3.906 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1742, allocations: 80.72 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1743, allocations: 3.938 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1743, allocations: 0 / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1743, allocations: 0 / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1744, allocations: 161.6 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1745, allocations: 0 / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.1745, allocations: 8 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1745, allocations: 0 / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1745, allocations: 3.938 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1745, allocations: 0 / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1745, allocations: 3.984 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1748, allocations: 167.4 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1749, allocations: 89.03 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1749, allocations: 0 / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.175, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.175, allocations: 7.984 kB / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.175, allocations: 4.031 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.1751, allocations: 83.45 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1751, allocations: 0 / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002335/0.1753, allocations: 16 kB / 0.5892 GB, free: 15.07 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: 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.0001934/0.1755, allocations: 115.2 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1757, allocations: 39.97 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1757, allocations: 0 / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.1758, allocations: 23.91 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1761, allocations: 7.938 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.1763, allocations: 115.3 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1766, allocations: 0.6808 MB / 0.5901 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.1767, allocations: 0 / 0.5901 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.1767, allocations: 7.438 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1767, allocations: 4 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002834/0.1795, allocations: 0.5786 MB / 0.5907 GB, free: 13.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)