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.007406/0.007406, allocations: 102 kB / 15.73 MB, free: 6.051 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.001459/0.001459, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7843/0.7843, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.81 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1812, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002451/0.1836, allocations: 1.426 MB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004927/0.1842, allocations: 248.4 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.1842, allocations: 0 / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.1842, allocations: 11.92 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.1843, allocations: 0 / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1846, allocations: 63.81 kB / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.1847, allocations: 15.94 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.73e-05/0.1848, allocations: 11.98 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.1848, allocations: 7.938 kB / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.1849, allocations: 11.92 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1849, allocations: 4 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.185, allocations: 67.81 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.185, allocations: 7.984 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1851, allocations: 11.94 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1852, allocations: 43.92 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1852, allocations: 0 / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1852, allocations: 0 / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1852, allocations: 0 / 0.6616 GB, free: 8.32 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.0004467/0.1857, allocations: 343.5 kB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1857, allocations: 8.031 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.1857, allocations: 8.781 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1859, allocations: 176.4 kB / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1859, allocations: 384 / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1859, allocations: 384 / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.186, allocations: 54.17 kB / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1861, allocations: 192 / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1861, allocations: 3.938 kB / 0.6621 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1861, allocations: 4 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1862, allocations: 35.95 kB / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.1865, allocations: 245 kB / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1867, allocations: 42.44 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.1868, allocations: 20.91 kB / 0.6625 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/0.1874, allocations: 457.5 kB / 0.6629 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1874, allocations: 34.56 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1874, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003226/0.1877, allocations: 85.64 kB / 0.663 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1878, allocations: 51.41 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.1879, allocations: 105.8 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1879, allocations: 25.7 kB / 0.6632 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.1879, allocations: 80.14 kB / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.1879, allocations: 7.844 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.188, allocations: 17.72 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1881, allocations: 310.8 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.1882, allocations: 20 kB / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.1882, allocations: 19.98 kB / 0.6636 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1884, allocations: 36.83 kB / 0.6636 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1884, allocations: 0 / 0.6636 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001672/0.1885, allocations: 69.66 kB / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1886, allocations: 8 kB / 0.6637 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1886, allocations: 0 / 0.6637 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1886, allocations: 0 / 0.6637 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.1887, allocations: 11.92 kB / 0.6637 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1887, allocations: 0 / 0.6637 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1887, allocations: 11.92 kB / 0.6637 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1887, allocations: 4 kB / 0.6637 GB, free: 5.75 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.392e-05/0.1888, allocations: 117.8 kB / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.1888, allocations: 3.938 kB / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.1891, allocations: 76.72 kB / 0.6639 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1891, allocations: 0 / 0.6639 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1891, allocations: 0 / 0.6639 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1891, allocations: 0 / 0.6639 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.1892, allocations: 161.6 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1892, allocations: 0 / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.1893, allocations: 12.03 kB / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1893, allocations: 4 kB / 0.6641 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1893, allocations: 0 / 0.6641 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.1893, allocations: 7.922 kB / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1894, allocations: 0 / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1896, allocations: 155.5 kB / 0.6643 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.1896, allocations: 89.03 kB / 0.6643 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1896, allocations: 8 kB / 0.6644 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.1897, allocations: 0 / 0.6644 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1897, allocations: 7.984 kB / 0.6644 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1898, allocations: 0 / 0.6644 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.1898, allocations: 79.28 kB / 0.6644 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1898, allocations: 0 / 0.6644 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.19, allocations: 16 kB / 0.6645 GB, free: 4.922 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.0001687/0.1902, allocations: 119.2 kB / 0.6646 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1904, allocations: 35.91 kB / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1904, allocations: 0 / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.1905, allocations: 24.03 kB / 0.6646 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1908, allocations: 11.94 kB / 0.6646 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.191, allocations: 105.5 kB / 0.6647 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1913, allocations: 0.6768 MB / 0.6654 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.1913, allocations: 0 / 0.6654 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.1913, allocations: 11.44 kB / 0.6654 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1913, allocations: 0 / 0.6654 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.002803/0.1941, allocations: 0.66 MB / 0.6661 GB, free: 3.227 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)