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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005365/0.005365, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7706/0.7706, allocations: 132.3 MB / 148.1 MB, free: 268 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 403.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 93.38 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 12 kB / 0.5641 GB, free: 2.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4346, allocations: 81.58 MB / 0.6438 GB, free: 39.45 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.581, allocations: 111.3 MB / 0.7524 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.5813, allocations: 75.95 kB / 0.7525 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004357/0.5857, allocations: 1.571 MB / 0.754 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5857, allocations: 0 / 0.754 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.5857, allocations: 7.938 kB / 0.754 GB, free: 7.047 MB / 0.5261 GB 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.000329/0.586, allocations: 363.2 kB / 0.7544 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.5861, allocations: 8.031 kB / 0.7544 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.5861, allocations: 4 kB / 0.7544 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.5862, allocations: 167 kB / 0.7545 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.5862, allocations: 0 / 0.7545 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.5862, allocations: 0 / 0.7545 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.5864, allocations: 57.67 kB / 0.7546 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.5864, allocations: 4 kB / 0.7546 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.5864, allocations: 0 / 0.7546 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-06/0.5864, allocations: 0 / 0.7546 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.5866, allocations: 43.95 kB / 0.7546 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.5869, allocations: 276.8 kB / 0.7549 GB, free: 6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.587, allocations: 42.59 kB / 0.755 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/0.5875, allocations: 449.5 kB / 0.7554 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.5876, allocations: 34.56 kB / 0.7554 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5876, allocations: 0 / 0.7554 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003165/0.5879, allocations: 105.5 kB / 0.7555 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.5879, allocations: 51.41 kB / 0.7556 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.588, allocations: 96.98 kB / 0.7557 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.588, allocations: 25.83 kB / 0.7557 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.5881, allocations: 84.14 kB / 0.7558 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.5881, allocations: 7.906 kB / 0.7558 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.5881, allocations: 0 / 0.7558 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.5882, allocations: 318.8 kB / 0.7561 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.5883, allocations: 15.98 kB / 0.7561 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.5883, allocations: 31.97 kB / 0.7561 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.5884, allocations: 15.98 kB / 0.7561 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5884, allocations: 0 / 0.7561 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.5886, allocations: 85.66 kB / 0.7562 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.5886, allocations: 8 kB / 0.7562 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-06/0.5886, allocations: 0 / 0.7562 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.5887, allocations: 0 / 0.7562 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.5887, allocations: 8 kB / 0.7562 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5887, allocations: 3.984 kB / 0.7562 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.5888, allocations: 12.03 kB / 0.7562 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.5888, allocations: 0 / 0.7562 GB, free: 4.473 MB / 0.5261 GB 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 6.417e-05/0.5889, allocations: 109.8 kB / 0.7563 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.5889, allocations: 7.938 kB / 0.7564 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.5891, allocations: 88.77 kB / 0.7564 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5891, allocations: 0 / 0.7564 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5891, allocations: 0 / 0.7564 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.5892, allocations: 3.938 kB / 0.7564 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.5893, allocations: 157.6 kB / 0.7566 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5893, allocations: 0 / 0.7566 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.5894, allocations: 11.98 kB / 0.7566 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5894, allocations: 4 kB / 0.7566 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5894, allocations: 0 / 0.7566 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5894, allocations: 11.97 kB / 0.7566 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5894, allocations: 0 / 0.7566 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.5896, allocations: 179.4 kB / 0.7568 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.5897, allocations: 77.11 kB / 0.7569 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.5897, allocations: 0 / 0.7569 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.5898, allocations: 11.98 kB / 0.7569 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.5898, allocations: 0 / 0.7569 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5898, allocations: 0 / 0.7569 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.5898, allocations: 87.27 kB / 0.757 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5898, allocations: 0 / 0.757 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002246/0.5901, allocations: 27.94 kB / 0.757 GB, free: 3.613 MB / 0.5261 GB 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.0001983/0.5903, allocations: 131.1 kB / 0.7571 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5905, allocations: 51.95 kB / 0.7572 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5905, allocations: 0 / 0.7572 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.5906, allocations: 23.98 kB / 0.7572 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.5907, allocations: 3.953 kB / 0.7572 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.5909, allocations: 112.8 kB / 0.7573 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.5912, allocations: 0.677 MB / 0.758 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.5912, allocations: 4 kB / 0.758 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.5912, allocations: 15.31 kB / 0.758 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.5912, allocations: 0 / 0.758 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of Templates: time 0.002008/0.5932, allocations: 0.5476 MB / 0.7585 GB, free: 1.988 MB / 0.5261 GB 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)