Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001221/0.001221, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.5 kB / 0.5053 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1704, allocations: 80.93 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.003166/0.1736, allocations: 1.416 MB / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006006/0.1743, allocations: 245.7 kB / 0.586 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1743, allocations: 4 kB / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.1744, allocations: 0 / 0.586 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.1745, allocations: 3.938 kB / 0.586 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1749, allocations: 59.83 kB / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.175, allocations: 12 kB / 0.5861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1751, allocations: 15.97 kB / 0.5861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.1752, allocations: 11.88 kB / 0.5861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.1752, allocations: 11.98 kB / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1752, allocations: 4 kB / 0.5861 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.1754, allocations: 55.95 kB / 0.5862 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1755, allocations: 3.984 kB / 0.5862 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.1755, allocations: 11.94 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1757, allocations: 59.8 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1757, allocations: 0 / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1758, allocations: 0 / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1758, allocations: 0 / 0.5862 GB, free: 2.656 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.0006056/0.1764, allocations: 343.6 kB / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1764, allocations: 12.03 kB / 0.5866 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.1765, allocations: 12.92 kB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1768, allocations: 160.4 kB / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1768, allocations: 384 / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1768, allocations: 384 / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.177, allocations: 50.23 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.177, allocations: 192 / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1771, allocations: 3.938 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1771, allocations: 4 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.1773, allocations: 31.97 kB / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.1777, allocations: 252.8 kB / 0.5871 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1778, allocations: 38.5 kB / 0.5871 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.1779, allocations: 28.89 kB / 0.5871 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008351/0.1788, allocations: 457.5 kB / 0.5876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1788, allocations: 34.56 kB / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.1788, allocations: 0 / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003516/0.1792, allocations: 89.52 kB / 0.5877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1792, allocations: 55.41 kB / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.1793, allocations: 101.8 kB / 0.5878 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1793, allocations: 25.7 kB / 0.5879 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.1794, allocations: 80.14 kB / 0.5879 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1794, allocations: 7.891 kB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1795, allocations: 17.72 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1796, allocations: 315 kB / 0.5883 GB, free: 276 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.1797, allocations: 23.97 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.1797, allocations: 11.98 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1799, allocations: 36.83 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1799, allocations: 64 / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1801, allocations: 73.53 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1801, allocations: 8 kB / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1801, allocations: 4 kB / 0.5884 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1802, allocations: 0 / 0.5884 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.1803, allocations: 7.984 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1803, allocations: 0 / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1803, allocations: 11.98 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1803, allocations: 8.031 kB / 0.5884 GB, free: 80 kB / 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 0.0001692/0.1805, allocations: 109.8 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1806, allocations: 3.938 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.1808, allocations: 80.62 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1808, allocations: 0 / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1808, allocations: 0 / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1808, allocations: 0 / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.181, allocations: 165.6 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.181, allocations: 0 / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.181, allocations: 8 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1811, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1811, allocations: 3.984 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1811, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1811, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1813, allocations: 163.5 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.1814, allocations: 85.05 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1814, allocations: 4 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1816, allocations: 11.88 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.1817, allocations: 3.984 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1817, allocations: 0 / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.1817, allocations: 79.28 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1817, allocations: 0 / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002469/0.182, allocations: 16.03 kB / 0.5891 GB, free: 15.26 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.0002268/0.1822, allocations: 119.2 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1825, allocations: 39.95 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1825, allocations: 4.062 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.1826, allocations: 15.98 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1828, allocations: 7.938 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1832, allocations: 112.4 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1834, allocations: 0.6806 MB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.1835, allocations: 4.062 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.1835, allocations: 11.44 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1835, allocations: 0 / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.003199/0.1867, allocations: 0.6595 MB / 0.5907 GB, free: 13.55 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)