Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000824/0.0008241, 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.0008621/0.0008621, allocations: 177.3 kB / 15.94 MB, free: 228 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.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8583/0.8583, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 8 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1404, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001323/0.1418, allocations: 1.132 MB / 0.5883 GB, free: 2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.1422, allocations: 236.2 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.1422, allocations: 4 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.016e-05/0.1423, allocations: 0 / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.1423, allocations: 3.984 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1425, allocations: 39.84 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.1426, allocations: 19.97 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.1427, allocations: 4 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.1427, allocations: 4 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.1427, allocations: 19.91 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-06/0.1427, allocations: 0 / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1429, allocations: 51.95 kB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.1429, allocations: 11.92 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.1429, allocations: 29.7 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.501e-05/0.143, allocations: 31.94 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.143, allocations: 0 / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.143, allocations: 7.938 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.143, allocations: 0 / 0.5887 GB, free: 1.539 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.0003539/0.1434, allocations: 347.5 kB / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1434, allocations: 12.03 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.1434, allocations: 0 / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.1435, allocations: 171 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1436, allocations: 4 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/0.1436, allocations: 0 / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1437, allocations: 57.67 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1438, allocations: 0 / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1438, allocations: 7.875 kB / 0.5893 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1438, allocations: 0 / 0.5893 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1439, allocations: 43.97 kB / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.1442, allocations: 248.9 kB / 0.5896 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1443, allocations: 42.56 kB / 0.5896 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.1449, allocations: 453.5 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1449, allocations: 42.5 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1449, allocations: 0 / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003281/0.1453, allocations: 97.55 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1453, allocations: 51.41 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.755e-05/0.1454, allocations: 97.86 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1454, allocations: 29.7 kB / 0.5904 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.1454, allocations: 84.27 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1455, allocations: 11.89 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.1455, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1456, allocations: 314.8 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.1457, allocations: 23.98 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.1457, allocations: 19.98 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.1458, allocations: 31.91 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1458, allocations: 0 / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.146, allocations: 73.73 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.146, allocations: 4 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.146, allocations: 4 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1461, allocations: 0 / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.1461, allocations: 11.98 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1461, allocations: 0 / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.1462, allocations: 12.02 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1462, allocations: 4 kB / 0.5909 GB, free: 14.98 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.479e-05/0.1463, allocations: 109.8 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1463, allocations: 0 / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1465, allocations: 88.91 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1465, allocations: 3.984 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1465, allocations: 3.938 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1465, allocations: 4 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.1467, allocations: 161.6 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1467, allocations: 4 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.1467, allocations: 15.92 kB / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1468, allocations: 0 / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1468, allocations: 0 / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1468, allocations: 4.031 kB / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1468, allocations: 3.984 kB / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.147, allocations: 187.3 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.147, allocations: 81.05 kB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.1471, allocations: 0 / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1471, allocations: 11.98 kB / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1472, allocations: 0 / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1472, allocations: 0 / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.1472, allocations: 83.28 kB / 0.5917 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1472, allocations: 0 / 0.5917 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002172/0.1474, allocations: 15.98 kB / 0.5917 GB, free: 14.12 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.0001653/0.1476, allocations: 119.3 kB / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1478, allocations: 51.95 kB / 0.5918 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1478, allocations: 0 / 0.5918 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.1479, allocations: 27.92 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.148, allocations: 3.953 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.1483, allocations: 112.8 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1485, allocations: 0.677 MB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.1485, allocations: 4 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1485, allocations: 7.438 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1485, allocations: 0 / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.00222/0.1507, allocations: 0.5619 MB / 0.5932 GB, free: 12.5 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: