Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008472/0.0008472, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009393/0.0009393, allocations: 172.7 kB / 15.95 MB, free: 208 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.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6529/0.6529, allocations: 132.4 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.000269, allocations: 9.469 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.334, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00123/0.3353, allocations: 1.142 MB / 0.5842 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.3357, allocations: 244.8 kB / 0.5844 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.3357, allocations: 1.344 kB / 0.5844 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.3357, allocations: 0.5 kB / 0.5844 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.3358, allocations: 5.203 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3361, allocations: 43.84 kB / 0.5845 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.3361, allocations: 22.25 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.3362, allocations: 6.453 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.3362, allocations: 3.688 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.3363, allocations: 17 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.3363, allocations: 5.922 kB / 0.5845 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3364, allocations: 62.77 kB / 0.5846 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.3364, allocations: 6.156 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.3365, allocations: 27.2 kB / 0.5846 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.861e-05/0.3365, allocations: 33.36 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3366, allocations: 4.594 kB / 0.5846 GB, free: 2.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3366, allocations: 3.938 kB / 0.5846 GB, free: 2.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.3366, allocations: 0.6562 kB / 0.5846 GB, free: 2.859 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.0003244/0.3369, allocations: 348.1 kB / 0.585 GB, free: 2.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.3369, allocations: 13.81 kB / 0.585 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.337, allocations: 1.734 kB / 0.585 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.311e-05/0.3371, allocations: 165.4 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3371, allocations: 1 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/0.3371, allocations: 1.156 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3372, allocations: 53.31 kB / 0.5852 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3372, allocations: 0.5156 kB / 0.5852 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3373, allocations: 5.25 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3373, allocations: 0 / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3374, allocations: 43.11 kB / 0.5853 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.3377, allocations: 258.7 kB / 0.5855 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3378, allocations: 48.78 kB / 0.5855 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.3379, allocations: 28.33 kB / 0.5856 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.3384, allocations: 459.2 kB / 0.586 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3384, allocations: 36.38 kB / 0.586 GB, free: 1.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3384, allocations: 0 / 0.586 GB, free: 1.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002987/0.3387, allocations: 102.8 kB / 0.5861 GB, free: 1.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.3387, allocations: 51.41 kB / 0.5862 GB, free: 1.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.3388, allocations: 105.7 kB / 0.5863 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.3388, allocations: 26.5 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.3388, allocations: 85.3 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3388, allocations: 9.703 kB / 0.5864 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.3388, allocations: 0 / 0.5864 GB, free: 1.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.241e-05/0.3389, allocations: 313.2 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3389, allocations: 18.69 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.339, allocations: 27.22 kB / 0.5868 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.3391, allocations: 18.69 kB / 0.5868 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3391, allocations: 0 / 0.5868 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001617/0.3392, allocations: 85.16 kB / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.3393, allocations: 5.469 kB / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3393, allocations: 0 / 0.5869 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3393, allocations: 5.172 kB / 0.5869 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.3394, allocations: 15.66 kB / 0.5869 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3394, allocations: 0.7969 kB / 0.5869 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.3394, allocations: 16.7 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3394, allocations: 4.766 kB / 0.5869 GB, free: 0.6797 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.624e-05/0.3395, allocations: 108.2 kB / 0.587 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.3395, allocations: 1.688 kB / 0.587 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.3397, allocations: 87.84 kB / 0.5871 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3397, allocations: 1.453 kB / 0.5871 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3397, allocations: 1 kB / 0.5871 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3397, allocations: 0 / 0.5871 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.515e-05/0.3398, allocations: 159.8 kB / 0.5872 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3398, allocations: 0 / 0.5872 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.3399, allocations: 12.2 kB / 0.5873 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3399, allocations: 0 / 0.5873 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3399, allocations: 0.8125 kB / 0.5873 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3399, allocations: 5.359 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3399, allocations: 0 / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3401, allocations: 180.3 kB / 0.5874 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.3401, allocations: 78.47 kB / 0.5875 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.3401, allocations: 2.344 kB / 0.5875 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3402, allocations: 7.672 kB / 0.5875 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.3402, allocations: 3.125 kB / 0.5875 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3402, allocations: 1.188 kB / 0.5875 GB, free: 76 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.3403, allocations: 87.78 kB / 0.5876 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3403, allocations: 0 / 0.5876 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3405, allocations: 19.06 kB / 0.5876 GB, free: 15.99 MB / 446.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.000174/0.3407, allocations: 112.5 kB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3409, allocations: 47.98 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3409, allocations: 0.8438 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.341, allocations: 25.02 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.0001991/0.3412, allocations: 12.39 kB / 0.5878 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.3414, allocations: 115.5 kB / 0.5879 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3416, allocations: 0.6781 MB / 0.5886 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.975e-05/0.3416, allocations: 2.172 kB / 0.5886 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.3417, allocations: 9.219 kB / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3417, allocations: 0 / 0.5886 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002162/0.3438, allocations: 0.572 MB / 0.5892 GB, free: 14.99 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)