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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001068/0.001068, allocations: 199 kB / 16.14 MB, free: 6.656 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 422.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.28 kB / 0.5011 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1605, allocations: 80.21 MB / 0.5794 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001965/0.1626, allocations: 0.6373 MB / 0.5801 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.1631, allocations: 207.4 kB / 0.5803 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.01e-05/0.1631, allocations: 7.938 kB / 0.5803 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.1631, allocations: 0 / 0.5803 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.1631, allocations: 0 / 0.5803 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1634, allocations: 39.91 kB / 0.5803 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.628e-05/0.1635, allocations: 0 / 0.5803 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.1635, allocations: 4 kB / 0.5803 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.1635, allocations: 3.938 kB / 0.5803 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.1636, allocations: 4 kB / 0.5803 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-06/0.1636, allocations: 0 / 0.5803 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1637, allocations: 67.86 kB / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.1638, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.1638, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1639, allocations: 47.88 kB / 0.5804 GB, free: 8.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1639, allocations: 0 / 0.5804 GB, free: 8.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1639, allocations: 0 / 0.5804 GB, free: 8.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1639, allocations: 4 kB / 0.5804 GB, free: 8.207 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.0003432/0.1643, allocations: 315.6 kB / 0.5807 GB, free: 7.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1643, allocations: 12.03 kB / 0.5808 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.1643, allocations: 0.9375 kB / 0.5808 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.1644, allocations: 164.3 kB / 0.5809 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1645, allocations: 4.375 kB / 0.5809 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1645, allocations: 384 / 0.5809 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.1646, allocations: 38.25 kB / 0.5809 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1646, allocations: 4.172 kB / 0.581 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1646, allocations: 7.938 kB / 0.581 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1646, allocations: 3.938 kB / 0.581 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.1646, allocations: 0 / 0.581 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.1648, allocations: 141.7 kB / 0.5811 GB, free: 7.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.1648, allocations: 20.38 kB / 0.5811 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1648, allocations: 8.859 kB / 0.5811 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/0.1656, allocations: 457.5 kB / 0.5816 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1657, allocations: 34.56 kB / 0.5816 GB, free: 6.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.1657, allocations: 0 / 0.5816 GB, free: 6.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.1658, allocations: 45.56 kB / 0.5816 GB, free: 6.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.1658, allocations: 51.41 kB / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.1659, allocations: 93.98 kB / 0.5818 GB, free: 6.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1659, allocations: 25.7 kB / 0.5818 GB, free: 6.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.1659, allocations: 80.14 kB / 0.5819 GB, free: 6.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.166, allocations: 7.906 kB / 0.5819 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.166, allocations: 9.719 kB / 0.5819 GB, free: 6.414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.1661, allocations: 310.8 kB / 0.5822 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.1661, allocations: 0 / 0.5822 GB, free: 6.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.1661, allocations: 8 kB / 0.5822 GB, free: 6.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.1662, allocations: 12.86 kB / 0.5822 GB, free: 6.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1662, allocations: 0 / 0.5822 GB, free: 6.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.915e-05/0.1662, allocations: 37.69 kB / 0.5822 GB, free: 6.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1662, allocations: 4 kB / 0.5823 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1662, allocations: 0 / 0.5823 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1663, allocations: 7.875 kB / 0.5823 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.1663, allocations: 4 kB / 0.5823 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1663, allocations: 0 / 0.5823 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.1663, allocations: 0 / 0.5823 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1663, allocations: 4.031 kB / 0.5823 GB, free: 6.016 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 5.802e-05/0.1664, allocations: 105.8 kB / 0.5824 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.1664, allocations: 0 / 0.5824 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.1665, allocations: 56.62 kB / 0.5824 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1665, allocations: 0 / 0.5824 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1665, allocations: 0 / 0.5824 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1665, allocations: 0 / 0.5824 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.573e-05/0.1666, allocations: 145.7 kB / 0.5826 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1666, allocations: 0 / 0.5826 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.1666, allocations: 8.031 kB / 0.5826 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1666, allocations: 0 / 0.5826 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1667, allocations: 3.938 kB / 0.5826 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1667, allocations: 4 kB / 0.5826 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1667, allocations: 0 / 0.5826 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.1667, allocations: 61.12 kB / 0.5826 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.1668, allocations: 81.05 kB / 0.5827 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1668, allocations: 3.969 kB / 0.5827 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.1668, allocations: 4 kB / 0.5827 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1668, allocations: 0 / 0.5827 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1668, allocations: 0 / 0.5827 GB, free: 5.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.1669, allocations: 75.28 kB / 0.5828 GB, free: 5.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1669, allocations: 0 / 0.5828 GB, free: 5.371 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1671, allocations: 12 kB / 0.5828 GB, free: 5.359 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.0002604/0.1674, allocations: 119.2 kB / 0.5829 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.1675, allocations: 8 kB / 0.5829 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1675, allocations: 0 / 0.5829 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.1675, allocations: 4 kB / 0.5829 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1676, allocations: 0 / 0.5829 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.1678, allocations: 86.62 kB / 0.583 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1681, allocations: 0.6733 MB / 0.5837 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.1681, allocations: 0 / 0.5837 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.1681, allocations: 7.438 kB / 0.5837 GB, free: 4.41 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1681, allocations: 0 / 0.5837 GB, free: 4.41 MB / 494.1 MB Notification: Performance of Templates: time 0.002197/0.1703, allocations: 412.7 kB / 0.5841 GB, free: 4.008 MB / 494.1 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)