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.001172/0.001173, allocations: 183.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.8021/0.8021, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.471/1.471, allocations: 222.9 MB / 403.3 MB, free: 7.086 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.00105/0.00105, allocations: 106.4 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009864/0.0009864, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1328, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001817/0.1347, allocations: 0.6464 MB / 0.6408 GB, free: 6.133 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000471/0.1352, allocations: 207.3 kB / 0.641 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-06/0.1352, allocations: 0 / 0.641 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.1352, allocations: 0 / 0.641 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.1352, allocations: 0 / 0.641 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1355, allocations: 43.89 kB / 0.6411 GB, free: 5.887 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.046e-05/0.1356, allocations: 8 kB / 0.6411 GB, free: 5.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.1356, allocations: 0 / 0.6411 GB, free: 5.879 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.202e-05/0.1356, allocations: 0 / 0.6411 GB, free: 5.879 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.1356, allocations: 4 kB / 0.6411 GB, free: 5.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.1357, allocations: 0 / 0.6411 GB, free: 5.875 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1358, allocations: 63.88 kB / 0.6411 GB, free: 5.812 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-06/0.1358, allocations: 0 / 0.6411 GB, free: 5.812 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.1358, allocations: 7.984 kB / 0.6411 GB, free: 5.805 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.136, allocations: 35.89 kB / 0.6412 GB, free: 5.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.136, allocations: 0 / 0.6412 GB, free: 5.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.136, allocations: 0 / 0.6412 GB, free: 5.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.136, allocations: 8 kB / 0.6412 GB, free: 5.762 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.0002596/0.1362, allocations: 319.6 kB / 0.6415 GB, free: 5.398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1363, allocations: 8.031 kB / 0.6415 GB, free: 5.391 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.1363, allocations: 4.875 kB / 0.6415 GB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.1364, allocations: 160.4 kB / 0.6416 GB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1364, allocations: 4.375 kB / 0.6416 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1364, allocations: 384 / 0.6416 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.361e-05/0.1365, allocations: 26.27 kB / 0.6417 GB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1365, allocations: 4.188 kB / 0.6417 GB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1365, allocations: 7.922 kB / 0.6417 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1365, allocations: 0 / 0.6417 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.1366, allocations: 4 kB / 0.6417 GB, free: 5.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1367, allocations: 149.6 kB / 0.6418 GB, free: 4.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.067e-05/0.1367, allocations: 22.55 kB / 0.6419 GB, free: 4.914 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.1367, allocations: 4.859 kB / 0.6419 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/0.1374, allocations: 457.5 kB / 0.6423 GB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1375, allocations: 34.56 kB / 0.6423 GB, free: 4.324 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1375, allocations: 0 / 0.6423 GB, free: 4.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.1376, allocations: 49.47 kB / 0.6424 GB, free: 4.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1376, allocations: 55.53 kB / 0.6424 GB, free: 4.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.1377, allocations: 89.86 kB / 0.6425 GB, free: 4.105 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1377, allocations: 25.7 kB / 0.6425 GB, free: 4.074 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.1377, allocations: 80.14 kB / 0.6426 GB, free: 3.992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1378, allocations: 0 / 0.6426 GB, free: 3.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.1378, allocations: 13.72 kB / 0.6426 GB, free: 3.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1379, allocations: 314.8 kB / 0.6429 GB, free: 3.656 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.1379, allocations: 0 / 0.6429 GB, free: 3.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.1379, allocations: 0 / 0.6429 GB, free: 3.656 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.138, allocations: 12.92 kB / 0.6429 GB, free: 3.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.138, allocations: 0 / 0.6429 GB, free: 3.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.963e-05/0.138, allocations: 37.62 kB / 0.643 GB, free: 3.598 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1381, allocations: 9.25 kB / 0.643 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1381, allocations: 0 / 0.643 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1381, allocations: 3.938 kB / 0.643 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.1381, allocations: 0 / 0.643 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1381, allocations: 0 / 0.643 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.1381, allocations: 4 kB / 0.643 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.1382, allocations: 4.031 kB / 0.643 GB, free: 3.578 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.056e-05/0.1382, allocations: 111.2 kB / 0.6431 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.1382, allocations: 3.938 kB / 0.6431 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.1383, allocations: 40.75 kB / 0.6431 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1383, allocations: 0 / 0.6431 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1383, allocations: 0 / 0.6431 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1383, allocations: 11.92 kB / 0.6432 GB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.1384, allocations: 145.7 kB / 0.6433 GB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1384, allocations: 4.031 kB / 0.6433 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.1384, allocations: 4 kB / 0.6433 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1384, allocations: 0 / 0.6433 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1385, allocations: 7.938 kB / 0.6433 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1385, allocations: 0 / 0.6433 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1385, allocations: 0 / 0.6433 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1387, allocations: 0.6045 MB / 0.6439 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.1388, allocations: 77.11 kB / 0.644 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.1388, allocations: 4 kB / 0.644 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-06/0.1388, allocations: 0 / 0.644 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.1388, allocations: 7.922 kB / 0.644 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1388, allocations: 0 / 0.644 GB, free: 2.422 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.1388, allocations: 75.28 kB / 0.6441 GB, free: 2.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1388, allocations: 0 / 0.6441 GB, free: 2.348 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.1392, allocations: 12 kB / 0.6441 GB, free: 2.336 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.0001833/0.1393, allocations: 124.1 kB / 0.6442 GB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.861e-05/0.1394, allocations: 4 kB / 0.6442 GB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1394, allocations: 0 / 0.6442 GB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.828e-06/0.1394, allocations: 11.94 kB / 0.6442 GB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.1395, allocations: 5.906 kB / 0.6442 GB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.1398, allocations: 185.7 kB / 0.6444 GB, free: 1.969 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.14, allocations: 0.6731 MB / 0.645 GB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.122e-05/0.14, allocations: 0 / 0.645 GB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.031e-05/0.14, allocations: 7.438 kB / 0.645 GB, free: 1.262 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.14, allocations: 0 / 0.645 GB, free: 1.262 MB / 442.7 MB Notification: Performance of Templates: time 0.001929/0.1419, allocations: 405.8 kB / 0.6454 GB, free: 0.8672 MB / 442.7 MB 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)