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.001085/0.001085, allocations: 119.9 kB / 16.37 MB, free: 6.016 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.0009989/0.0009989, allocations: 193 kB / 17.31 MB, free: 5.613 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7945/0.7945, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3553, allocations: 80.18 MB / 0.5815 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002884/0.3582, allocations: 1.427 MB / 0.5829 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005045/0.3588, allocations: 252.6 kB / 0.5831 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.3588, allocations: 1.562 kB / 0.5831 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.3588, allocations: 3.984 kB / 0.5831 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.3589, allocations: 6.344 kB / 0.5831 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.3593, allocations: 57.78 kB / 0.5832 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.3594, allocations: 20.5 kB / 0.5832 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.3595, allocations: 7.078 kB / 0.5832 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.3595, allocations: 12.16 kB / 0.5832 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.3596, allocations: 15.73 kB / 0.5832 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.3596, allocations: 1.125 kB / 0.5832 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3597, allocations: 51.39 kB / 0.5833 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3598, allocations: 13.91 kB / 0.5833 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.3598, allocations: 10.44 kB / 0.5833 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3599, allocations: 49.88 kB / 0.5834 GB, free: 26.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.36, allocations: 0 / 0.5834 GB, free: 26.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.36, allocations: 0 / 0.5834 GB, free: 26.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.36, allocations: 0 / 0.5834 GB, free: 26.26 MB / 446.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.0003775/0.3604, allocations: 343.5 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3604, allocations: 9.281 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3604, allocations: 7.531 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.3605, allocations: 173.3 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3606, allocations: 1.5 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.3606, allocations: 2.031 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3607, allocations: 54.7 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3607, allocations: 4.125 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3608, allocations: 6 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3608, allocations: 1.125 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3609, allocations: 38.61 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.3612, allocations: 252.2 kB / 0.5842 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3613, allocations: 34.59 kB / 0.5842 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.3614, allocations: 24.44 kB / 0.5843 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.362, allocations: 457.6 kB / 0.5847 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.362, allocations: 30.56 kB / 0.5847 GB, free: 24.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.362, allocations: 1.594 kB / 0.5847 GB, free: 24.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.3623, allocations: 82.95 kB / 0.5848 GB, free: 24.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.3623, allocations: 55.41 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.3624, allocations: 99.59 kB / 0.585 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.3624, allocations: 26.58 kB / 0.585 GB, free: 24.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.3624, allocations: 89.44 kB / 0.5851 GB, free: 24.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.3625, allocations: 6.281 kB / 0.5851 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.3625, allocations: 10.94 kB / 0.5851 GB, free: 24.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.3625, allocations: 318.9 kB / 0.5854 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.3626, allocations: 17.25 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.3627, allocations: 16.45 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3628, allocations: 42.3 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3628, allocations: 0 / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001659/0.363, allocations: 69.28 kB / 0.5855 GB, free: 23.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.363, allocations: 5.938 kB / 0.5855 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.363, allocations: 0.7188 kB / 0.5855 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3631, allocations: 0 / 0.5855 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.3631, allocations: 11.05 kB / 0.5856 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3632, allocations: 1 kB / 0.5856 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3632, allocations: 4.719 kB / 0.5856 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3632, allocations: 3.984 kB / 0.5856 GB, free: 23.96 MB / 446.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 4.622e-05/0.3633, allocations: 114.8 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.3633, allocations: 11.84 kB / 0.5857 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.3635, allocations: 71.56 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3635, allocations: 1.438 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3635, allocations: 0 / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3635, allocations: 1.25 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3637, allocations: 162.8 kB / 0.5859 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3637, allocations: 0 / 0.5859 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.3637, allocations: 7.5 kB / 0.5859 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3637, allocations: 0 / 0.5859 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3637, allocations: 2 kB / 0.5859 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3637, allocations: 0 / 0.5859 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3638, allocations: 9.141 kB / 0.5859 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3639, allocations: 171.3 kB / 0.5861 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.364, allocations: 81.09 kB / 0.5862 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.364, allocations: 0.7812 kB / 0.5862 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.3641, allocations: 4.688 kB / 0.5862 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3641, allocations: 3.984 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3641, allocations: 1.125 kB / 0.5862 GB, free: 23.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.298e-05/0.3641, allocations: 84.72 kB / 0.5863 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3641, allocations: 0 / 0.5863 GB, free: 23.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.3644, allocations: 19 kB / 0.5863 GB, free: 23.23 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 (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.0001667/0.3646, allocations: 117.5 kB / 0.5864 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.3648, allocations: 33.41 kB / 0.5864 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3648, allocations: 0 / 0.5864 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.3649, allocations: 28.38 kB / 0.5864 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3651, allocations: 12.69 kB / 0.5865 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.3653, allocations: 108.4 kB / 0.5866 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.3654, allocations: 0.673 MB / 0.5872 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.3655, allocations: 5.516 kB / 0.5872 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.3655, allocations: 8.656 kB / 0.5872 GB, free: 22.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3655, allocations: 0.5 kB / 0.5872 GB, free: 22.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002763/0.3683, allocations: 0.6459 MB / 0.5879 GB, free: 21.98 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)