Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001372/0.001372, allocations: 186.2 kB / 17.34 MB, free: 5.633 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8154/0.8154, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 68.61 kB / 0.5863 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.162, allocations: 80.92 MB / 0.6653 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002975/0.1651, allocations: 1.415 MB / 0.6667 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.1657, allocations: 256.3 kB / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.1657, allocations: 0 / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.1658, allocations: 0 / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.1659, allocations: 3.938 kB / 0.6669 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.1663, allocations: 71.7 kB / 0.667 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.335e-05/0.1664, allocations: 12 kB / 0.667 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.1665, allocations: 11.98 kB / 0.667 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.1665, allocations: 7.938 kB / 0.667 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.1666, allocations: 7.984 kB / 0.667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1666, allocations: 8 kB / 0.6671 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1668, allocations: 67.81 kB / 0.6671 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.1668, allocations: 3.984 kB / 0.6671 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.1668, allocations: 7.938 kB / 0.6671 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.167, allocations: 51.92 kB / 0.6672 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.167, allocations: 0 / 0.6672 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.167, allocations: 0 / 0.6672 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.167, allocations: 0 / 0.6672 GB, free: 3.973 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004953/0.1675, allocations: 343.5 kB / 0.6675 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1676, allocations: 17.05 kB / 0.6675 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1676, allocations: 4.844 kB / 0.6675 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1678, allocations: 168.4 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1678, allocations: 4.312 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1678, allocations: 384 / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.168, allocations: 50.23 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.168, allocations: 192 / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.168, allocations: 3.938 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.168, allocations: 4 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1682, allocations: 31.97 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1686, allocations: 248.9 kB / 0.668 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1687, allocations: 38.5 kB / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.1688, allocations: 24.91 kB / 0.6681 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/0.1695, allocations: 453.5 kB / 0.6685 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1695, allocations: 34.56 kB / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.1695, allocations: 0 / 0.6685 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.1699, allocations: 85.58 kB / 0.6686 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1699, allocations: 51.41 kB / 0.6687 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.17, allocations: 101.9 kB / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.17, allocations: 25.7 kB / 0.6688 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1701, allocations: 84.12 kB / 0.6689 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1701, allocations: 7.906 kB / 0.6689 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.1701, allocations: 13.72 kB / 0.6689 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1703, allocations: 318.9 kB / 0.6692 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.1704, allocations: 15.98 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.1704, allocations: 19.97 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1706, allocations: 32.83 kB / 0.6693 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1706, allocations: 4 kB / 0.6693 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.1708, allocations: 81.5 kB / 0.6693 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1708, allocations: 8 kB / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1708, allocations: 0 / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1709, allocations: 0 / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.171, allocations: 7.984 kB / 0.6694 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.171, allocations: 0 / 0.6694 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.171, allocations: 4 kB / 0.6694 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.171, allocations: 8.031 kB / 0.6694 GB, free: 1.406 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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 8.355e-05/0.1711, allocations: 113.8 kB / 0.6695 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1711, allocations: 0 / 0.6695 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1714, allocations: 84.84 kB / 0.6696 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1714, allocations: 7.922 kB / 0.6696 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1714, allocations: 0 / 0.6696 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1714, allocations: 0 / 0.6696 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1716, allocations: 161.6 kB / 0.6697 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1716, allocations: 0 / 0.6697 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.1717, allocations: 11.98 kB / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1717, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1717, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1717, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1717, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.172, allocations: 167.5 kB / 0.6699 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.1721, allocations: 81.02 kB / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1721, allocations: 7.984 kB / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1722, allocations: 0 / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1722, allocations: 11.92 kB / 0.67 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1722, allocations: 0 / 0.67 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.1723, allocations: 83.28 kB / 0.6701 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1723, allocations: 0 / 0.6701 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002498/0.1725, allocations: 16.03 kB / 0.6701 GB, free: 0.5703 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.000193/0.1727, allocations: 120.5 kB / 0.6702 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.173, allocations: 35.97 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.173, allocations: 4.062 kB / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1731, allocations: 19.97 kB / 0.6703 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1733, allocations: 7.938 kB / 0.6703 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.1736, allocations: 143 kB / 0.6704 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1739, allocations: 0.6729 MB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.1739, allocations: 7.438 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1739, allocations: 0 / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.002248/0.1762, allocations: 0.7786 MB / 0.6718 GB, free: 14.72 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)