Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008177/0.0008177, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008289/0.0008288, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8485/0.8485, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 17.56 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007185/0.1483, allocations: 303.1 kB / 0.5875 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.1487, allocations: 171.6 kB / 0.5877 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-06/0.1487, allocations: 0 / 0.5877 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.787e-06/0.1488, allocations: 0 / 0.5877 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.057e-06/0.1488, allocations: 0 / 0.5877 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1491, allocations: 31.91 kB / 0.5877 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.07e-05/0.1491, allocations: 4 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.1492, allocations: 7.938 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.088e-05/0.1492, allocations: 0 / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.1492, allocations: 3.984 kB / 0.5877 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.1492, allocations: 0 / 0.5877 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1494, allocations: 63.88 kB / 0.5878 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-06/0.1494, allocations: 0 / 0.5878 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.1494, allocations: 25.7 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.771e-05/0.1495, allocations: 27.95 kB / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1495, allocations: 0 / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1495, allocations: 3.938 kB / 0.5878 GB, free: 2.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1495, allocations: 4 kB / 0.5878 GB, free: 2.52 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.0003421/0.1499, allocations: 315.4 kB / 0.5881 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1499, allocations: 12.02 kB / 0.5881 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.1499, allocations: 0 / 0.5881 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.15, allocations: 167 kB / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.15, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.15, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.484e-05/0.1501, allocations: 33.64 kB / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1502, allocations: 4 kB / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.1502, allocations: 0 / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1502, allocations: 0 / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.1502, allocations: 0 / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.1503, allocations: 157.6 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.1504, allocations: 14.58 kB / 0.5885 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.151, allocations: 457.6 kB / 0.5889 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.151, allocations: 30.56 kB / 0.589 GB, free: 1.102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.151, allocations: 3.938 kB / 0.589 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.1512, allocations: 33.69 kB / 0.589 GB, free: 1.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1512, allocations: 55.41 kB / 0.5891 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.539e-05/0.1512, allocations: 89.86 kB / 0.5891 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1513, allocations: 29.83 kB / 0.5892 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.1513, allocations: 80.14 kB / 0.5892 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1514, allocations: 7.844 kB / 0.5893 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.1514, allocations: 0 / 0.5893 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1515, allocations: 314.8 kB / 0.5896 GB, free: 464 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-06/0.1515, allocations: 0 / 0.5896 GB, free: 464 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.1515, allocations: 4 kB / 0.5896 GB, free: 460 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.388e-05/0.1515, allocations: 0 / 0.5896 GB, free: 460 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1515, allocations: 64 / 0.5896 GB, free: 460 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.459e-05/0.1516, allocations: 45.58 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1516, allocations: 8 kB / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1516, allocations: 0 / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1516, allocations: 0 / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.1517, allocations: 0 / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1517, allocations: 0 / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-06/0.1517, allocations: 0 / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1517, allocations: 4 kB / 0.5896 GB, free: 396 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.1518, allocations: 108.3 kB / 0.5897 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.1518, allocations: 11.94 kB / 0.5897 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/0.1519, allocations: 44.77 kB / 0.5898 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1519, allocations: 3.984 kB / 0.5898 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1519, allocations: 3.938 kB / 0.5898 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1519, allocations: 4 kB / 0.5898 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.095e-05/0.152, allocations: 145.7 kB / 0.5899 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.152, allocations: 0 / 0.5899 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.152, allocations: 0 / 0.5899 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1521, allocations: 3.953 kB / 0.5899 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.1521, allocations: 8.078 kB / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1521, allocations: 0 / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1521, allocations: 0 / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.553e-05/0.1522, allocations: 57.08 kB / 0.59 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.1522, allocations: 77.11 kB / 0.5901 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1522, allocations: 7.953 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.1522, allocations: 0 / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1523, allocations: 3.938 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.1523, allocations: 4.031 kB / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.1523, allocations: 79.22 kB / 0.5901 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.773e-06/0.1523, allocations: 0 / 0.5901 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001877/0.1525, allocations: 15.94 kB / 0.5902 GB, free: 15.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000219/0.1527, allocations: 115.2 kB / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.1528, allocations: 12 kB / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1528, allocations: 0 / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.692e-06/0.1528, allocations: 4 kB / 0.5903 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.819e-05/0.1529, allocations: 2.188 kB / 0.5903 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001607/0.1531, allocations: 78.97 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1533, allocations: 0.6731 MB / 0.591 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.352e-05/0.1533, allocations: 0 / 0.591 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.1534, allocations: 11.38 kB / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1534, allocations: 4.125 kB / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.002198/0.1556, allocations: 396.1 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: