Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001158/0.001158, allocations: 182.3 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.7129/0.7129, 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.385/1.385, allocations: 222.9 MB / 403.4 MB, free: 7.074 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.001271/0.001271, allocations: 109.2 kB / 484.3 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009581/0.0009582, allocations: 51.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1295, allocations: 80.2 MB / 0.6402 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002677/0.1322, allocations: 1.488 MB / 0.6416 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005108/0.1327, allocations: 264 kB / 0.6419 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.1328, allocations: 0 / 0.6419 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.1328, allocations: 0 / 0.6419 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.1328, allocations: 7.938 kB / 0.6419 GB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1332, allocations: 43.95 kB / 0.6419 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.1332, allocations: 19.92 kB / 0.6419 GB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.1333, allocations: 4 kB / 0.6419 GB, free: 4.973 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.1334, allocations: 15.92 kB / 0.642 GB, free: 4.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.038e-05/0.1334, allocations: 4 kB / 0.642 GB, free: 4.953 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1334, allocations: 0 / 0.642 GB, free: 4.953 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1336, allocations: 67.86 kB / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1336, allocations: 8 kB / 0.642 GB, free: 4.879 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.1336, allocations: 11.92 kB / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1337, allocations: 59.8 kB / 0.6421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1338, allocations: 0 / 0.6421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1338, allocations: 0 / 0.6421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1338, allocations: 0 / 0.6421 GB, free: 4.809 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004134/0.1342, allocations: 343.7 kB / 0.6424 GB, free: 4.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1342, allocations: 12.03 kB / 0.6424 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1343, allocations: 0.9375 kB / 0.6424 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1344, allocations: 164.3 kB / 0.6426 GB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1344, allocations: 12.36 kB / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.1344, allocations: 384 / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1346, allocations: 47.25 kB / 0.6427 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1346, allocations: 192 / 0.6427 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1346, allocations: 3.938 kB / 0.6427 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1346, allocations: 3.984 kB / 0.6427 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1348, allocations: 35.91 kB / 0.6427 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1351, allocations: 244.9 kB / 0.6429 GB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1352, allocations: 42.53 kB / 0.643 GB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.1353, allocations: 20.91 kB / 0.643 GB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.1359, allocations: 457.5 kB / 0.6434 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.136, allocations: 34.5 kB / 0.6435 GB, free: 3.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.136, allocations: 3.938 kB / 0.6435 GB, free: 3.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003346/0.1363, allocations: 85.73 kB / 0.6436 GB, free: 3.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1363, allocations: 51.41 kB / 0.6436 GB, free: 3.004 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.1364, allocations: 97.86 kB / 0.6437 GB, free: 2.898 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1364, allocations: 25.7 kB / 0.6437 GB, free: 2.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.1365, allocations: 84.14 kB / 0.6438 GB, free: 2.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1365, allocations: 15.83 kB / 0.6438 GB, free: 2.766 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1365, allocations: 13.72 kB / 0.6438 GB, free: 2.746 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.1366, allocations: 310.8 kB / 0.6441 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.1367, allocations: 20.02 kB / 0.6441 GB, free: 2.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.1368, allocations: 15.97 kB / 0.6442 GB, free: 2.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1369, allocations: 40.77 kB / 0.6442 GB, free: 2.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.137, allocations: 0 / 0.6442 GB, free: 2.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.1371, allocations: 77.66 kB / 0.6443 GB, free: 2.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1372, allocations: 4.938 kB / 0.6443 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1372, allocations: 0 / 0.6443 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1372, allocations: 0 / 0.6443 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.1373, allocations: 15.98 kB / 0.6443 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1373, allocations: 0 / 0.6443 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.1373, allocations: 4 kB / 0.6443 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1374, allocations: 0 / 0.6443 GB, free: 2.25 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 (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 6.347e-05/0.1374, allocations: 119.1 kB / 0.6444 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1374, allocations: 3.906 kB / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1377, allocations: 76.89 kB / 0.6445 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1377, allocations: 0 / 0.6445 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1377, allocations: 7.984 kB / 0.6445 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1377, allocations: 0 / 0.6445 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1378, allocations: 157.6 kB / 0.6446 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1378, allocations: 0 / 0.6446 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.1379, allocations: 12.02 kB / 0.6447 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1379, allocations: 0 / 0.6447 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.1379, allocations: 4 kB / 0.6447 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1379, allocations: 0 / 0.6447 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1379, allocations: 0 / 0.6447 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.1384, allocations: 0.7201 MB / 0.6454 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.1385, allocations: 85.05 kB / 0.6454 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1385, allocations: 3.938 kB / 0.6454 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.1386, allocations: 11.98 kB / 0.6455 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1386, allocations: 0 / 0.6455 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1386, allocations: 7.875 kB / 0.6455 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.1387, allocations: 83.27 kB / 0.6455 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1387, allocations: 0 / 0.6455 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.139, allocations: 23.91 kB / 0.6456 GB, free: 0.8047 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 (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.0001899/0.1392, allocations: 111.2 kB / 0.6457 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1394, allocations: 39.97 kB / 0.6457 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1394, allocations: 4.062 kB / 0.6457 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.1395, allocations: 11.98 kB / 0.6457 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1397, allocations: 11.92 kB / 0.6457 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.1401, allocations: 210.2 kB / 0.6459 GB, free: 388 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1403, allocations: 0.677 MB / 0.6466 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.1404, allocations: 8.062 kB / 0.6466 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.1404, allocations: 7.438 kB / 0.6466 GB, free: 15.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1404, allocations: 0 / 0.6466 GB, free: 15.66 MB / 458.7 MB Notification: Performance of Templates: time 0.00254/0.1429, allocations: 0.5905 MB / 0.6472 GB, free: 15.08 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)