Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7294/0.7294, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.395/1.395, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 118.6 kB / 484.4 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 55.92 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1435, allocations: 80.21 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002076/0.1456, allocations: 0.6348 MB / 0.6408 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004888/0.1462, allocations: 199.4 kB / 0.641 GB, free: 5.941 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-06/0.1462, allocations: 3.938 kB / 0.641 GB, free: 5.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1462, allocations: 0 / 0.641 GB, free: 5.938 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.1462, allocations: 0 / 0.641 GB, free: 5.938 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1466, allocations: 35.97 kB / 0.641 GB, free: 5.902 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.021e-05/0.1466, allocations: 4 kB / 0.641 GB, free: 5.898 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.1467, allocations: 3.938 kB / 0.641 GB, free: 5.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.1467, allocations: 3.984 kB / 0.641 GB, free: 5.891 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.044e-05/0.1467, allocations: 0 / 0.641 GB, free: 5.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.1467, allocations: 0 / 0.641 GB, free: 5.891 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1469, allocations: 71.88 kB / 0.6411 GB, free: 5.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.1469, allocations: 0 / 0.6411 GB, free: 5.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.147, allocations: 0 / 0.6411 GB, free: 5.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1471, allocations: 35.94 kB / 0.6411 GB, free: 5.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1471, allocations: 0 / 0.6411 GB, free: 5.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1471, allocations: 0 / 0.6411 GB, free: 5.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1471, allocations: 0 / 0.6411 GB, free: 5.785 MB / 442.7 MB 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.0003489/0.1475, allocations: 325.7 kB / 0.6415 GB, free: 5.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1475, allocations: 8.031 kB / 0.6415 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.1476, allocations: 0.9375 kB / 0.6415 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1477, allocations: 168.3 kB / 0.6416 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1477, allocations: 384 / 0.6416 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1477, allocations: 384 / 0.6416 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1478, allocations: 34.2 kB / 0.6417 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1478, allocations: 192 / 0.6417 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1478, allocations: 3.938 kB / 0.6417 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1479, allocations: 0 / 0.6417 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.1479, allocations: 4 kB / 0.6417 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.148, allocations: 161.6 kB / 0.6418 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.165e-05/0.1481, allocations: 14.58 kB / 0.6418 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.1481, allocations: 8.953 kB / 0.6418 GB, free: 4.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.1488, allocations: 453.5 kB / 0.6423 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1489, allocations: 38.5 kB / 0.6423 GB, free: 4.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1489, allocations: 0 / 0.6423 GB, free: 4.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.149, allocations: 41.55 kB / 0.6424 GB, free: 4.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.149, allocations: 51.41 kB / 0.6424 GB, free: 4.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.888e-05/0.1491, allocations: 93.86 kB / 0.6425 GB, free: 4.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1491, allocations: 25.7 kB / 0.6425 GB, free: 4.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.1491, allocations: 80.14 kB / 0.6426 GB, free: 4.012 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1492, allocations: 0 / 0.6426 GB, free: 4.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.1492, allocations: 21.83 kB / 0.6426 GB, free: 3.984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.1493, allocations: 310.8 kB / 0.6429 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-06/0.1493, allocations: 0 / 0.6429 GB, free: 3.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.1493, allocations: 3.938 kB / 0.6429 GB, free: 3.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.1493, allocations: 12.86 kB / 0.6429 GB, free: 3.652 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1493, allocations: 0 / 0.6429 GB, free: 3.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.833e-05/0.1494, allocations: 29.7 kB / 0.643 GB, free: 3.617 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1494, allocations: 8.094 kB / 0.643 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1494, allocations: 4 kB / 0.643 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1495, allocations: 3.938 kB / 0.643 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-05/0.1495, allocations: 3.984 kB / 0.643 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1495, allocations: 0 / 0.643 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.1495, allocations: 0 / 0.643 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1495, allocations: 4 kB / 0.643 GB, free: 3.594 MB / 442.7 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 (1): * Single equations (assignments): 1 * 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 6.325e-05/0.1496, allocations: 107.2 kB / 0.6431 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.1496, allocations: 3.984 kB / 0.6431 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.1497, allocations: 52.64 kB / 0.6431 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1497, allocations: 3.984 kB / 0.6431 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1497, allocations: 0 / 0.6431 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1497, allocations: 0 / 0.6431 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.592e-05/0.1498, allocations: 145.7 kB / 0.6433 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1498, allocations: 0 / 0.6433 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.1498, allocations: 0 / 0.6433 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1498, allocations: 0 / 0.6433 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1499, allocations: 3.938 kB / 0.6433 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1499, allocations: 4 kB / 0.6433 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1499, allocations: 0 / 0.6433 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.1501, allocations: 0.6045 MB / 0.6439 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.1502, allocations: 77.11 kB / 0.644 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1502, allocations: 4 kB / 0.644 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.1502, allocations: 7.938 kB / 0.644 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-06/0.1502, allocations: 0 / 0.644 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1502, allocations: 8.031 kB / 0.644 GB, free: 2.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.279e-05/0.1503, allocations: 79.22 kB / 0.644 GB, free: 2.359 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1503, allocations: 0 / 0.644 GB, free: 2.359 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.1506, allocations: 12 kB / 0.6441 GB, free: 2.348 MB / 442.7 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 (1): * Single equations (assignments): 1 * 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.0002014/0.1508, allocations: 115.2 kB / 0.6442 GB, free: 2.227 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.465e-05/0.1508, allocations: 8 kB / 0.6442 GB, free: 2.219 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1508, allocations: 0 / 0.6442 GB, free: 2.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.1509, allocations: 4 kB / 0.6442 GB, free: 2.215 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.151, allocations: 3.938 kB / 0.6442 GB, free: 2.211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.1512, allocations: 185.6 kB / 0.6444 GB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.1514, allocations: 0.6731 MB / 0.645 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.138e-05/0.1514, allocations: 0 / 0.645 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.1514, allocations: 7.438 kB / 0.645 GB, free: 1.285 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1515, allocations: 4.125 kB / 0.645 GB, free: 1.281 MB / 442.7 MB Notification: Performance of Templates: time 0.002061/0.1535, allocations: 401.7 kB / 0.6454 GB, free: 0.8906 MB / 442.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)