Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 88.77 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.001338/0.001338, allocations: 183.2 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.32/1.32, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8993/0.8993, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12.28 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 82.31 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006665/0.1543, allocations: 303.1 kB / 0.5889 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.1548, allocations: 199.4 kB / 0.5891 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-06/0.1548, allocations: 0 / 0.5891 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.1549, allocations: 0 / 0.5891 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.047e-06/0.1549, allocations: 0 / 0.5891 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1552, allocations: 39.91 kB / 0.5891 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.139e-05/0.1552, allocations: 4 kB / 0.5891 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.1553, allocations: 4 kB / 0.5891 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.1553, allocations: 0 / 0.5891 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.216e-05/0.1553, allocations: 0 / 0.5891 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.1553, allocations: 0 / 0.5891 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1555, allocations: 67.86 kB / 0.5892 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.1555, allocations: 7.938 kB / 0.5892 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.1556, allocations: 29.64 kB / 0.5892 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.152e-05/0.1557, allocations: 19.97 kB / 0.5893 GB, free: 1.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1557, allocations: 0 / 0.5893 GB, free: 1.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1557, allocations: 3.938 kB / 0.5893 GB, free: 1.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1557, allocations: 0 / 0.5893 GB, free: 1.926 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.0003426/0.156, allocations: 317.3 kB / 0.5896 GB, free: 1.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1561, allocations: 8.031 kB / 0.5896 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1561, allocations: 0.9375 kB / 0.5896 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1563, allocations: 172.4 kB / 0.5897 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1563, allocations: 4.375 kB / 0.5898 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1563, allocations: 384 / 0.5898 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.1564, allocations: 26.27 kB / 0.5898 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1564, allocations: 192 / 0.5898 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1564, allocations: 3.938 kB / 0.5898 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1564, allocations: 0 / 0.5898 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.1565, allocations: 4 kB / 0.5898 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1566, allocations: 145.7 kB / 0.5899 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/0.1567, allocations: 26.61 kB / 0.5899 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.1567, allocations: 10.58 kB / 0.59 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006923/0.1574, allocations: 449.5 kB / 0.5904 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1574, allocations: 34.56 kB / 0.5904 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1574, allocations: 0 / 0.5904 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.1576, allocations: 45.56 kB / 0.5905 GB, free: 456 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1576, allocations: 51.41 kB / 0.5905 GB, free: 392 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.661e-05/0.1576, allocations: 89.86 kB / 0.5906 GB, free: 292 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1577, allocations: 25.7 kB / 0.5906 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1577, allocations: 80.14 kB / 0.5907 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1577, allocations: 7.906 kB / 0.5907 GB, free: 168 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.1578, allocations: 9.844 kB / 0.5907 GB, free: 152 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1579, allocations: 314.8 kB / 0.591 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.1579, allocations: 0 / 0.591 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.1579, allocations: 4 kB / 0.591 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.1579, allocations: 12.84 kB / 0.591 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1579, allocations: 0 / 0.591 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.504e-05/0.158, allocations: 37.58 kB / 0.5911 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.158, allocations: 8 kB / 0.5911 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.158, allocations: 8.094 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.158, allocations: 3.938 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.1581, allocations: 0 / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1581, allocations: 0 / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-06/0.1581, allocations: 4 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-06/0.1581, allocations: 3.938 kB / 0.5911 GB, free: 15.74 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 (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 6.681e-05/0.1582, allocations: 105.8 kB / 0.5912 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.1582, allocations: 3.984 kB / 0.5912 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.1583, allocations: 44.77 kB / 0.5912 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1583, allocations: 0 / 0.5912 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1583, allocations: 4 kB / 0.5912 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1583, allocations: 0 / 0.5912 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.395e-05/0.1584, allocations: 149.7 kB / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1584, allocations: 3.938 kB / 0.5914 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.1584, allocations: 0 / 0.5914 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.1584, allocations: 4 kB / 0.5914 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1585, allocations: 3.938 kB / 0.5914 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1585, allocations: 0 / 0.5914 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1585, allocations: 0 / 0.5914 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.044e-05/0.1585, allocations: 61.16 kB / 0.5915 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.1586, allocations: 77.11 kB / 0.5915 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1586, allocations: 11.92 kB / 0.5915 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-06/0.1586, allocations: 0 / 0.5915 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.1586, allocations: 0 / 0.5915 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1586, allocations: 0 / 0.5915 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.1587, allocations: 75.28 kB / 0.5916 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1587, allocations: 4.031 kB / 0.5916 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001905/0.1589, allocations: 12 kB / 0.5916 GB, free: 15.09 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 (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.0001978/0.1591, allocations: 115.2 kB / 0.5917 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.318e-05/0.1591, allocations: 11.94 kB / 0.5918 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1591, allocations: 0 / 0.5918 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.1591, allocations: 8.062 kB / 0.5918 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.1593, allocations: 0 / 0.5918 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/0.1594, allocations: 104.4 kB / 0.5919 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.1597, allocations: 0.6731 MB / 0.5925 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.1597, allocations: 7.438 kB / 0.5925 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1597, allocations: 0 / 0.5925 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.001622/0.1613, allocations: 0.5504 MB / 0.5931 GB, free: 13.55 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)