Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001046, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7134/0.7134, allocations: 130.7 MB / 138.7 MB, free: 3.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0008067/0.0008066, allocations: 95.44 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.782e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4164, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.5544, allocations: 109.8 MB / 0.7354 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5547, allocations: 74.48 kB / 0.7355 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003631/0.5583, allocations: 1.276 MB / 0.7367 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5584, allocations: 3.938 kB / 0.7367 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5584, allocations: 0 / 0.7367 GB, free: 15.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000305/0.5587, allocations: 326.4 kB / 0.737 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5587, allocations: 12.03 kB / 0.737 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.5588, allocations: 0 / 0.737 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5589, allocations: 163 kB / 0.7372 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5589, allocations: 0 / 0.7372 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.5589, allocations: 4 kB / 0.7372 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.203e-05/0.559, allocations: 4.875 kB / 0.7372 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.308e-05/0.5591, allocations: 29.69 kB / 0.7372 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5591, allocations: 0 / 0.7372 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5591, allocations: 3.984 kB / 0.7372 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5591, allocations: 0 / 0.7372 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.5593, allocations: 126.2 kB / 0.7374 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.5593, allocations: 26.55 kB / 0.7374 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.5593, allocations: 8.859 kB / 0.7374 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/0.56, allocations: 441.5 kB / 0.7378 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.56, allocations: 38.55 kB / 0.7379 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.56, allocations: 0 / 0.7379 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.5602, allocations: 33.7 kB / 0.7379 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.5602, allocations: 51.41 kB / 0.7379 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.54e-05/0.5602, allocations: 85 kB / 0.738 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.5603, allocations: 25.7 kB / 0.738 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.5603, allocations: 80.14 kB / 0.7381 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.5604, allocations: 7.906 kB / 0.7381 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.5604, allocations: 0.9375 kB / 0.7381 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5605, allocations: 310.8 kB / 0.7384 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.5605, allocations: 7.969 kB / 0.7384 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.5605, allocations: 0 / 0.7384 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.5606, allocations: 4 kB / 0.7384 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5606, allocations: 0 / 0.7384 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.183e-05/0.5606, allocations: 43.39 kB / 0.7385 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5607, allocations: 5.406 kB / 0.7385 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5607, allocations: 3.938 kB / 0.7385 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5607, allocations: 0 / 0.7385 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.5608, allocations: 7.938 kB / 0.7385 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.5608, allocations: 4.719 kB / 0.7385 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-06/0.5608, allocations: 0 / 0.7385 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.5608, allocations: 0 / 0.7385 GB, free: 13.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.5609, allocations: 102.6 kB / 0.7386 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.5609, allocations: 7.953 kB / 0.7386 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.887e-05/0.561, allocations: 41.38 kB / 0.7386 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.561, allocations: 0 / 0.7386 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.561, allocations: 0 / 0.7386 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.561, allocations: 0 / 0.7386 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.969e-05/0.5611, allocations: 126.3 kB / 0.7388 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5611, allocations: 4 kB / 0.7388 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.5611, allocations: 7.984 kB / 0.7388 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5611, allocations: 0 / 0.7388 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.5611, allocations: 0 / 0.7388 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5611, allocations: 3.953 kB / 0.7388 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5612, allocations: 0 / 0.7388 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.739e-05/0.5612, allocations: 61.14 kB / 0.7388 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.5613, allocations: 77.11 kB / 0.7389 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.5613, allocations: 3.984 kB / 0.7389 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.5613, allocations: 3.938 kB / 0.7389 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.5613, allocations: 3.953 kB / 0.7389 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.5613, allocations: 0 / 0.7389 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.67e-05/0.5614, allocations: 75.28 kB / 0.739 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5614, allocations: 0 / 0.739 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002154/0.5616, allocations: 23.94 kB / 0.739 GB, free: 12.89 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 () * 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 (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.0002535/0.5619, allocations: 132 kB / 0.7391 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.505e-05/0.5619, allocations: 8 kB / 0.7391 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5619, allocations: 0 / 0.7391 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.5619, allocations: 0 / 0.7391 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.5621, allocations: 8.125 kB / 0.7392 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001474/0.5622, allocations: 47.94 kB / 0.7392 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.5624, allocations: 0.6767 MB / 0.7399 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.162e-05/0.5625, allocations: 0 / 0.7399 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.5625, allocations: 11.42 kB / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/0.5625, allocations: 4 kB / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.002291/0.5648, allocations: 372.1 kB / 0.7402 GB, free: 11.58 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)