Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001452/0.001452, allocations: 100.1 kB / 15.88 MB, free: 12 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.001684/0.001684, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8955/0.8955, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 69.05 kB / 0.5053 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1356, allocations: 80.92 MB / 0.5843 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002436/0.138, allocations: 1.477 MB / 0.5858 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005274/0.1386, allocations: 272 kB / 0.586 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.1386, allocations: 0 / 0.586 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.1387, allocations: 3.938 kB / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.1387, allocations: 0 / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.139, allocations: 47.91 kB / 0.5861 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.139, allocations: 23.92 kB / 0.5861 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.1391, allocations: 4 kB / 0.5861 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.1392, allocations: 19.91 kB / 0.5861 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.1392, allocations: 4 kB / 0.5861 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.1392, allocations: 0 / 0.5861 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1394, allocations: 67.88 kB / 0.5862 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.1394, allocations: 0 / 0.5862 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.1394, allocations: 11.92 kB / 0.5862 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.263e-05/0.1395, allocations: 39.94 kB / 0.5863 GB, free: 3.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1395, allocations: 0 / 0.5863 GB, free: 3.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1395, allocations: 4 kB / 0.5863 GB, free: 3.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1396, allocations: 0 / 0.5863 GB, free: 3.059 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.00043/0.14, allocations: 343.7 kB / 0.5866 GB, free: 2.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.14, allocations: 8.031 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.1401, allocations: 4.875 kB / 0.5866 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1402, allocations: 168.4 kB / 0.5868 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1402, allocations: 384 / 0.5868 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1402, allocations: 8.375 kB / 0.5868 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1404, allocations: 54.17 kB / 0.5868 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.1404, allocations: 192 / 0.5868 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1404, allocations: 3.938 kB / 0.5868 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1404, allocations: 0 / 0.5868 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1406, allocations: 31.97 kB / 0.5869 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.1409, allocations: 256.9 kB / 0.5871 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.141, allocations: 38.5 kB / 0.5871 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.1411, allocations: 20.91 kB / 0.5872 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006863/0.1418, allocations: 469.4 kB / 0.5876 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1419, allocations: 30.56 kB / 0.5876 GB, free: 1.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.1419, allocations: 3.984 kB / 0.5876 GB, free: 1.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003356/0.1422, allocations: 81.64 kB / 0.5877 GB, free: 1.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1422, allocations: 55.53 kB / 0.5878 GB, free: 1.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.1423, allocations: 97.84 kB / 0.5879 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1423, allocations: 25.7 kB / 0.5879 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.1424, allocations: 88.14 kB / 0.588 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1424, allocations: 3.906 kB / 0.588 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1424, allocations: 9.719 kB / 0.588 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.1425, allocations: 322.8 kB / 0.5883 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.1426, allocations: 23.86 kB / 0.5883 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.1427, allocations: 15.98 kB / 0.5883 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1429, allocations: 36.83 kB / 0.5884 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1429, allocations: 0 / 0.5884 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.1431, allocations: 69.69 kB / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1431, allocations: 8 kB / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1431, allocations: 0 / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1431, allocations: 0 / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.1432, allocations: 11.98 kB / 0.5885 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1432, allocations: 0 / 0.5885 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1433, allocations: 7.984 kB / 0.5885 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1433, allocations: 0 / 0.5885 GB, free: 500 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 (2): * Single equations (assignments): 2 * 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.618e-05/0.1434, allocations: 117.7 kB / 0.5886 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1434, allocations: 11.94 kB / 0.5886 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1436, allocations: 64.78 kB / 0.5886 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1436, allocations: 0 / 0.5886 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1436, allocations: 0 / 0.5886 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1436, allocations: 4 kB / 0.5886 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1438, allocations: 165.5 kB / 0.5888 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1438, allocations: 0 / 0.5888 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.1439, allocations: 7.984 kB / 0.5888 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1439, allocations: 4.031 kB / 0.5888 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1439, allocations: 4 kB / 0.5888 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1439, allocations: 0 / 0.5888 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1439, allocations: 4 kB / 0.5888 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1442, allocations: 167.4 kB / 0.589 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1442, allocations: 81.05 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1442, allocations: 4.031 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1443, allocations: 7.984 kB / 0.5891 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1443, allocations: 0 / 0.5891 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1444, allocations: 8 kB / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.1444, allocations: 75.28 kB / 0.5892 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1444, allocations: 0 / 0.5892 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.1446, allocations: 16 kB / 0.5892 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 (2): * Single equations (assignments): 2 * 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.000197/0.1448, allocations: 123.2 kB / 0.5893 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1451, allocations: 39.89 kB / 0.5893 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1451, allocations: 0 / 0.5893 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.1452, allocations: 19.98 kB / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1454, allocations: 15.77 kB / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.1456, allocations: 134 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1459, allocations: 0.6809 MB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.1459, allocations: 11.44 kB / 0.5902 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1459, allocations: 0 / 0.5902 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.001994/0.1479, allocations: 0.7655 MB / 0.5909 GB, free: 13.81 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)