Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, 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.001133/0.001133, allocations: 196.8 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9451/0.9451, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 66.84 kB / 0.5054 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1752, allocations: 80.93 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001978/0.1772, allocations: 0.5623 MB / 0.5849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005135/0.1777, allocations: 203.3 kB / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.1777, allocations: 0 / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.1778, allocations: 0 / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.428e-06/0.1778, allocations: 0 / 0.5851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.1782, allocations: 55.83 kB / 0.5852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.1782, allocations: 4 kB / 0.5852 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.1783, allocations: 3.984 kB / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.1783, allocations: 4 kB / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.67e-05/0.1783, allocations: 7.938 kB / 0.5852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-06/0.1783, allocations: 0 / 0.5852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1785, allocations: 55.88 kB / 0.5853 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1785, allocations: 4 kB / 0.5853 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.1785, allocations: 4 kB / 0.5853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1787, allocations: 39.88 kB / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1787, allocations: 0 / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1787, allocations: 0 / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1787, allocations: 0 / 0.5853 GB, free: 3.605 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000316/0.179, allocations: 323.6 kB / 0.5856 GB, free: 3.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1791, allocations: 12.03 kB / 0.5856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1791, allocations: 0.9375 kB / 0.5856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.1792, allocations: 164.3 kB / 0.5858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1792, allocations: 384 / 0.5858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1792, allocations: 384 / 0.5858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.1793, allocations: 30.27 kB / 0.5858 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1793, allocations: 192 / 0.5858 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1793, allocations: 3.938 kB / 0.5858 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1794, allocations: 4 kB / 0.5858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.1794, allocations: 0 / 0.5858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.1795, allocations: 149.7 kB / 0.586 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.1796, allocations: 22.52 kB / 0.586 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.1796, allocations: 4.859 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/0.1803, allocations: 461.5 kB / 0.5864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1804, allocations: 34.56 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1804, allocations: 0 / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.1805, allocations: 33.64 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1806, allocations: 51.41 kB / 0.5865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.093e-05/0.1806, allocations: 93.84 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1806, allocations: 33.77 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.1807, allocations: 84.14 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1807, allocations: 3.906 kB / 0.5867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.1807, allocations: 9.719 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1809, allocations: 314.8 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.1809, allocations: 4 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1809, allocations: 0 / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.1809, allocations: 20.86 kB / 0.5871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1809, allocations: 0 / 0.5871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.675e-05/0.181, allocations: 33.69 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.181, allocations: 6.969 kB / 0.5871 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.181, allocations: 0 / 0.5871 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.181, allocations: 3.938 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.1811, allocations: 11.88 kB / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1811, allocations: 0 / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.1811, allocations: 0 / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1811, allocations: 0 / 0.5871 GB, free: 1.414 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 (1): * Single equations (assignments): 1 * 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.036e-05/0.1812, allocations: 113.9 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.1812, allocations: 4 kB / 0.5872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.1813, allocations: 40.75 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1813, allocations: 0 / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1813, allocations: 0 / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1813, allocations: 0 / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.705e-05/0.1814, allocations: 141.7 kB / 0.5874 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1814, allocations: 0 / 0.5874 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.1814, allocations: 7.984 kB / 0.5874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1814, allocations: 4.031 kB / 0.5874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1814, allocations: 3.938 kB / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1814, allocations: 0 / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1814, allocations: 3.938 kB / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.1815, allocations: 61.12 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.1815, allocations: 77.11 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1816, allocations: 7.922 kB / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.1816, allocations: 0 / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1816, allocations: 4.031 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1816, allocations: 0 / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.1816, allocations: 79.28 kB / 0.5877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 0.5877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1818, allocations: 16 kB / 0.5877 GB, free: 0.7578 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 (1): * Single equations (assignments): 1 * 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.0002029/0.182, allocations: 123.2 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.75e-05/0.1821, allocations: 7.938 kB / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1821, allocations: 0 / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.1821, allocations: 3.938 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1823, allocations: 4 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001664/0.1824, allocations: 84.94 kB / 0.5879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1827, allocations: 0.6729 MB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.1827, allocations: 4.125 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.1827, allocations: 15.44 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1828, allocations: 0 / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.002271/0.185, allocations: 402.4 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)