Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001178/0.001178, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9562/0.9562, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.34 kB / 0.5049 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.185, allocations: 80.93 MB / 0.5839 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.002198/0.1873, allocations: 0.6349 MB / 0.5845 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005098/0.1878, allocations: 203.3 kB / 0.5847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-06/0.1878, allocations: 0 / 0.5847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1879, allocations: 4 kB / 0.5847 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.1879, allocations: 0 / 0.5847 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1883, allocations: 47.91 kB / 0.5848 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.1884, allocations: 0 / 0.5848 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1884, allocations: 4 kB / 0.5848 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.1885, allocations: 4 kB / 0.5848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.1885, allocations: 3.984 kB / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.1885, allocations: 0 / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1887, allocations: 63.88 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.1887, allocations: 0 / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.1887, allocations: 0 / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1889, allocations: 39.94 kB / 0.5849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1889, allocations: 0 / 0.5849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1889, allocations: 3.938 kB / 0.5849 GB, free: 3.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1889, allocations: 0 / 0.5849 GB, free: 3.828 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003355/0.1892, allocations: 323.6 kB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1893, allocations: 15.97 kB / 0.5852 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.1893, allocations: 0.9375 kB / 0.5852 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1894, allocations: 166 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1895, allocations: 384 / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1895, allocations: 4.375 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.1896, allocations: 34.25 kB / 0.5854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1896, allocations: 192 / 0.5854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1896, allocations: 3.938 kB / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1896, allocations: 0 / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.1896, allocations: 0 / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1898, allocations: 145.7 kB / 0.5855 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.1898, allocations: 22.55 kB / 0.5856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.1899, allocations: 8.859 kB / 0.5856 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/0.1907, allocations: 457.5 kB / 0.586 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1908, allocations: 34.56 kB / 0.586 GB, free: 2.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.1908, allocations: 0 / 0.586 GB, free: 2.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.1909, allocations: 41.62 kB / 0.5861 GB, free: 2.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1909, allocations: 51.41 kB / 0.5861 GB, free: 2.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.191, allocations: 93.8 kB / 0.5862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.191, allocations: 25.7 kB / 0.5862 GB, free: 2.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.191, allocations: 80.14 kB / 0.5863 GB, free: 2.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1911, allocations: 11.91 kB / 0.5863 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.1911, allocations: 9.719 kB / 0.5863 GB, free: 2.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1912, allocations: 315 kB / 0.5866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1912, allocations: 0 / 0.5866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-06/0.1913, allocations: 4 kB / 0.5866 GB, free: 1.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.1913, allocations: 4.859 kB / 0.5866 GB, free: 1.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1913, allocations: 0 / 0.5866 GB, free: 1.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.716e-05/0.1914, allocations: 41.69 kB / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1914, allocations: 4 kB / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1914, allocations: 0 / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1914, allocations: 7.922 kB / 0.5867 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.1915, allocations: 12.03 kB / 0.5867 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1915, allocations: 0 / 0.5867 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-06/0.1915, allocations: 0 / 0.5867 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1915, allocations: 0 / 0.5867 GB, free: 1.633 MB / 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 (1): * Single equations (assignments): 1 * 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.473e-05/0.1916, allocations: 109.8 kB / 0.5868 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.1916, allocations: 3.984 kB / 0.5868 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.189e-05/0.1917, allocations: 44.77 kB / 0.5869 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1917, allocations: 3.938 kB / 0.5869 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1917, allocations: 4.031 kB / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1917, allocations: 0 / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.925e-05/0.1918, allocations: 149.7 kB / 0.587 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1918, allocations: 0 / 0.587 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.1918, allocations: 4 kB / 0.587 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1918, allocations: 0 / 0.587 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1919, allocations: 3.938 kB / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1919, allocations: 3.938 kB / 0.587 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1919, allocations: 0 / 0.587 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.917e-05/0.1919, allocations: 65.12 kB / 0.5871 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.192, allocations: 77.11 kB / 0.5872 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.192, allocations: 3.938 kB / 0.5872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.192, allocations: 0 / 0.5872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.192, allocations: 0 / 0.5872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.192, allocations: 0 / 0.5872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.58e-05/0.1921, allocations: 75.28 kB / 0.5872 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1921, allocations: 0 / 0.5872 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1923, allocations: 12 kB / 0.5872 GB, free: 0.9805 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0002254/0.1925, allocations: 123.3 kB / 0.5874 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.1926, allocations: 7.938 kB / 0.5874 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1926, allocations: 0 / 0.5874 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-06/0.1926, allocations: 0 / 0.5874 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1928, allocations: 6.312 kB / 0.5874 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.193, allocations: 84.92 kB / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1933, allocations: 0.669 MB / 0.5881 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.1933, allocations: 0 / 0.5881 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.1933, allocations: 7.438 kB / 0.5881 GB, free: 24 kB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1933, allocations: 4 kB / 0.5881 GB, free: 20 kB / 494.1 MB Notification: Performance of Templates: time 0.002424/0.1957, allocations: 411.3 kB / 0.5885 GB, free: 15.62 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)