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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 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.001136/0.001136, allocations: 191.5 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7146/0.7146, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 64.61 kB / 0.5018 GB, free: 8.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1627, allocations: 80.21 MB / 0.5801 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002329/0.165, allocations: 0.5836 MB / 0.5807 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005985/0.1656, allocations: 179.4 kB / 0.5808 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.1657, allocations: 4 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.1657, allocations: 0 / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.1657, allocations: 0 / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.1662, allocations: 59.81 kB / 0.5809 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.75e-05/0.1663, allocations: 0 / 0.5809 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.1664, allocations: 4 kB / 0.5809 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1664, allocations: 0 / 0.5809 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.1664, allocations: 0 / 0.5809 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.1664, allocations: 0 / 0.5809 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1666, allocations: 59.88 kB / 0.581 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.1666, allocations: 0 / 0.581 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.1667, allocations: 4 kB / 0.581 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1668, allocations: 31.95 kB / 0.581 GB, free: 7.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1668, allocations: 3.938 kB / 0.581 GB, free: 7.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1668, allocations: 4 kB / 0.581 GB, free: 7.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1668, allocations: 0 / 0.581 GB, free: 7.828 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.0003635/0.1672, allocations: 319.6 kB / 0.5813 GB, free: 7.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1673, allocations: 12.03 kB / 0.5813 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1673, allocations: 0.9375 kB / 0.5813 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1674, allocations: 164.4 kB / 0.5815 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1674, allocations: 4.312 kB / 0.5815 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1674, allocations: 384 / 0.5815 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1676, allocations: 34.27 kB / 0.5815 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1676, allocations: 4.188 kB / 0.5815 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1676, allocations: 3.938 kB / 0.5815 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1676, allocations: 0 / 0.5815 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.1676, allocations: 0 / 0.5815 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1678, allocations: 145.7 kB / 0.5817 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.1678, allocations: 18.52 kB / 0.5817 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.1678, allocations: 8.844 kB / 0.5817 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.1686, allocations: 457.5 kB / 0.5821 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1686, allocations: 30.56 kB / 0.5822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.1686, allocations: 0 / 0.5822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.1688, allocations: 41.62 kB / 0.5822 GB, free: 6.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1688, allocations: 51.53 kB / 0.5822 GB, free: 6.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.847e-05/0.1689, allocations: 97.86 kB / 0.5823 GB, free: 6.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1689, allocations: 25.7 kB / 0.5824 GB, free: 6.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.1689, allocations: 80.14 kB / 0.5824 GB, free: 6.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.169, allocations: 7.844 kB / 0.5825 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.169, allocations: 9.719 kB / 0.5825 GB, free: 6.043 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1691, allocations: 318.8 kB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.1691, allocations: 0 / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.1691, allocations: 0 / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.1692, allocations: 16.92 kB / 0.5828 GB, free: 5.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1692, allocations: 0 / 0.5828 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.337e-05/0.1692, allocations: 33.69 kB / 0.5828 GB, free: 5.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1693, allocations: 4 kB / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1693, allocations: 0 / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1693, allocations: 11.88 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.1693, allocations: 0 / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1694, allocations: 0 / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.1694, allocations: 3.938 kB / 0.5828 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1694, allocations: 4.031 kB / 0.5828 GB, free: 5.641 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.626e-05/0.1695, allocations: 109.8 kB / 0.5829 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.1695, allocations: 0 / 0.5829 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.039e-05/0.1696, allocations: 48.75 kB / 0.583 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1696, allocations: 0 / 0.583 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1696, allocations: 0 / 0.583 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1696, allocations: 3.984 kB / 0.583 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.1697, allocations: 145.7 kB / 0.5831 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1697, allocations: 8.031 kB / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.1697, allocations: 0 / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1697, allocations: 0 / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1697, allocations: 3.938 kB / 0.5831 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1697, allocations: 0 / 0.5831 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1697, allocations: 0 / 0.5831 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.839e-05/0.1698, allocations: 61.08 kB / 0.5832 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.1699, allocations: 81.09 kB / 0.5833 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1699, allocations: 7.969 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-06/0.1699, allocations: 0 / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.1699, allocations: 4 kB / 0.5833 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1699, allocations: 0 / 0.5833 GB, free: 5.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.972e-05/0.17, allocations: 75.28 kB / 0.5834 GB, free: 4.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.17, allocations: 0 / 0.5834 GB, free: 4.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1702, allocations: 12 kB / 0.5834 GB, free: 4.984 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.0002391/0.1704, allocations: 123.2 kB / 0.5835 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.291e-05/0.1705, allocations: 11.94 kB / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1705, allocations: 0 / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.1705, allocations: 0 / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1707, allocations: 7.938 kB / 0.5835 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.1709, allocations: 80.92 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1712, allocations: 0.673 MB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.38e-05/0.1712, allocations: 0 / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.1712, allocations: 15.38 kB / 0.5843 GB, free: 4.02 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1712, allocations: 0 / 0.5843 GB, free: 4.02 MB / 494.1 MB Notification: Performance of Templates: time 0.002481/0.1737, allocations: 394.5 kB / 0.5846 GB, free: 3.637 MB / 494.1 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)