Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008054/0.0008054, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.000827/0.000827, allocations: 168.7 kB / 15.95 MB, free: 204 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.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9458/0.9458, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 16.88 kB / 0.507 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 82.3 MB / 0.5874 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007917/0.1912, allocations: 303.1 kB / 0.5877 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004172/0.1916, allocations: 167.6 kB / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-06/0.1916, allocations: 0 / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.1917, allocations: 0 / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.004e-06/0.1917, allocations: 3.938 kB / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.192, allocations: 43.95 kB / 0.5879 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.256e-05/0.1921, allocations: 0 / 0.5879 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.1921, allocations: 4 kB / 0.5879 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.1922, allocations: 3.984 kB / 0.5879 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.1922, allocations: 11.94 kB / 0.5879 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-06/0.1922, allocations: 0 / 0.5879 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1924, allocations: 55.89 kB / 0.588 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-06/0.1924, allocations: 0 / 0.588 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.1924, allocations: 25.7 kB / 0.588 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.354e-05/0.1925, allocations: 23.95 kB / 0.588 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1925, allocations: 0 / 0.588 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1925, allocations: 4 kB / 0.588 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1925, allocations: 0 / 0.588 GB, free: 2.32 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.0003079/0.1928, allocations: 319.4 kB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1929, allocations: 12.03 kB / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.1929, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.193, allocations: 163 kB / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.193, allocations: 0 / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1931, allocations: 0 / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1932, allocations: 33.69 kB / 0.5885 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1932, allocations: 4 kB / 0.5885 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1932, allocations: 4 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1932, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.1932, allocations: 3.938 kB / 0.5885 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1934, allocations: 145.6 kB / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.1934, allocations: 22.59 kB / 0.5887 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.1935, allocations: 4.859 kB / 0.5887 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/0.1943, allocations: 461.5 kB / 0.5891 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1943, allocations: 30.56 kB / 0.5892 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1943, allocations: 0 / 0.5892 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.1945, allocations: 33.64 kB / 0.5892 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.1946, allocations: 63.47 kB / 0.5892 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4e-05/0.1947, allocations: 97.84 kB / 0.5893 GB, free: 0.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1947, allocations: 25.7 kB / 0.5894 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1947, allocations: 80.14 kB / 0.5894 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.1948, allocations: 3.906 kB / 0.5894 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1948, allocations: 0 / 0.5894 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1949, allocations: 310.8 kB / 0.5897 GB, free: 244 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-06/0.195, allocations: 0 / 0.5897 GB, free: 244 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.195, allocations: 4 kB / 0.5897 GB, free: 240 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/0.195, allocations: 4.062 kB / 0.5897 GB, free: 236 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.195, allocations: 0 / 0.5897 GB, free: 236 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.269e-05/0.1951, allocations: 37.59 kB / 0.5898 GB, free: 192 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1951, allocations: 8 kB / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1951, allocations: 3.984 kB / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1951, allocations: 0 / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.1951, allocations: 0 / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1952, allocations: 0 / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.1952, allocations: 11.94 kB / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.1952, allocations: 8.031 kB / 0.5898 GB, free: 160 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 (1): * Single equations (assignments): 1 * 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 8.094e-05/0.1953, allocations: 105.8 kB / 0.5899 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.1953, allocations: 3.953 kB / 0.5899 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1954, allocations: 40.81 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1954, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1954, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1954, allocations: 4 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1955, allocations: 145.6 kB / 0.5901 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1956, allocations: 0 / 0.5901 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.1956, allocations: 4.031 kB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1956, allocations: 3.953 kB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.1956, allocations: 4 kB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1956, allocations: 3.984 kB / 0.5901 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1956, allocations: 0 / 0.5901 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.1957, allocations: 50.86 kB / 0.5902 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.1958, allocations: 77.11 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1958, allocations: 15.98 kB / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.1958, allocations: 0 / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.1958, allocations: 3.984 kB / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1958, allocations: 0 / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.1959, allocations: 75.28 kB / 0.5903 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1959, allocations: 3.938 kB / 0.5903 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000224/0.1961, allocations: 16 kB / 0.5903 GB, free: 15.51 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 (1): * Single equations (assignments): 1 * 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.0002283/0.1963, allocations: 111.2 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.1964, allocations: 11.92 kB / 0.5905 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1964, allocations: 0 / 0.5905 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.1964, allocations: 4 kB / 0.5905 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1966, allocations: 4.719 kB / 0.5905 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.1968, allocations: 78.7 kB / 0.5905 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.197, allocations: 0.6772 MB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.356e-05/0.197, allocations: 4 kB / 0.5912 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.1971, allocations: 7.438 kB / 0.5912 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1971, allocations: 0 / 0.5912 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.002353/0.1994, allocations: 399.8 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)