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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 128 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.001351/0.001351, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9301/0.9301, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.44 kB / 0.5054 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1891, allocations: 80.92 MB / 0.5844 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002391/0.1915, allocations: 0.5692 MB / 0.5849 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005193/0.1921, allocations: 187.4 kB / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.1921, allocations: 0 / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.1922, allocations: 7.938 kB / 0.5851 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.1922, allocations: 3.938 kB / 0.5851 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.1927, allocations: 51.88 kB / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.1928, allocations: 4 kB / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.702e-05/0.1929, allocations: 0 / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.1929, allocations: 3.938 kB / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.193, allocations: 0 / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.193, allocations: 0 / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.1932, allocations: 55.95 kB / 0.5852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.1932, allocations: 3.984 kB / 0.5852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1933, allocations: 7.984 kB / 0.5852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1934, allocations: 23.97 kB / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1935, allocations: 0 / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1935, allocations: 0 / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1935, allocations: 0 / 0.5853 GB, free: 3.594 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.0003561/0.1938, allocations: 331.5 kB / 0.5856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1939, allocations: 8.031 kB / 0.5856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1939, allocations: 4.938 kB / 0.5856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.194, allocations: 160.4 kB / 0.5858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1941, allocations: 384 / 0.5858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1941, allocations: 12.31 kB / 0.5858 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1942, allocations: 30.25 kB / 0.5858 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1942, allocations: 192 / 0.5858 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1942, allocations: 3.938 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.1942, allocations: 0 / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.1943, allocations: 4 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1945, allocations: 145.7 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.101e-05/0.1945, allocations: 18.52 kB / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.1945, allocations: 12.95 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008023/0.1953, allocations: 453.5 kB / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1954, allocations: 30.56 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1954, allocations: 0 / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.1956, allocations: 45.58 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1956, allocations: 55.39 kB / 0.5865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.53e-05/0.1956, allocations: 89.86 kB / 0.5866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1957, allocations: 25.7 kB / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.1957, allocations: 80.14 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1957, allocations: 3.906 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1958, allocations: 17.72 kB / 0.5867 GB, free: 1.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1959, allocations: 311 kB / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.1959, allocations: 7.938 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.1959, allocations: 0 / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.196, allocations: 8.859 kB / 0.587 GB, free: 1.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.196, allocations: 0 / 0.587 GB, free: 1.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.073e-05/0.196, allocations: 37.62 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1961, allocations: 8 kB / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1961, allocations: 0 / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1961, allocations: 3.938 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.1962, allocations: 4.094 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1962, allocations: 0 / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.1962, allocations: 4 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1962, allocations: 4 kB / 0.5871 GB, free: 1.395 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 7.554e-05/0.1963, allocations: 105.8 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.1963, allocations: 0 / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.1964, allocations: 40.75 kB / 0.5872 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1964, allocations: 0 / 0.5872 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1964, allocations: 7.969 kB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1964, allocations: 4 kB / 0.5873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.926e-05/0.1965, allocations: 145.7 kB / 0.5874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1965, allocations: 3.984 kB / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.1966, allocations: 3.938 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1966, allocations: 0 / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1966, allocations: 11.94 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1966, allocations: 0 / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1966, allocations: 0 / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.795e-05/0.1967, allocations: 53.14 kB / 0.5875 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1967, allocations: 81.09 kB / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1967, allocations: 7.938 kB / 0.5876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.1968, allocations: 0 / 0.5876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1968, allocations: 4 kB / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.1968, allocations: 0 / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.1968, allocations: 75.28 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1968, allocations: 0 / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.197, allocations: 12 kB / 0.5876 GB, free: 0.7461 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.0002403/0.1973, allocations: 127.2 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.1974, allocations: 7.938 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1974, allocations: 0 / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/0.1974, allocations: 4 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1975, allocations: 4.125 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.1977, allocations: 80.94 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.198, allocations: 0.6768 MB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.066e-05/0.198, allocations: 3.938 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.198, allocations: 7.438 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.198, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.002445/0.2005, allocations: 398.5 kB / 0.5889 GB, free: 15.39 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)