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.0008547/0.0008547, allocations: 100.1 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.0009305/0.0009306, 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.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8382/0.8382, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 13.06 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007156/0.1496, allocations: 299.1 kB / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003918/0.15, allocations: 171.6 kB / 0.5877 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.15, allocations: 4 kB / 0.5877 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.1501, allocations: 3.938 kB / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.1501, allocations: 0 / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1504, allocations: 35.84 kB / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.01e-05/0.1504, allocations: 0 / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.1505, allocations: 4 kB / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.1505, allocations: 7.984 kB / 0.5877 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.97e-05/0.1505, allocations: 7.984 kB / 0.5877 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-06/0.1505, allocations: 0 / 0.5877 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1507, allocations: 55.89 kB / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-06/0.1507, allocations: 0 / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1507, allocations: 25.7 kB / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.1508, allocations: 27.95 kB / 0.5878 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.1508, allocations: 0 / 0.5878 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1508, allocations: 0 / 0.5878 GB, free: 2.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1508, allocations: 0 / 0.5878 GB, free: 2.469 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.0002193/0.151, allocations: 319.4 kB / 0.5881 GB, free: 2.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1511, allocations: 12.03 kB / 0.5881 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.1511, allocations: 4 kB / 0.5881 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.1512, allocations: 167 kB / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1512, allocations: 0 / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.1512, allocations: 0 / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/0.1513, allocations: 41.62 kB / 0.5883 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.1513, allocations: 0 / 0.5883 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1513, allocations: 0 / 0.5883 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1513, allocations: 0 / 0.5883 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.1513, allocations: 7.984 kB / 0.5883 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.1515, allocations: 149.6 kB / 0.5885 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.729e-05/0.1515, allocations: 14.58 kB / 0.5885 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006156/0.1521, allocations: 457.5 kB / 0.5889 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1522, allocations: 38.5 kB / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1522, allocations: 0 / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001175/0.1523, allocations: 29.7 kB / 0.589 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1523, allocations: 55.41 kB / 0.5891 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.241e-05/0.1524, allocations: 89.86 kB / 0.5891 GB, free: 0.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1524, allocations: 33.64 kB / 0.5892 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.1524, allocations: 80.14 kB / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1524, allocations: 8.031 kB / 0.5893 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.1525, allocations: 0 / 0.5893 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1526, allocations: 310.8 kB / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1526, allocations: 3.984 kB / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.1526, allocations: 4 kB / 0.5896 GB, free: 392 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.887e-05/0.1526, allocations: 0 / 0.5896 GB, free: 392 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1526, allocations: 7.875 kB / 0.5896 GB, free: 384 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.901e-05/0.1527, allocations: 37.66 kB / 0.5896 GB, free: 340 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1527, allocations: 8.094 kB / 0.5896 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1527, allocations: 4 kB / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1527, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.1527, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1528, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.1528, allocations: 0 / 0.5896 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1528, allocations: 4 kB / 0.5896 GB, free: 324 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 5.937e-05/0.1528, allocations: 109.8 kB / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.1529, allocations: 3.953 kB / 0.5897 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.1529, allocations: 40.77 kB / 0.5898 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1529, allocations: 0 / 0.5898 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.153, allocations: 0 / 0.5898 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.153, allocations: 0 / 0.5898 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.745e-05/0.1531, allocations: 153.7 kB / 0.5899 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1531, allocations: 0 / 0.5899 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.1531, allocations: 0 / 0.5899 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1531, allocations: 3.953 kB / 0.5899 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.1531, allocations: 0 / 0.5899 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1531, allocations: 4 kB / 0.5899 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1531, allocations: 0 / 0.5899 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.1532, allocations: 57.16 kB / 0.59 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1532, allocations: 81.11 kB / 0.5901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1532, allocations: 3.953 kB / 0.5901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-06/0.1533, allocations: 11.94 kB / 0.5901 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.1533, allocations: 0 / 0.5901 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1533, allocations: 0 / 0.5901 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.422e-05/0.1533, allocations: 83.16 kB / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1533, allocations: 4.031 kB / 0.5902 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001839/0.1535, allocations: 12 kB / 0.5902 GB, free: 15.66 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.0001778/0.1537, allocations: 115.2 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.88e-05/0.1537, allocations: 4 kB / 0.5903 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1538, allocations: 64 / 0.5903 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.1538, allocations: 8 kB / 0.5903 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.399e-05/0.1538, allocations: 0 / 0.5903 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001292/0.154, allocations: 82.97 kB / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1542, allocations: 0.677 MB / 0.591 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.829e-06/0.1542, allocations: 0 / 0.591 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.1542, allocations: 11.42 kB / 0.591 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1542, allocations: 0 / 0.591 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.001945/0.1562, allocations: 392.2 kB / 0.5914 GB, free: 14.32 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: