Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.308/1.308, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.935/0.935, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.97 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1672, allocations: 80.93 MB / 0.5844 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001759/0.169, allocations: 0.627 MB / 0.585 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.1695, allocations: 207.4 kB / 0.5852 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.089e-05/0.1695, allocations: 7.938 kB / 0.5852 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.1695, allocations: 0 / 0.5852 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.1696, allocations: 0 / 0.5852 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1699, allocations: 43.94 kB / 0.5852 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.709e-05/0.1699, allocations: 3.938 kB / 0.5852 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.17, allocations: 0 / 0.5852 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.249e-05/0.17, allocations: 0 / 0.5852 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.028e-05/0.17, allocations: 4 kB / 0.5852 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.17, allocations: 0 / 0.5852 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1702, allocations: 67.86 kB / 0.5853 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-06/0.1702, allocations: 4 kB / 0.5853 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.1702, allocations: 0 / 0.5853 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.391e-05/0.1703, allocations: 27.97 kB / 0.5853 GB, free: 4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1703, allocations: 0 / 0.5853 GB, free: 4 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1704, allocations: 0 / 0.5853 GB, free: 4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1704, allocations: 0 / 0.5853 GB, free: 4 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.0003473/0.1707, allocations: 315.6 kB / 0.5856 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1708, allocations: 12.03 kB / 0.5856 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.1708, allocations: 4.938 kB / 0.5856 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.1709, allocations: 164.4 kB / 0.5858 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1709, allocations: 384 / 0.5858 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1709, allocations: 384 / 0.5858 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.171, allocations: 34.2 kB / 0.5858 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.171, allocations: 192 / 0.5858 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1711, allocations: 3.938 kB / 0.5858 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1711, allocations: 0 / 0.5858 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.1711, allocations: 7.875 kB / 0.5858 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1712, allocations: 149.7 kB / 0.586 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.605e-05/0.1713, allocations: 24.27 kB / 0.586 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.1713, allocations: 4.859 kB / 0.586 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007441/0.1721, allocations: 457.5 kB / 0.5864 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1721, allocations: 38.56 kB / 0.5865 GB, free: 2.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1721, allocations: 0 / 0.5865 GB, free: 2.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.1722, allocations: 37.58 kB / 0.5865 GB, free: 2.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1723, allocations: 51.41 kB / 0.5866 GB, free: 2.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.206e-05/0.1723, allocations: 93.86 kB / 0.5867 GB, free: 2.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1723, allocations: 29.69 kB / 0.5867 GB, free: 2.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.1724, allocations: 84.12 kB / 0.5868 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1724, allocations: 7.906 kB / 0.5868 GB, free: 2.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1724, allocations: 13.84 kB / 0.5868 GB, free: 2.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1725, allocations: 310.8 kB / 0.5871 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.1726, allocations: 0 / 0.5871 GB, free: 1.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.1726, allocations: 4 kB / 0.5871 GB, free: 1.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.1726, allocations: 4.859 kB / 0.5871 GB, free: 1.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1726, allocations: 0 / 0.5871 GB, free: 1.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.327e-05/0.1727, allocations: 45.62 kB / 0.5871 GB, free: 1.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1727, allocations: 4 kB / 0.5871 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1727, allocations: 4.094 kB / 0.5871 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1727, allocations: 3.938 kB / 0.5871 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.1728, allocations: 4 kB / 0.5872 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1728, allocations: 0 / 0.5872 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-06/0.1728, allocations: 0 / 0.5872 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1728, allocations: 0 / 0.5872 GB, free: 1.809 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 6.947e-05/0.1729, allocations: 105.8 kB / 0.5873 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.1729, allocations: 0 / 0.5873 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.173, allocations: 56.69 kB / 0.5873 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.173, allocations: 0 / 0.5873 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.173, allocations: 0 / 0.5873 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.173, allocations: 3.938 kB / 0.5873 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.1731, allocations: 141.7 kB / 0.5874 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1731, allocations: 0 / 0.5874 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.1731, allocations: 4 kB / 0.5874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1731, allocations: 3.984 kB / 0.5875 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1731, allocations: 7.938 kB / 0.5875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1731, allocations: 0 / 0.5875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1731, allocations: 3.984 kB / 0.5875 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.33e-05/0.1732, allocations: 61.17 kB / 0.5875 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.1732, allocations: 77.11 kB / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1733, allocations: 11.86 kB / 0.5876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.1733, allocations: 0 / 0.5876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.1733, allocations: 3.938 kB / 0.5876 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.1733, allocations: 0 / 0.5876 GB, free: 1.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.1733, allocations: 75.28 kB / 0.5877 GB, free: 1.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1733, allocations: 4.031 kB / 0.5877 GB, free: 1.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1735, allocations: 12 kB / 0.5877 GB, free: 1.145 MB / 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.0002257/0.1738, allocations: 123.2 kB / 0.5878 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.053e-05/0.1738, allocations: 0 / 0.5878 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1739, allocations: 4.062 kB / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-06/0.1739, allocations: 4 kB / 0.5878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.174, allocations: 6.531 kB / 0.5878 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.1742, allocations: 104.4 kB / 0.5879 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1745, allocations: 0.6731 MB / 0.5886 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.1745, allocations: 7.438 kB / 0.5886 GB, free: 164 kB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1745, allocations: 3.938 kB / 0.5886 GB, free: 160 kB / 494.1 MB Notification: Performance of Templates: time 0.001899/0.1764, allocations: 0.5466 MB / 0.5891 GB, free: 15.61 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)