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.001508/0.001508, 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.001571/0.001571, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9659/0.9659, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.72 kB / 0.5047 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 80.93 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002729/0.1581, allocations: 1.488 MB / 0.5852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000559/0.1586, allocations: 260.1 kB / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.1587, allocations: 0 / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.1587, allocations: 3.938 kB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.1588, allocations: 3.984 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1591, allocations: 43.89 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.1591, allocations: 27.92 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.1592, allocations: 4 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.1593, allocations: 11.94 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.606e-05/0.1593, allocations: 11.97 kB / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.1593, allocations: 0 / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1595, allocations: 67.88 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.1595, allocations: 3.938 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.1596, allocations: 8 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1597, allocations: 55.84 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1597, allocations: 4 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1597, allocations: 3.938 kB / 0.5856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1597, allocations: 4 kB / 0.5856 GB, free: 3.02 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.0004873/0.1602, allocations: 343.7 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1603, allocations: 8.031 kB / 0.586 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1603, allocations: 4.938 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1605, allocations: 168.3 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1605, allocations: 384 / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1605, allocations: 4.375 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1607, allocations: 50.23 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1607, allocations: 4.188 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1608, allocations: 3.938 kB / 0.5862 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1608, allocations: 0 / 0.5862 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1609, allocations: 31.95 kB / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1613, allocations: 244.8 kB / 0.5865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1614, allocations: 58.41 kB / 0.5865 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.1615, allocations: 20.91 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/0.1622, allocations: 457.5 kB / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1623, allocations: 34.56 kB / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1623, allocations: 0 / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.1627, allocations: 85.56 kB / 0.5871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.1627, allocations: 51.41 kB / 0.5871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.1628, allocations: 106 kB / 0.5872 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1628, allocations: 29.7 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.1628, allocations: 80.14 kB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1629, allocations: 3.906 kB / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1629, allocations: 17.72 kB / 0.5874 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.163, allocations: 310.8 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.1631, allocations: 19.97 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1632, allocations: 19.98 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1633, allocations: 36.83 kB / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1633, allocations: 0 / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.1635, allocations: 69.53 kB / 0.5878 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1635, allocations: 8 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1635, allocations: 0 / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1636, allocations: 4.094 kB / 0.5878 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.1636, allocations: 7.984 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1637, allocations: 0 / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1637, allocations: 4 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1637, allocations: 8 kB / 0.5878 GB, free: 464 kB / 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 (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 6.878e-05/0.1638, allocations: 113.8 kB / 0.5879 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.1638, allocations: 0 / 0.5879 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.164, allocations: 80.78 kB / 0.588 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1641, allocations: 3.938 kB / 0.588 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1641, allocations: 3.938 kB / 0.588 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1641, allocations: 0 / 0.588 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1642, allocations: 165.5 kB / 0.5882 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1642, allocations: 3.984 kB / 0.5882 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1643, allocations: 8 kB / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1643, allocations: 0 / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1643, allocations: 0 / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1643, allocations: 7.969 kB / 0.5882 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1643, allocations: 0 / 0.5882 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1646, allocations: 159.5 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1646, allocations: 89.03 kB / 0.5884 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1646, allocations: 4 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1647, allocations: 0 / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1648, allocations: 12.02 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1648, allocations: 0 / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.1648, allocations: 79.28 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.435e-06/0.1648, allocations: 0 / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002362/0.1651, allocations: 15.94 kB / 0.5886 GB, free: 15.62 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.0002096/0.1653, allocations: 123.2 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1655, allocations: 35.97 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1655, allocations: 0 / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.1656, allocations: 15.97 kB / 0.5887 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1659, allocations: 11.94 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.1661, allocations: 111.4 kB / 0.5888 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1664, allocations: 0.6731 MB / 0.5895 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.1664, allocations: 7.922 kB / 0.5895 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.1664, allocations: 7.438 kB / 0.5895 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1664, allocations: 3.938 kB / 0.5895 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.002924/0.1694, allocations: 0.5965 MB / 0.5901 GB, free: 13.98 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)