Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 92.55 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.001555/0.001555, allocations: 173.5 kB / 16.92 MB, free: 6.652 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9449/0.9449, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 17.7 kB / 0.5082 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 82.3 MB / 0.5886 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001493/0.1554, allocations: 1.15 MB / 0.5897 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005022/0.1559, allocations: 252.1 kB / 0.59 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.156, allocations: 0 / 0.59 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.156, allocations: 0 / 0.59 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.156, allocations: 4 kB / 0.59 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1563, allocations: 43.91 kB / 0.59 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.1564, allocations: 27.84 kB / 0.59 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.1564, allocations: 4 kB / 0.5901 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.1565, allocations: 11.94 kB / 0.5901 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.1565, allocations: 7.984 kB / 0.5901 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.1565, allocations: 0 / 0.5901 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1567, allocations: 63.88 kB / 0.5901 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1567, allocations: 8 kB / 0.5901 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.1568, allocations: 33.64 kB / 0.5902 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.1569, allocations: 35.92 kB / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1569, allocations: 0 / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1569, allocations: 0 / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1569, allocations: 0 / 0.5902 GB, free: 0.9414 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.0003775/0.1573, allocations: 347.7 kB / 0.5905 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1573, allocations: 12.03 kB / 0.5905 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.1573, allocations: 4.938 kB / 0.5906 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1574, allocations: 160.4 kB / 0.5907 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1575, allocations: 8.312 kB / 0.5907 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.1575, allocations: 384 / 0.5907 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1577, allocations: 58.17 kB / 0.5908 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1577, allocations: 4.188 kB / 0.5908 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1577, allocations: 3.938 kB / 0.5908 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1577, allocations: 4 kB / 0.5908 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.1579, allocations: 43.95 kB / 0.5908 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.1582, allocations: 241 kB / 0.5911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1583, allocations: 54.42 kB / 0.5911 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.1584, allocations: 24.91 kB / 0.5911 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.1591, allocations: 461.5 kB / 0.5916 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1591, allocations: 30.56 kB / 0.5916 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1591, allocations: 0 / 0.5916 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.1595, allocations: 101.5 kB / 0.5917 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1595, allocations: 55.41 kB / 0.5917 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.766e-05/0.1596, allocations: 101.8 kB / 0.5918 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1596, allocations: 29.64 kB / 0.5919 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.1597, allocations: 84.27 kB / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.1597, allocations: 3.906 kB / 0.592 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1597, allocations: 13.72 kB / 0.592 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1598, allocations: 318.8 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.1599, allocations: 15.98 kB / 0.5923 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.16, allocations: 27.98 kB / 0.5923 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1602, allocations: 48.81 kB / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1602, allocations: 0 / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.1604, allocations: 77.67 kB / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1604, allocations: 11.94 kB / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1604, allocations: 0 / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1604, allocations: 0 / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.1605, allocations: 15.92 kB / 0.5925 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1605, allocations: 4.031 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.1606, allocations: 11.98 kB / 0.5925 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1606, allocations: 0 / 0.5925 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.723e-05/0.1607, allocations: 113.8 kB / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1607, allocations: 0 / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1609, allocations: 80.78 kB / 0.5927 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1609, allocations: 3.938 kB / 0.5927 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.161, allocations: 4 kB / 0.5927 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.161, allocations: 0 / 0.5927 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1611, allocations: 165.6 kB / 0.5928 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1611, allocations: 0 / 0.5928 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.1612, allocations: 11.98 kB / 0.5928 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1612, allocations: 4.031 kB / 0.5928 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1612, allocations: 3.938 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1612, allocations: 4 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1612, allocations: 0 / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1615, allocations: 183.4 kB / 0.593 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1615, allocations: 81.05 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1615, allocations: 0 / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.1616, allocations: 11.98 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.1617, allocations: 4 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1617, allocations: 0 / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.1617, allocations: 79.28 kB / 0.5932 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 4.031 kB / 0.5932 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002378/0.162, allocations: 20 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.0001862/0.1621, allocations: 107.2 kB / 0.5933 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1624, allocations: 55.89 kB / 0.5934 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1624, allocations: 0 / 0.5934 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.1625, allocations: 23.98 kB / 0.5934 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.0002313/0.1627, allocations: 7.938 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.0002522/0.163, allocations: 134.5 kB / 0.5935 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.1632, 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.234e-05/0.1632, allocations: 11.42 kB / 0.5942 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1632, allocations: 0 / 0.5942 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.001945/0.1652, allocations: 0.7682 MB / 0.595 GB, free: 11.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)