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.0009796/0.0009796, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007745/0.007745, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9629/0.9629, allocations: 135.3 MB / 426.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003551, allocations: 13.16 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.161, allocations: 82.3 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001509/0.1626, allocations: 1.14 MB / 0.5891 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005338/0.1631, allocations: 265.8 kB / 0.5893 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1632, allocations: 0 / 0.5893 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1632, allocations: 7.984 kB / 0.5893 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.1633, allocations: 3.938 kB / 0.5893 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1635, allocations: 43.91 kB / 0.5894 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.1636, allocations: 19.97 kB / 0.5894 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.529e-05/0.1637, allocations: 8 kB / 0.5894 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.1637, allocations: 11.88 kB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.1638, allocations: 11.92 kB / 0.5894 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1638, allocations: 4 kB / 0.5894 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1639, allocations: 63.88 kB / 0.5895 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.164, allocations: 4 kB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.164, allocations: 37.62 kB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1641, allocations: 51.86 kB / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1641, allocations: 0 / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1642, allocations: 0 / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.1642, allocations: 0 / 0.5896 GB, free: 0.957 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.0004099/0.1646, allocations: 351.7 kB / 0.5899 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1646, allocations: 8.031 kB / 0.5899 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1647, allocations: 4.938 kB / 0.5899 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1648, allocations: 164.4 kB / 0.5901 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1648, allocations: 384 / 0.5901 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1648, allocations: 4.375 kB / 0.5901 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.165, allocations: 62.17 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.165, allocations: 192 / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.165, allocations: 3.938 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.165, allocations: 0 / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1652, allocations: 39.97 kB / 0.5902 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1655, allocations: 257 kB / 0.5904 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1657, allocations: 46.44 kB / 0.5905 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.1658, allocations: 32.91 kB / 0.5905 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.1664, allocations: 461.5 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1665, allocations: 34.56 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1665, allocations: 7.938 kB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.1669, allocations: 97.53 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1669, allocations: 55.53 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.167, allocations: 105.8 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.167, allocations: 25.7 kB / 0.5913 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.167, allocations: 84.08 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.1671, allocations: 7.906 kB / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1671, allocations: 13.72 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.1672, allocations: 314.8 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.1673, allocations: 23.98 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.1674, allocations: 19.98 kB / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1676, allocations: 48.89 kB / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1676, allocations: 0 / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002173/0.1678, allocations: 81.59 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1678, allocations: 4 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.1678, allocations: 8.031 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.1678, allocations: 0 / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.1679, allocations: 19.86 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1679, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.168, allocations: 7.984 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.168, allocations: 4 kB / 0.5919 GB, free: 14.29 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 6.451e-05/0.1681, allocations: 109.8 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1681, allocations: 4 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.1684, allocations: 80.78 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1684, allocations: 0 / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1684, allocations: 0 / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1684, allocations: 4.031 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1686, allocations: 165.6 kB / 0.5922 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1686, allocations: 0 / 0.5922 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.1686, allocations: 8 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1686, allocations: 3.984 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1687, allocations: 0 / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1687, allocations: 3.938 kB / 0.5922 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1687, allocations: 0 / 0.5922 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1689, allocations: 183.4 kB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.169, allocations: 81.05 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.169, allocations: 3.938 kB / 0.5925 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.1691, allocations: 12.03 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.1691, allocations: 3.984 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1691, allocations: 0 / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.1692, allocations: 79.28 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1692, allocations: 0 / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.1694, allocations: 16 kB / 0.5926 GB, free: 13.45 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.0001922/0.1696, allocations: 119.2 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1698, allocations: 51.89 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1698, allocations: 0 / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.1699, allocations: 24.05 kB / 0.5928 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.1702, allocations: 15.31 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.1704, allocations: 104.7 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1707, allocations: 0.6731 MB / 0.5936 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.1707, allocations: 8.062 kB / 0.5936 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.1707, allocations: 15.42 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1707, allocations: 0 / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.002573/0.1733, allocations: 0.5809 MB / 0.5942 GB, free: 11.8 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)