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.0009726/0.0009725, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9249/0.9249, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 8 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.153, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001877/0.1549, allocations: 1.142 MB / 0.5897 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006791/0.1556, allocations: 268.1 kB / 0.59 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1557, allocations: 0 / 0.59 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.1557, allocations: 0 / 0.59 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.1558, allocations: 3.984 kB / 0.59 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1561, allocations: 47.91 kB / 0.59 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.1562, allocations: 23.91 kB / 0.5901 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.1563, allocations: 4 kB / 0.5901 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.1563, allocations: 7.938 kB / 0.5901 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.1564, allocations: 7.984 kB / 0.5901 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1564, allocations: 4 kB / 0.5901 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1566, allocations: 67.88 kB / 0.5901 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1566, allocations: 0 / 0.5901 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.1566, allocations: 41.62 kB / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.1567, allocations: 35.94 kB / 0.5902 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1567, allocations: 0 / 0.5902 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1567, allocations: 0 / 0.5902 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1568, allocations: 0 / 0.5902 GB, free: 0.9531 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.0004165/0.1572, allocations: 347.7 kB / 0.5905 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1572, allocations: 11.97 kB / 0.5906 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.1573, allocations: 4.938 kB / 0.5906 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1574, allocations: 172.3 kB / 0.5907 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1574, allocations: 384 / 0.5907 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1574, allocations: 384 / 0.5907 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1576, allocations: 58.23 kB / 0.5908 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1576, allocations: 192 / 0.5908 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1577, allocations: 3.938 kB / 0.5908 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1577, allocations: 0 / 0.5908 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.1579, allocations: 47.95 kB / 0.5908 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1582, allocations: 248.9 kB / 0.5911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1584, allocations: 50.47 kB / 0.5911 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.1585, allocations: 32.91 kB / 0.5912 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007158/0.1592, allocations: 457.5 kB / 0.5916 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1592, allocations: 30.56 kB / 0.5916 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.1592, allocations: 3.938 kB / 0.5916 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003796/0.1596, allocations: 109.5 kB / 0.5917 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1597, allocations: 51.41 kB / 0.5918 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.1598, allocations: 102 kB / 0.5919 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1598, allocations: 29.69 kB / 0.5919 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.1598, allocations: 84.14 kB / 0.592 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1599, allocations: 7.891 kB / 0.592 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.1599, allocations: 13.72 kB / 0.592 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.16, allocations: 310.8 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.1601, allocations: 23.98 kB / 0.5923 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.1602, allocations: 23.97 kB / 0.5923 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1604, allocations: 48.89 kB / 0.5924 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1604, allocations: 4 kB / 0.5924 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002773/0.1606, allocations: 81.53 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1607, allocations: 4 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1607, allocations: 0 / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1607, allocations: 4.031 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.1608, allocations: 11.98 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1608, allocations: 0 / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.1609, allocations: 8 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1609, allocations: 0 / 0.5925 GB, free: 14.3 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 7.762e-05/0.1609, allocations: 125.7 kB / 0.5926 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.161, allocations: 0 / 0.5926 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1612, allocations: 84.72 kB / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1612, allocations: 0 / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1612, allocations: 0 / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1612, allocations: 0 / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.1614, allocations: 157.6 kB / 0.5928 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1614, allocations: 4.031 kB / 0.5929 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.1615, allocations: 15.98 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1615, allocations: 4 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1615, allocations: 0 / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1615, allocations: 0 / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1615, allocations: 0 / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1618, allocations: 175.4 kB / 0.593 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1618, allocations: 81.23 kB / 0.5931 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1619, allocations: 7.984 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1619, allocations: 8 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.162, allocations: 8.016 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.162, allocations: 7.984 kB / 0.5931 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.162, allocations: 83.22 kB / 0.5932 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.162, allocations: 0 / 0.5932 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002441/0.1623, allocations: 15.94 kB / 0.5932 GB, free: 13.43 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.0002095/0.1625, allocations: 115.2 kB / 0.5934 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1627, allocations: 47.97 kB / 0.5934 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1628, allocations: 0 / 0.5934 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.1629, allocations: 32.03 kB / 0.5934 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1631, allocations: 7.312 kB / 0.5934 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.1634, allocations: 134.4 kB / 0.5936 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1637, allocations: 0.6809 MB / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.1637, allocations: 7.438 kB / 0.5942 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1637, allocations: 0 / 0.5942 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002284/0.166, allocations: 0.771 MB / 0.595 GB, free: 11.58 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)