Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008662/0.000866, allocations: 100 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.0009223/0.0009223, 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.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8518/0.8518, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8.594 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00139/0.1463, allocations: 1.136 MB / 0.5883 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.1467, allocations: 244.2 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1468, allocations: 0 / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.1468, allocations: 0 / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.1468, allocations: 3.938 kB / 0.5885 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1471, allocations: 47.88 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.1471, allocations: 11.94 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.1472, allocations: 11.98 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.1473, allocations: 3.984 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.1473, allocations: 7.984 kB / 0.5886 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.1473, allocations: 0 / 0.5886 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1475, allocations: 63.89 kB / 0.5887 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1475, allocations: 7.984 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1475, allocations: 25.7 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.425e-05/0.1476, allocations: 39.94 kB / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1476, allocations: 0 / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1476, allocations: 0 / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1476, allocations: 0 / 0.5887 GB, free: 1.508 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.0004106/0.148, allocations: 347.5 kB / 0.5891 GB, free: 1.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1481, allocations: 8.031 kB / 0.5891 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1481, allocations: 7.938 kB / 0.5891 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1482, allocations: 178.9 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1483, allocations: 4 kB / 0.5893 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1483, allocations: 7.984 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1485, allocations: 49.67 kB / 0.5893 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1485, allocations: 4 kB / 0.5893 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.1485, allocations: 4 kB / 0.5893 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1485, allocations: 0 / 0.5893 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1487, allocations: 43.97 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.149, allocations: 252.9 kB / 0.5896 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1491, allocations: 42.56 kB / 0.5897 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.1497, allocations: 457.5 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1497, allocations: 34.56 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1497, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003201/0.15, allocations: 101.6 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1501, allocations: 59.41 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.1501, allocations: 97.86 kB / 0.5904 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.1501, allocations: 25.7 kB / 0.5904 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.1502, allocations: 84.12 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.1502, allocations: 3.906 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.1502, allocations: 4 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.1503, allocations: 318.8 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.1504, allocations: 19.98 kB / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.1505, allocations: 27.97 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.1505, allocations: 15.98 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1506, allocations: 4.062 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.1507, allocations: 73.67 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1508, allocations: 11.98 kB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1508, allocations: 0 / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1508, allocations: 3.938 kB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1509, allocations: 12.03 kB / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1509, allocations: 0 / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1509, allocations: 11.98 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1509, allocations: 0 / 0.591 GB, free: 14.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.151, allocations: 109.8 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.151, allocations: 4 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.1512, allocations: 80.78 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1513, allocations: 11.92 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1513, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1513, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1514, allocations: 157.6 kB / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1514, allocations: 0 / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.1515, allocations: 23.89 kB / 0.5913 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1515, allocations: 0 / 0.5913 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.1515, allocations: 0 / 0.5913 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1515, allocations: 4 kB / 0.5913 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1515, allocations: 0 / 0.5913 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1517, allocations: 179.4 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.1518, allocations: 81.05 kB / 0.5916 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.1518, allocations: 0 / 0.5916 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1519, allocations: 15.98 kB / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.1519, allocations: 0 / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1519, allocations: 32 / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.152, allocations: 91.44 kB / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.152, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002169/0.1522, allocations: 20 kB / 0.5917 GB, free: 14.07 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 (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.0001595/0.1523, allocations: 115.2 kB / 0.5918 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1526, allocations: 51.89 kB / 0.5919 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1526, allocations: 0 / 0.5919 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.1526, allocations: 19.98 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1528, allocations: 16.08 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.153, allocations: 104.7 kB / 0.592 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1532, allocations: 0.6848 MB / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.1532, allocations: 0 / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.1532, allocations: 7.438 kB / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1532, allocations: 0 / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002205/0.1555, allocations: 0.58 MB / 0.5932 GB, free: 12.44 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: