Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 196.8 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 69.66 kB / 0.5054 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 81.02 MB / 0.5845 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001735/0.1605, allocations: 0.6332 MB / 0.5851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004304/0.161, allocations: 183.4 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.06e-05/0.161, allocations: 0 / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.161, allocations: 3.938 kB / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.161, allocations: 4 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1614, allocations: 43.91 kB / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.87e-05/0.1614, allocations: 4 kB / 0.5854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1614, allocations: 4 kB / 0.5854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.1615, allocations: 4 kB / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.54e-05/0.1615, allocations: 0 / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.1615, allocations: 0 / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1616, allocations: 67.86 kB / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.1617, allocations: 0 / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.294e-05/0.1617, allocations: 0 / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1618, allocations: 35.94 kB / 0.5855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1618, allocations: 0 / 0.5855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1618, allocations: 0 / 0.5855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1618, allocations: 8 kB / 0.5855 GB, free: 3.234 MB / 494.1 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.0003194/0.1621, allocations: 311.6 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1622, allocations: 8.031 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.1622, allocations: 0.9375 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1623, allocations: 170 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1623, allocations: 8.312 kB / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1624, allocations: 4.375 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.1624, allocations: 26.27 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1625, allocations: 192 / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1625, allocations: 11.92 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1625, allocations: 0 / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.1625, allocations: 4 kB / 0.586 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1627, allocations: 145.7 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.1627, allocations: 26.55 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.1627, allocations: 4.859 kB / 0.5862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/0.1634, allocations: 453.5 kB / 0.5866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1635, allocations: 34.56 kB / 0.5866 GB, free: 1.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1635, allocations: 0 / 0.5866 GB, free: 1.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.1636, allocations: 41.62 kB / 0.5867 GB, free: 1.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1636, allocations: 51.41 kB / 0.5867 GB, free: 1.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.907e-05/0.1637, allocations: 93.98 kB / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1637, allocations: 25.7 kB / 0.5868 GB, free: 1.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.1637, allocations: 80.14 kB / 0.5869 GB, free: 1.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1638, allocations: 7.844 kB / 0.5869 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.1638, allocations: 13.72 kB / 0.5869 GB, free: 1.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1639, allocations: 310.8 kB / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.1639, allocations: 0 / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.164, allocations: 15.98 kB / 0.5872 GB, free: 1.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.164, allocations: 8.922 kB / 0.5872 GB, free: 1.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.164, allocations: 0 / 0.5872 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.671e-05/0.164, allocations: 33.7 kB / 0.5873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1641, allocations: 4 kB / 0.5873 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1641, allocations: 0 / 0.5873 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1641, allocations: 3.938 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.1641, allocations: 4 kB / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.1641, allocations: 3.938 kB / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-06/0.1641, allocations: 0 / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1642, allocations: 4.031 kB / 0.5873 GB, free: 1.047 MB / 494.1 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 7.203e-05/0.1642, allocations: 109.8 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-06/0.1642, allocations: 0 / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.1643, allocations: 40.77 kB / 0.5874 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1643, allocations: 7.938 kB / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1643, allocations: 0 / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.1643, allocations: 0 / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1644, allocations: 145.7 kB / 0.5876 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1644, allocations: 0 / 0.5876 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.1645, allocations: 8.031 kB / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1645, allocations: 0 / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1645, allocations: 3.938 kB / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1645, allocations: 0 / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1645, allocations: 0 / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.513e-05/0.1646, allocations: 65.06 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1646, allocations: 77.11 kB / 0.5877 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.1646, allocations: 3.938 kB / 0.5877 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.1646, allocations: 4.031 kB / 0.5877 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1647, allocations: 0 / 0.5877 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1647, allocations: 0 / 0.5877 GB, free: 500 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.1647, allocations: 79.22 kB / 0.5878 GB, free: 420 kB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1647, allocations: 0 / 0.5878 GB, free: 420 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.1649, allocations: 16 kB / 0.5878 GB, free: 404 kB / 494.1 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.0002033/0.1651, allocations: 123.2 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.824e-05/0.1652, allocations: 7.938 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1652, allocations: 4 kB / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.561e-06/0.1652, allocations: 0 / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.1653, allocations: 0 / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001461/0.1655, allocations: 84.91 kB / 0.588 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1658, allocations: 0.6691 MB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.162e-05/0.1658, allocations: 8 kB / 0.5887 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.1658, allocations: 7.438 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1658, allocations: 0 / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.00236/0.1682, allocations: 408.6 kB / 0.5891 GB, free: 15.03 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)