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.0008181/0.0008181, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008865/0.0008865, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6604/0.6604, allocations: 132.4 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 15.98 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3253, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001213/0.3266, allocations: 1.148 MB / 0.5842 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.327, allocations: 231.7 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.327, allocations: 0.75 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.327, allocations: 0.6562 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.3271, allocations: 5.156 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3273, allocations: 44.69 kB / 0.5845 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.3274, allocations: 21.8 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.791e-05/0.3275, allocations: 3.703 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.3275, allocations: 12.25 kB / 0.5845 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.3275, allocations: 9.375 kB / 0.5845 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.3275, allocations: 4.656 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3277, allocations: 58.38 kB / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.3277, allocations: 9.328 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.3277, allocations: 27.58 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.604e-05/0.3278, allocations: 37.64 kB / 0.5846 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3278, allocations: 3.938 kB / 0.5846 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3278, allocations: 0 / 0.5846 GB, free: 2.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3278, allocations: 0.75 kB / 0.5846 GB, free: 2.875 MB / 430.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.0003141/0.3282, allocations: 344 kB / 0.585 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.3282, allocations: 13.75 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.3282, allocations: 1.375 kB / 0.585 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.625e-05/0.3283, allocations: 167.1 kB / 0.5851 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3283, allocations: 4 kB / 0.5852 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.3283, allocations: 1.312 kB / 0.5852 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3285, allocations: 58.08 kB / 0.5852 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3285, allocations: 0 / 0.5852 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3285, allocations: 0 / 0.5852 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3285, allocations: 5.25 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3287, allocations: 46.69 kB / 0.5853 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3289, allocations: 249.2 kB / 0.5855 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.329, allocations: 50.05 kB / 0.5855 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.3291, allocations: 25.16 kB / 0.5856 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.3295, allocations: 458.4 kB / 0.586 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.3296, allocations: 32.66 kB / 0.586 GB, free: 1.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3296, allocations: 0 / 0.586 GB, free: 1.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002975/0.3299, allocations: 107.1 kB / 0.5861 GB, free: 1.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.3299, allocations: 55.36 kB / 0.5862 GB, free: 1.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.938e-05/0.3299, allocations: 104.5 kB / 0.5863 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.3299, allocations: 26.58 kB / 0.5863 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.33, allocations: 85.92 kB / 0.5864 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.33, allocations: 5.359 kB / 0.5864 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.33, allocations: 0 / 0.5864 GB, free: 1.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.33, allocations: 317.6 kB / 0.5867 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.3301, allocations: 18.95 kB / 0.5867 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.3302, allocations: 30.75 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.684e-05/0.3303, allocations: 18.48 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3303, allocations: 0.7188 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001584/0.3304, allocations: 80.75 kB / 0.5868 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3305, allocations: 7.641 kB / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3305, allocations: 1.219 kB / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3305, allocations: 0 / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.3306, allocations: 11.8 kB / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3306, allocations: 0 / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.3306, allocations: 12.77 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3306, allocations: 4.875 kB / 0.5869 GB, free: 0.7031 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.3307, allocations: 112 kB / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3307, allocations: 2.391 kB / 0.587 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.3309, allocations: 92.31 kB / 0.5871 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3309, allocations: 0.9062 kB / 0.5871 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3309, allocations: 0 / 0.5871 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3309, allocations: 1.5 kB / 0.5871 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.331, allocations: 159.2 kB / 0.5872 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.331, allocations: 0.6562 kB / 0.5872 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.3311, allocations: 10.95 kB / 0.5872 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3311, allocations: 0.9688 kB / 0.5872 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3311, allocations: 0.75 kB / 0.5872 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3311, allocations: 5.031 kB / 0.5873 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3311, allocations: 0 / 0.5873 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3313, allocations: 172.2 kB / 0.5874 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.3313, allocations: 83.09 kB / 0.5875 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3313, allocations: 5.859 kB / 0.5875 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.3314, allocations: 8.078 kB / 0.5875 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.3314, allocations: 5.891 kB / 0.5875 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.3314, allocations: 6.109 kB / 0.5875 GB, free: 84 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.3315, allocations: 79.73 kB / 0.5876 GB, free: 8 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3315, allocations: 0 / 0.5876 GB, free: 8 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000218/0.3317, allocations: 17.73 kB / 0.5876 GB, free: 4 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.3319, allocations: 117.4 kB / 0.5877 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.3321, allocations: 52.42 kB / 0.5878 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3321, allocations: 3.938 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3321, allocations: 21.16 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.3324, allocations: 9.188 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.3326, allocations: 115 kB / 0.5879 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3328, allocations: 0.6758 MB / 0.5886 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.082e-05/0.3328, allocations: 1.531 kB / 0.5886 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.3328, allocations: 8.188 kB / 0.5886 GB, free: 15.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3328, allocations: 0 / 0.5886 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002478/0.3353, allocations: 0.576 MB / 0.5891 GB, free: 15 MB / 446.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)