Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001736/0.001736, allocations: 192.6 kB / 16.25 MB, free: 6.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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9509/0.9509, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 73.17 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1608, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002697/0.1636, allocations: 1.476 MB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005362/0.1641, allocations: 264 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.1642, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.1642, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.1643, allocations: 3.984 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1646, allocations: 51.91 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.1647, allocations: 19.92 kB / 0.5863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.1647, allocations: 8 kB / 0.5863 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.1648, allocations: 19.91 kB / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.561e-05/0.1648, allocations: 11.98 kB / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.1648, allocations: 0 / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.165, allocations: 63.89 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.165, allocations: 7.984 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.165, allocations: 7.938 kB / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1652, allocations: 59.8 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1652, allocations: 0 / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1652, allocations: 3.984 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1652, allocations: 0 / 0.5864 GB, free: 2.297 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004618/0.1657, allocations: 351.6 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1657, allocations: 8.031 kB / 0.5868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1657, allocations: 8.938 kB / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1659, allocations: 168.3 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1659, allocations: 384 / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1659, allocations: 4.375 kB / 0.587 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1661, allocations: 46.23 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1661, allocations: 4.188 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1661, allocations: 7.938 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1661, allocations: 0 / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.1663, allocations: 35.89 kB / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1666, allocations: 245 kB / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1668, allocations: 46.5 kB / 0.5873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.1668, allocations: 20.89 kB / 0.5873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.1676, allocations: 457.5 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1676, allocations: 38.56 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 4.128e-06/0.1676, allocations: 0 / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.168, allocations: 85.52 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.168, allocations: 51.41 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.1681, allocations: 97.86 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1682, allocations: 25.7 kB / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1682, allocations: 88.27 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1682, allocations: 7.891 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1683, allocations: 13.72 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1684, allocations: 314.8 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.1685, allocations: 11.98 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.1686, allocations: 19.98 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1687, allocations: 48.81 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1688, allocations: 0 / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.1689, allocations: 65.59 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.169, allocations: 8 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.169, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.169, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.1691, allocations: 4 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1691, allocations: 8.016 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.1692, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1692, allocations: 4 kB / 0.5886 GB, free: 15.73 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 9.745e-05/0.1693, allocations: 113.8 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1693, allocations: 3.906 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1695, allocations: 76.7 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1695, allocations: 4.031 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1695, allocations: 0 / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1696, allocations: 3.938 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1697, allocations: 161.6 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1697, allocations: 0 / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1698, allocations: 11.98 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1698, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1698, allocations: 4 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1698, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1698, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1701, allocations: 171.4 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1701, allocations: 81.23 kB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1702, allocations: 4 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1702, allocations: 7.922 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1703, allocations: 7.984 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1703, allocations: 4.031 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.1704, allocations: 87.27 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1704, allocations: 0 / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000226/0.1706, allocations: 16 kB / 0.5894 GB, free: 14.88 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.000195/0.1708, allocations: 115.2 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.171, allocations: 39.97 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.171, allocations: 0 / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1711, allocations: 19.92 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1714, allocations: 11.92 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.1716, allocations: 105.5 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1719, allocations: 0.6807 MB / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.1719, allocations: 0 / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.172, allocations: 7.438 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.172, allocations: 0 / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.003007/0.175, allocations: 0.6123 MB / 0.5909 GB, free: 13.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)