Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, 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.00187/0.00187, allocations: 195.8 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 65.12 kB / 0.5013 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1938, allocations: 80.21 MB / 0.5796 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002834/0.1967, allocations: 1.485 MB / 0.5811 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005796/0.1973, allocations: 260 kB / 0.5813 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.1974, allocations: 4 kB / 0.5813 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.1974, allocations: 4 kB / 0.5813 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.1975, allocations: 3.938 kB / 0.5813 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1979, allocations: 51.89 kB / 0.5814 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.1979, allocations: 16 kB / 0.5814 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1981, allocations: 11.97 kB / 0.5814 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.1981, allocations: 7.938 kB / 0.5814 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.1982, allocations: 11.98 kB / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1982, allocations: 4 kB / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1983, allocations: 63.88 kB / 0.5815 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1984, allocations: 11.94 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1984, allocations: 7.984 kB / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1986, allocations: 59.8 kB / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1986, allocations: 0 / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1986, allocations: 0 / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1986, allocations: 0 / 0.5815 GB, free: 7.121 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005201/0.1991, allocations: 347.7 kB / 0.5819 GB, free: 6.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1992, allocations: 11.97 kB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1992, allocations: 0.9375 kB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1994, allocations: 172.3 kB / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1994, allocations: 384 / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1994, allocations: 384 / 0.5821 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1996, allocations: 54.22 kB / 0.5821 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1996, allocations: 4.125 kB / 0.5821 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1997, allocations: 3.938 kB / 0.5821 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1997, allocations: 0 / 0.5821 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1998, allocations: 35.95 kB / 0.5822 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.2002, allocations: 249 kB / 0.5824 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.2004, allocations: 42.48 kB / 0.5824 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.2005, allocations: 24.84 kB / 0.5825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/0.2013, allocations: 461.5 kB / 0.5829 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2013, allocations: 38.5 kB / 0.5829 GB, free: 5.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2013, allocations: 0 / 0.5829 GB, free: 5.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.2017, allocations: 81.64 kB / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2017, allocations: 51.41 kB / 0.5831 GB, free: 5.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.2018, allocations: 97.86 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2018, allocations: 25.7 kB / 0.5832 GB, free: 5.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.2019, allocations: 88.12 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2019, allocations: 7.906 kB / 0.5833 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.202, allocations: 9.719 kB / 0.5833 GB, free: 5.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2021, allocations: 319 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.2021, allocations: 15.98 kB / 0.5836 GB, free: 4.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.2022, allocations: 19.91 kB / 0.5836 GB, free: 4.695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2024, allocations: 36.83 kB / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2024, allocations: 0 / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.2026, allocations: 77.66 kB / 0.5837 GB, free: 4.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2026, allocations: 4 kB / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2026, allocations: 0 / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2026, allocations: 0 / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.2027, allocations: 11.98 kB / 0.5837 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.2027, allocations: 4 kB / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.2028, allocations: 4 kB / 0.5837 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2028, allocations: 0 / 0.5837 GB, free: 4.551 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 (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 6.673e-05/0.2028, allocations: 117.8 kB / 0.5839 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.2029, allocations: 11.89 kB / 0.5839 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.2031, allocations: 68.78 kB / 0.5839 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2031, allocations: 0 / 0.5839 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2031, allocations: 0 / 0.5839 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2031, allocations: 4 kB / 0.5839 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2033, allocations: 161.5 kB / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2033, allocations: 4.031 kB / 0.5841 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.2034, allocations: 7.984 kB / 0.5841 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2034, allocations: 0 / 0.5841 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2034, allocations: 0 / 0.5841 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2034, allocations: 4 kB / 0.5841 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2034, allocations: 3.938 kB / 0.5841 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.2037, allocations: 171.4 kB / 0.5843 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.2037, allocations: 81.05 kB / 0.5844 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2037, allocations: 0 / 0.5844 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.2038, allocations: 7.984 kB / 0.5844 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.2039, allocations: 0 / 0.5844 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2039, allocations: 0 / 0.5844 GB, free: 3.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.2039, allocations: 91.44 kB / 0.5844 GB, free: 3.727 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2039, allocations: 0 / 0.5844 GB, free: 3.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.2042, allocations: 20 kB / 0.5845 GB, free: 3.707 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 (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.0002423/0.2044, allocations: 119.3 kB / 0.5846 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.2047, allocations: 35.91 kB / 0.5846 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2047, allocations: 0 / 0.5846 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.2048, allocations: 28.03 kB / 0.5846 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.205, allocations: 6.469 kB / 0.5846 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.2053, allocations: 109.4 kB / 0.5848 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2055, allocations: 0.6729 MB / 0.5854 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.2056, allocations: 0 / 0.5854 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.2056, allocations: 11.5 kB / 0.5854 GB, free: 2.672 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2056, allocations: 4 kB / 0.5854 GB, free: 2.668 MB / 494.1 MB Notification: Performance of Templates: time 0.002878/0.2085, allocations: 0.6002 MB / 0.586 GB, free: 2.074 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)