Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 102.1 kB / 16.27 MB, free: 6.414 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.001302/0.001302, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 0.5061 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3383, allocations: 80.93 MB / 0.5851 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001726/0.34, allocations: 0.5678 MB / 0.5856 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003779/0.3404, allocations: 175.3 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.3405, allocations: 0.875 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.3405, allocations: 5 kB / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.559e-06/0.3405, allocations: 0.9062 kB / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3408, allocations: 48.73 kB / 0.5859 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.133e-05/0.3409, allocations: 10.52 kB / 0.5859 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3409, allocations: 1 kB / 0.5859 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.274e-05/0.3409, allocations: 5.219 kB / 0.5859 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.663e-05/0.341, allocations: 5.375 kB / 0.5859 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-06/0.341, allocations: 0 / 0.5859 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3411, allocations: 57.72 kB / 0.5859 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-06/0.3411, allocations: 1.156 kB / 0.5859 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.373e-05/0.3412, allocations: 0.7188 kB / 0.5859 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.3413, allocations: 36.81 kB / 0.586 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3413, allocations: 1.719 kB / 0.586 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3413, allocations: 0 / 0.586 GB, free: 24.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3413, allocations: 1.156 kB / 0.586 GB, free: 24.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002258/0.3415, allocations: 322.7 kB / 0.5863 GB, free: 24.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3415, allocations: 10.23 kB / 0.5863 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.3416, allocations: 0.9375 kB / 0.5863 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.7e-05/0.3416, allocations: 165.7 kB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.3417, allocations: 384 / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3417, allocations: 2.906 kB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/0.3417, allocations: 27.42 kB / 0.5865 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.3418, allocations: 192 / 0.5865 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3418, allocations: 7.125 kB / 0.5865 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3418, allocations: 3.938 kB / 0.5865 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.3418, allocations: 1.406 kB / 0.5865 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.018e-05/0.3419, allocations: 152.7 kB / 0.5866 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.503e-05/0.3419, allocations: 19.83 kB / 0.5867 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.3419, allocations: 6.234 kB / 0.5867 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/0.3425, allocations: 450.3 kB / 0.5871 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.3425, allocations: 36.56 kB / 0.5871 GB, free: 23.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3425, allocations: 0 / 0.5871 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.3426, allocations: 44.19 kB / 0.5872 GB, free: 23.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.3427, allocations: 51.41 kB / 0.5872 GB, free: 23.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.557e-05/0.3427, allocations: 91.33 kB / 0.5873 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.3427, allocations: 25.7 kB / 0.5873 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-06/0.3427, allocations: 81.27 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3427, allocations: 7.281 kB / 0.5874 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3428, allocations: 17.31 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.3428, allocations: 314.8 kB / 0.5877 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.3428, allocations: 2.062 kB / 0.5877 GB, free: 22.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.3428, allocations: 5.5 kB / 0.5877 GB, free: 22.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.3428, allocations: 13.38 kB / 0.5878 GB, free: 22.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3428, allocations: 1.219 kB / 0.5878 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.906e-05/0.3429, allocations: 33.77 kB / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3429, allocations: 6.031 kB / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3429, allocations: 0 / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3429, allocations: 4.906 kB / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-05/0.343, allocations: 6.406 kB / 0.5878 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.343, allocations: 1.938 kB / 0.5878 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-06/0.343, allocations: 0 / 0.5878 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.343, allocations: 1.531 kB / 0.5878 GB, free: 22.58 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 (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 3.708e-05/0.343, allocations: 114.8 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.3431, allocations: 0.5938 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.3431, allocations: 39.98 kB / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3431, allocations: 0 / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3431, allocations: 1.438 kB / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3431, allocations: 0 / 0.588 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.065e-05/0.3432, allocations: 146.7 kB / 0.5881 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3432, allocations: 0 / 0.5881 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3432, allocations: 12.44 kB / 0.5881 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.3432, allocations: 0 / 0.5881 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.3432, allocations: 3.938 kB / 0.5881 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3432, allocations: 1.156 kB / 0.5881 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3432, allocations: 0 / 0.5881 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.057e-05/0.3433, allocations: 60.5 kB / 0.5882 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.3433, allocations: 78.61 kB / 0.5882 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-06/0.3433, allocations: 5.562 kB / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.3433, allocations: 0 / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.3433, allocations: 1.281 kB / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.3433, allocations: 0 / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.02e-05/0.3434, allocations: 79.31 kB / 0.5883 GB, free: 21.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 0 / 0.5883 GB, free: 21.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.3436, allocations: 15 kB / 0.5883 GB, free: 21.98 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 (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.0001574/0.3437, allocations: 125.8 kB / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.074e-05/0.3438, allocations: 7.781 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3438, allocations: 0 / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.3438, allocations: 3.094 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.3439, allocations: 3.844 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000131/0.3441, allocations: 113.1 kB / 0.5886 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.3441, allocations: 0.6701 MB / 0.5892 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-06/0.3442, allocations: 8.594 kB / 0.5892 GB, free: 21.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3442, allocations: 1 kB / 0.5892 GB, free: 21.04 MB / 446.1 MB Notification: Performance of Templates: time 0.001806/0.346, allocations: 0.554 MB / 0.5898 GB, free: 20.79 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)