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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.009433/0.009433, allocations: 100.6 kB / 15.73 MB, free: 5.988 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.002091/0.002091, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8453/0.8453, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.89 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1819, allocations: 80.2 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002858/0.1848, allocations: 1.434 MB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005654/0.1854, allocations: 256.3 kB / 0.6613 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.1855, allocations: 0 / 0.6613 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1855, allocations: 3.938 kB / 0.6613 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.1856, allocations: 0 / 0.6613 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1859, allocations: 51.83 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.186, allocations: 31.91 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1861, allocations: 4 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.1862, allocations: 15.92 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.1862, allocations: 8 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1862, allocations: 4 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1864, allocations: 55.88 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1864, allocations: 11.94 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.1864, allocations: 11.92 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1866, allocations: 43.92 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1866, allocations: 0 / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1866, allocations: 0 / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1866, allocations: 0 / 0.6616 GB, free: 11.52 MB / 0.4981 GB 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.0005037/0.1871, allocations: 349.6 kB / 0.6619 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1872, allocations: 12.03 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1872, allocations: 4.844 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1873, allocations: 160.4 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1874, allocations: 4.375 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1874, allocations: 4.312 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1876, allocations: 54.17 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1876, allocations: 4.188 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1877, allocations: 3.938 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1877, allocations: 0 / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.1878, allocations: 35.95 kB / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.1882, allocations: 248.9 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1883, allocations: 54.45 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.1884, allocations: 16.91 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/0.1891, allocations: 461.4 kB / 0.6629 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1891, allocations: 34.56 kB / 0.6629 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1891, allocations: 0 / 0.6629 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000364/0.1895, allocations: 81.64 kB / 0.663 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1895, allocations: 51.41 kB / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.1896, allocations: 93.86 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1896, allocations: 25.7 kB / 0.6632 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1897, allocations: 96.17 kB / 0.6633 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1897, allocations: 7.922 kB / 0.6633 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1898, allocations: 13.72 kB / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1899, allocations: 314.8 kB / 0.6636 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.19, allocations: 11.98 kB / 0.6636 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.1901, allocations: 19.97 kB / 0.6636 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1902, allocations: 40.89 kB / 0.6637 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1902, allocations: 0 / 0.6637 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.1904, allocations: 73.5 kB / 0.6637 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1905, allocations: 4 kB / 0.6637 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1905, allocations: 0 / 0.6637 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1905, allocations: 0 / 0.6637 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.1906, allocations: 11.94 kB / 0.6637 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1906, allocations: 8.016 kB / 0.6637 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1907, allocations: 8 kB / 0.6638 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1907, allocations: 0 / 0.6638 GB, free: 8.945 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.1907, allocations: 117.8 kB / 0.6639 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1908, allocations: 0 / 0.6639 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.191, allocations: 72.7 kB / 0.6639 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.191, allocations: 4.031 kB / 0.6639 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.191, allocations: 7.938 kB / 0.664 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.191, allocations: 0 / 0.664 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1912, allocations: 157.6 kB / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1912, allocations: 0 / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.1913, allocations: 7.984 kB / 0.6641 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1913, allocations: 0 / 0.6641 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1913, allocations: 4 kB / 0.6641 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1913, allocations: 3.938 kB / 0.6641 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1913, allocations: 0 / 0.6641 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1915, allocations: 167.5 kB / 0.6643 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1916, allocations: 81.02 kB / 0.6644 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1916, allocations: 0 / 0.6644 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1917, allocations: 7.984 kB / 0.6644 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1917, allocations: 0 / 0.6644 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1917, allocations: 8 kB / 0.6644 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.1918, allocations: 87.23 kB / 0.6645 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1918, allocations: 0 / 0.6645 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002378/0.192, allocations: 20 kB / 0.6645 GB, free: 8.109 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.0002033/0.1922, allocations: 111.2 kB / 0.6646 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.1925, allocations: 39.91 kB / 0.6646 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1925, allocations: 0 / 0.6646 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.1926, allocations: 19.98 kB / 0.6646 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.1928, allocations: 7.922 kB / 0.6646 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.1932, allocations: 105.5 kB / 0.6647 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1935, allocations: 0.6808 MB / 0.6654 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.1936, allocations: 0 / 0.6654 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.1936, allocations: 7.438 kB / 0.6654 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1936, allocations: 0 / 0.6654 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.002856/0.1965, allocations: 0.6573 MB / 0.6661 GB, free: 6.43 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (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)