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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001709/0.001709, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9942/0.9942, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.58 kB / 0.5047 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1669, allocations: 80.92 MB / 0.5837 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001825/0.1687, allocations: 0.631 MB / 0.5843 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.1692, allocations: 211.3 kB / 0.5845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.066e-05/0.1692, allocations: 0 / 0.5845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1693, allocations: 0 / 0.5845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.1693, allocations: 0 / 0.5845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.1696, allocations: 39.91 kB / 0.5846 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.889e-05/0.1697, allocations: 12 kB / 0.5846 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1697, allocations: 3.984 kB / 0.5846 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.057e-05/0.1697, allocations: 0 / 0.5846 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.1697, allocations: 3.984 kB / 0.5846 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-06/0.1698, allocations: 0 / 0.5846 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1699, allocations: 67.88 kB / 0.5847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-06/0.17, allocations: 0 / 0.5847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.17, allocations: 0 / 0.5847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1701, allocations: 39.88 kB / 0.5847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1701, allocations: 0 / 0.5847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1701, allocations: 4 kB / 0.5847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1701, allocations: 0 / 0.5847 GB, free: 3.953 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.0002892/0.1704, allocations: 319.6 kB / 0.585 GB, free: 3.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1705, allocations: 8.031 kB / 0.585 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.1705, allocations: 4.938 kB / 0.585 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.295e-05/0.1706, allocations: 164.4 kB / 0.5852 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1706, allocations: 384 / 0.5852 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.1706, allocations: 8.312 kB / 0.5852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.1707, allocations: 26.27 kB / 0.5852 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1707, allocations: 4.188 kB / 0.5852 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1707, allocations: 7.922 kB / 0.5852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1707, allocations: 0 / 0.5852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.1708, allocations: 4 kB / 0.5852 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.1709, allocations: 153.6 kB / 0.5854 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.1709, allocations: 16.23 kB / 0.5854 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.171, allocations: 12.89 kB / 0.5854 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/0.1717, allocations: 461.5 kB / 0.5858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1718, allocations: 30.56 kB / 0.5859 GB, free: 2.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1718, allocations: 0 / 0.5859 GB, free: 2.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.1719, allocations: 33.64 kB / 0.5859 GB, free: 2.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1719, allocations: 59.53 kB / 0.586 GB, free: 2.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.083e-05/0.172, allocations: 89.86 kB / 0.586 GB, free: 2.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.172, allocations: 25.7 kB / 0.5861 GB, free: 2.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.172, allocations: 80.14 kB / 0.5861 GB, free: 2.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1721, allocations: 3.906 kB / 0.5861 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1721, allocations: 21.7 kB / 0.5862 GB, free: 2.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1722, allocations: 310.8 kB / 0.5865 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-06/0.1722, allocations: 3.938 kB / 0.5865 GB, free: 1.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.1722, allocations: 4 kB / 0.5865 GB, free: 1.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.1723, allocations: 12.8 kB / 0.5865 GB, free: 1.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1723, allocations: 0 / 0.5865 GB, free: 1.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.889e-05/0.1723, allocations: 29.7 kB / 0.5865 GB, free: 1.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1724, allocations: 4 kB / 0.5865 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1724, allocations: 4 kB / 0.5865 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1724, allocations: 3.938 kB / 0.5865 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.1724, allocations: 7.984 kB / 0.5865 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1724, allocations: 0 / 0.5865 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.1725, allocations: 4.094 kB / 0.5865 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1725, allocations: 7.938 kB / 0.5865 GB, free: 1.75 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.641e-05/0.1725, allocations: 105.8 kB / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.1725, allocations: 0 / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.1726, allocations: 40.75 kB / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1726, allocations: 0 / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1726, allocations: 0 / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1726, allocations: 0 / 0.5867 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.1727, allocations: 153.7 kB / 0.5868 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1728, allocations: 0 / 0.5868 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.1728, allocations: 0 / 0.5868 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1728, allocations: 0 / 0.5868 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1728, allocations: 3.938 kB / 0.5868 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1728, allocations: 8 kB / 0.5868 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1728, allocations: 0 / 0.5868 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.779e-05/0.1729, allocations: 57.06 kB / 0.5869 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.1729, allocations: 81.14 kB / 0.587 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1729, allocations: 7.938 kB / 0.587 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.1729, allocations: 7.938 kB / 0.587 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.173, allocations: 0 / 0.587 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.173, allocations: 3.984 kB / 0.587 GB, free: 1.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.473e-05/0.173, allocations: 75.28 kB / 0.5871 GB, free: 1.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 0 / 0.5871 GB, free: 1.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1732, allocations: 12 kB / 0.5871 GB, free: 1.102 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.0002076/0.1734, allocations: 115.2 kB / 0.5872 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.941e-05/0.1735, allocations: 7.984 kB / 0.5872 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1735, allocations: 0 / 0.5872 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-06/0.1735, allocations: 11.88 kB / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1736, allocations: 0 / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.1738, allocations: 78.89 kB / 0.5873 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.174, allocations: 0.6731 MB / 0.5879 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.163e-05/0.1741, allocations: 0 / 0.5879 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.1741, allocations: 11.42 kB / 0.5879 GB, free: 148 kB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1741, allocations: 0 / 0.5879 GB, free: 148 kB / 494.1 MB Notification: Performance of Templates: time 0.002252/0.1763, allocations: 408.7 kB / 0.5883 GB, free: 15.75 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)