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.001222/0.001222, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001213/0.001213, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8181/0.8181, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.91 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3621, allocations: 80.93 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.0024/0.3646, allocations: 1.431 MB / 0.5865 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004732/0.3651, allocations: 246.6 kB / 0.5867 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.3651, allocations: 0.8125 kB / 0.5867 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.3651, allocations: 0 / 0.5867 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.3652, allocations: 6.25 kB / 0.5867 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.3655, allocations: 53.42 kB / 0.5867 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.3656, allocations: 23.08 kB / 0.5868 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.3657, allocations: 10.98 kB / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.3657, allocations: 10.94 kB / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.3658, allocations: 10.98 kB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3658, allocations: 5.562 kB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3659, allocations: 59.47 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.3659, allocations: 4 kB / 0.5869 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.366, allocations: 11.06 kB / 0.5869 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3661, allocations: 50.55 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3661, allocations: 1.469 kB / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3661, allocations: 0 / 0.5869 GB, free: 23.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3661, allocations: 5.094 kB / 0.5869 GB, free: 23.84 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.0003856/0.3665, allocations: 349.7 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3666, allocations: 11.61 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3666, allocations: 3.375 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.3667, allocations: 164.3 kB / 0.5874 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3667, allocations: 2.312 kB / 0.5874 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.3667, allocations: 2.75 kB / 0.5874 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3669, allocations: 49.58 kB / 0.5875 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3669, allocations: 0.8438 kB / 0.5875 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3669, allocations: 3.938 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3669, allocations: 1.562 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3671, allocations: 36.7 kB / 0.5875 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.3674, allocations: 253.9 kB / 0.5878 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3675, allocations: 39.44 kB / 0.5878 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.3676, allocations: 24.86 kB / 0.5878 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/0.3681, allocations: 452.3 kB / 0.5883 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3682, allocations: 32.25 kB / 0.5883 GB, free: 22.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.3682, allocations: 0.9062 kB / 0.5883 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003316/0.3685, allocations: 86.02 kB / 0.5884 GB, free: 22.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.3685, allocations: 53.44 kB / 0.5884 GB, free: 22.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.271e-05/0.3686, allocations: 103.5 kB / 0.5885 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3686, allocations: 27.02 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.3686, allocations: 89.38 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.3687, allocations: 3.906 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.3687, allocations: 13.03 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.3687, allocations: 321.8 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.3688, allocations: 13.05 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.3689, allocations: 18.36 kB / 0.589 GB, free: 21.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.369, allocations: 41.53 kB / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.369, allocations: 0 / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.3692, allocations: 69.83 kB / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3692, allocations: 5.719 kB / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3693, allocations: 0 / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3693, allocations: 0.6562 kB / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3694, allocations: 11.36 kB / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3694, allocations: 0 / 0.5891 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.3694, allocations: 11.83 kB / 0.5891 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3694, allocations: 2.75 kB / 0.5891 GB, free: 21.54 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.447e-05/0.3695, allocations: 115 kB / 0.5892 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3695, allocations: 5.219 kB / 0.5892 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.3697, allocations: 73.19 kB / 0.5893 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3697, allocations: 4.688 kB / 0.5893 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3697, allocations: 0 / 0.5893 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3697, allocations: 7.484 kB / 0.5893 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3699, allocations: 161.8 kB / 0.5895 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3699, allocations: 0 / 0.5895 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.3699, allocations: 10.11 kB / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3699, allocations: 1.188 kB / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3699, allocations: 0 / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.37, allocations: 2.312 kB / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.37, allocations: 1.719 kB / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.3702, allocations: 163.7 kB / 0.5896 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.3702, allocations: 77.11 kB / 0.5897 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3702, allocations: 5.719 kB / 0.5897 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.3703, allocations: 9.641 kB / 0.5897 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.3703, allocations: 1.5 kB / 0.5897 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3703, allocations: 5.281 kB / 0.5897 GB, free: 20.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.199e-05/0.3704, allocations: 81.84 kB / 0.5898 GB, free: 20.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3704, allocations: 1.219 kB / 0.5898 GB, free: 20.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.3706, allocations: 13.53 kB / 0.5898 GB, free: 20.82 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.0001783/0.3708, allocations: 117.6 kB / 0.5899 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.371, allocations: 37.77 kB / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.371, allocations: 1.812 kB / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.3711, allocations: 19.95 kB / 0.59 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3713, allocations: 7.031 kB / 0.59 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.3716, allocations: 131.6 kB / 0.5901 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.3717, allocations: 0.6776 MB / 0.5908 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.3717, allocations: 8.906 kB / 0.5908 GB, free: 19.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3717, allocations: 0 / 0.5908 GB, free: 19.85 MB / 446.1 MB Notification: Performance of Templates: time 0.002208/0.3739, allocations: 0.7739 MB / 0.5916 GB, free: 19.45 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)