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/Complex 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) 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-master/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.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/Complex 4.0.0+maint.om/package.mo): time 0.007315/0.007315, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8179/0.8179, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 406.9 MB, free: 3.195 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.001052/0.001052, allocations: 93.22 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004988, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5229, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.6799, allocations: 111.5 MB / 0.7583 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.6802, allocations: 75.97 kB / 0.7584 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004782/0.685, allocations: 1.543 MB / 0.7599 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6851, allocations: 0 / 0.7599 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6851, allocations: 0 / 0.7599 GB, free: 2.906 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.0004559/0.6856, allocations: 363.2 kB / 0.7603 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6856, allocations: 8.031 kB / 0.7603 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.6856, allocations: 0 / 0.7603 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.6858, allocations: 167 kB / 0.7604 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6858, allocations: 11.92 kB / 0.7604 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.6858, allocations: 0 / 0.7604 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.686, allocations: 57.67 kB / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.686, allocations: 0 / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6861, allocations: 3.938 kB / 0.7605 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6861, allocations: 0 / 0.7605 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.6862, allocations: 39.97 kB / 0.7605 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.6867, allocations: 276.8 kB / 0.7608 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.6868, allocations: 42.5 kB / 0.7608 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.6875, allocations: 445.5 kB / 0.7613 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6875, allocations: 30.56 kB / 0.7613 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.6875, allocations: 0 / 0.7613 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003787/0.6879, allocations: 101.5 kB / 0.7614 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.688, allocations: 55.41 kB / 0.7614 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.6881, allocations: 100.9 kB / 0.7615 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.6881, allocations: 25.7 kB / 0.7616 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.6881, allocations: 88.2 kB / 0.7616 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.6882, allocations: 3.906 kB / 0.7616 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.6882, allocations: 0 / 0.7616 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6883, allocations: 322.8 kB / 0.762 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.6884, allocations: 15.98 kB / 0.762 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.382e-05/0.6885, allocations: 31.97 kB / 0.762 GB, free: 476 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.6886, allocations: 15.98 kB / 0.762 GB, free: 460 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6886, allocations: 0 / 0.762 GB, free: 460 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.6888, allocations: 77.72 kB / 0.7621 GB, free: 376 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6889, allocations: 8 kB / 0.7621 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6889, allocations: 0 / 0.7621 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6889, allocations: 0 / 0.7621 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.689, allocations: 11.98 kB / 0.7621 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.689, allocations: 3.938 kB / 0.7621 GB, free: 352 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.6891, allocations: 12.03 kB / 0.7621 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.6891, allocations: 4 kB / 0.7621 GB, free: 336 kB / 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 8.032e-05/0.6892, allocations: 109.8 kB / 0.7622 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.6892, allocations: 7.984 kB / 0.7622 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.6895, allocations: 80.78 kB / 0.7623 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6895, allocations: 0 / 0.7623 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.6895, allocations: 8 kB / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6895, allocations: 0 / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.6897, allocations: 157.6 kB / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6897, allocations: 0 / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.6898, allocations: 11.98 kB / 0.7625 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6898, allocations: 0 / 0.7625 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.6898, allocations: 0 / 0.7625 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6898, allocations: 4.031 kB / 0.7625 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6898, allocations: 3.938 kB / 0.7625 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.6901, allocations: 175.4 kB / 0.7627 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.6901, allocations: 89.08 kB / 0.7627 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.6901, allocations: 0 / 0.7627 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.6902, allocations: 11.98 kB / 0.7628 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.6903, allocations: 0 / 0.7628 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.6903, allocations: 192 / 0.7628 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.6904, allocations: 87.25 kB / 0.7628 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6904, allocations: 3.938 kB / 0.7628 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004422/0.6908, allocations: 23.94 kB / 0.7629 GB, free: 15.47 MB / 0.5417 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.0003448/0.6912, allocations: 135.2 kB / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.6914, allocations: 51.89 kB / 0.763 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6914, allocations: 0 / 0.763 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.6915, allocations: 23.98 kB / 0.7631 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.6917, allocations: 4 kB / 0.7631 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.692, allocations: 120.8 kB / 0.7632 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.6923, allocations: 0.677 MB / 0.7638 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.6923, allocations: 0 / 0.7638 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.6924, allocations: 7.438 kB / 0.7639 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.6924, allocations: 4 kB / 0.7639 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.002787/0.6952, allocations: 0.5469 MB / 0.7644 GB, free: 13.85 MB / 0.5417 GB 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)