Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001276/0.001281, allocations: 107 kB / 16.36 MB, free: 6.336 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.001557/0.001557, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.305/1.305, 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-master/package.mo): time 0.7871/0.7871, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 0.5067 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.346, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002569/0.3486, allocations: 1.423 MB / 0.5871 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00048/0.3491, allocations: 253 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.3492, allocations: 0 / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.3492, allocations: 0 / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.3493, allocations: 5.594 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.3497, allocations: 66.62 kB / 0.5875 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.3497, allocations: 17.08 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.3498, allocations: 7.969 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.3499, allocations: 12.3 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.3499, allocations: 6.562 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3499, allocations: 1.594 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3501, allocations: 68.39 kB / 0.5876 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.3501, allocations: 0.8125 kB / 0.5876 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.3501, allocations: 10.31 kB / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.3503, allocations: 56.81 kB / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3503, allocations: 0 / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3503, allocations: 1.469 kB / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3503, allocations: 0 / 0.5876 GB, free: 24.13 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.00044/0.3508, allocations: 343.5 kB / 0.588 GB, free: 23.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3508, allocations: 10.08 kB / 0.588 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3508, allocations: 2.5 kB / 0.588 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.351, allocations: 171 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.351, allocations: 5.5 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.351, allocations: 1.75 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3512, allocations: 51.11 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3512, allocations: 1.406 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3512, allocations: 3.938 kB / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3512, allocations: 0 / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.3514, allocations: 35.89 kB / 0.5882 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.3517, allocations: 249.5 kB / 0.5885 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3518, allocations: 44.41 kB / 0.5885 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.3519, allocations: 24.59 kB / 0.5885 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/0.3525, allocations: 457.5 kB / 0.589 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3526, allocations: 31.75 kB / 0.589 GB, free: 22.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3526, allocations: 0 / 0.589 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.3529, allocations: 87.14 kB / 0.5891 GB, free: 22.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.353, allocations: 51.91 kB / 0.5891 GB, free: 22.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.353, allocations: 100.2 kB / 0.5892 GB, free: 22.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3531, allocations: 25.7 kB / 0.5892 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.3531, allocations: 86.78 kB / 0.5893 GB, free: 22.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3531, allocations: 5.562 kB / 0.5893 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.3531, allocations: 19.08 kB / 0.5894 GB, free: 22.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.3532, allocations: 313.2 kB / 0.5897 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.3533, allocations: 13.11 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.3534, allocations: 19.73 kB / 0.5897 GB, free: 21.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3535, allocations: 41.09 kB / 0.5897 GB, free: 21.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3535, allocations: 0 / 0.5897 GB, free: 21.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001674/0.3537, allocations: 72.86 kB / 0.5898 GB, free: 21.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3537, allocations: 10.2 kB / 0.5898 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3537, allocations: 2 kB / 0.5898 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3538, allocations: 0 / 0.5898 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.3538, allocations: 5.719 kB / 0.5898 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3539, allocations: 0.9375 kB / 0.5898 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.3539, allocations: 8.672 kB / 0.5898 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3539, allocations: 1.125 kB / 0.5898 GB, free: 21.85 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 7.165e-05/0.354, allocations: 117.7 kB / 0.5899 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.354, allocations: 5.375 kB / 0.5899 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.3542, allocations: 78.77 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3543, allocations: 1.188 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3543, allocations: 1.281 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3543, allocations: 1.375 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3544, allocations: 161.5 kB / 0.5902 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3544, allocations: 0.5312 kB / 0.5902 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.3545, allocations: 11.45 kB / 0.5902 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3545, allocations: 1.562 kB / 0.5902 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3545, allocations: 0 / 0.5902 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3545, allocations: 0 / 0.5902 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3545, allocations: 5.125 kB / 0.5902 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.3547, allocations: 163.1 kB / 0.5903 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.3548, allocations: 78.2 kB / 0.5904 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3548, allocations: 1.062 kB / 0.5904 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3549, allocations: 11.33 kB / 0.5904 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.3549, allocations: 1.188 kB / 0.5904 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3549, allocations: 4.969 kB / 0.5904 GB, free: 21.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.355, allocations: 83.08 kB / 0.5905 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.355, allocations: 0.625 kB / 0.5905 GB, free: 21.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3553, allocations: 18.09 kB / 0.5905 GB, free: 21.12 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.0002085/0.3555, allocations: 118 kB / 0.5906 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3557, allocations: 41.05 kB / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3557, allocations: 1.75 kB / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.3558, allocations: 16.92 kB / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.356, allocations: 6.875 kB / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.3563, allocations: 111.6 kB / 0.5908 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.3564, allocations: 0.6769 MB / 0.5915 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.3565, allocations: 0.8438 kB / 0.5915 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.3565, allocations: 10.56 kB / 0.5915 GB, free: 20.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3565, allocations: 1.156 kB / 0.5915 GB, free: 20.17 MB / 446.1 MB Notification: Performance of Templates: time 0.002766/0.3593, allocations: 0.6614 MB / 0.5921 GB, free: 19.6 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)