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.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 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.002064/0.002064, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7395/0.7395, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.03 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.469, allocations: 80.21 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.00292/0.472, allocations: 1.424 MB / 0.5815 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000643/0.4727, allocations: 252.8 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.4727, allocations: 1.344 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.4727, allocations: 0.75 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.4728, allocations: 9.562 kB / 0.5817 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.4732, allocations: 57.53 kB / 0.5818 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.4733, allocations: 18.86 kB / 0.5818 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.4734, allocations: 4.375 kB / 0.5818 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.4735, allocations: 8.891 kB / 0.5818 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.4735, allocations: 13.44 kB / 0.5818 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.4735, allocations: 6.906 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.4737, allocations: 53.09 kB / 0.5819 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.4737, allocations: 5.312 kB / 0.5819 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.4738, allocations: 19.55 kB / 0.5819 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.4739, allocations: 48.55 kB / 0.582 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.474, allocations: 0.9688 kB / 0.582 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.474, allocations: 0 / 0.582 GB, free: 3.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.474, allocations: 0 / 0.582 GB, free: 3.266 MB / 430.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.000423/0.4744, allocations: 343 kB / 0.5823 GB, free: 2.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4744, allocations: 12.97 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.4745, allocations: 2.688 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.4746, allocations: 170.9 kB / 0.5825 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4746, allocations: 5.312 kB / 0.5825 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.4746, allocations: 1.531 kB / 0.5825 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4748, allocations: 49.62 kB / 0.5825 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.4748, allocations: 192 / 0.5825 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4748, allocations: 4.969 kB / 0.5825 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4748, allocations: 0 / 0.5825 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.475, allocations: 33.14 kB / 0.5826 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.4753, allocations: 266.1 kB / 0.5828 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4755, allocations: 41.09 kB / 0.5828 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.4756, allocations: 19.58 kB / 0.5829 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006135/0.4762, allocations: 461.4 kB / 0.5833 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4762, allocations: 32.5 kB / 0.5833 GB, free: 1.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4762, allocations: 0 / 0.5833 GB, free: 1.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.4766, allocations: 84.7 kB / 0.5834 GB, free: 1.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4766, allocations: 55.53 kB / 0.5835 GB, free: 1.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.4767, allocations: 97.64 kB / 0.5836 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.4767, allocations: 29.64 kB / 0.5836 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.4767, allocations: 90.44 kB / 0.5837 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.4768, allocations: 5.25 kB / 0.5837 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.4768, allocations: 13.28 kB / 0.5837 GB, free: 1.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.4768, allocations: 316.6 kB / 0.584 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.4769, allocations: 17.25 kB / 0.584 GB, free: 1.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.477, allocations: 20.16 kB / 0.584 GB, free: 1.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4772, allocations: 35.42 kB / 0.5841 GB, free: 1.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4772, allocations: 1.531 kB / 0.5841 GB, free: 1.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.4774, allocations: 74.23 kB / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4774, allocations: 5.344 kB / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4774, allocations: 0.9062 kB / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4774, allocations: 0 / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.4775, allocations: 9.625 kB / 0.5842 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4775, allocations: 0 / 0.5842 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.4776, allocations: 6.734 kB / 0.5842 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.4776, allocations: 1.344 kB / 0.5842 GB, free: 1.066 MB / 430.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 5.469e-05/0.4777, allocations: 115.5 kB / 0.5843 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.4777, allocations: 9.75 kB / 0.5843 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.4779, allocations: 70.77 kB / 0.5843 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4779, allocations: 0.7188 kB / 0.5843 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4779, allocations: 1.875 kB / 0.5844 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4779, allocations: 0 / 0.5844 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.4781, allocations: 159.5 kB / 0.5845 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4781, allocations: 0.75 kB / 0.5845 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.4781, allocations: 12.33 kB / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4781, allocations: 0.6562 kB / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4781, allocations: 1.469 kB / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4782, allocations: 1.219 kB / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4782, allocations: 0 / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.4784, allocations: 162.7 kB / 0.5847 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.4784, allocations: 86.95 kB / 0.5848 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4784, allocations: 0.8438 kB / 0.5848 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.4785, allocations: 9.844 kB / 0.5848 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.4785, allocations: 6.766 kB / 0.5848 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4785, allocations: 1.531 kB / 0.5848 GB, free: 456 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.4786, allocations: 82.7 kB / 0.5849 GB, free: 376 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4786, allocations: 5.25 kB / 0.5849 GB, free: 372 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.4788, allocations: 14.3 kB / 0.5849 GB, free: 372 kB / 430.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.0001969/0.479, allocations: 116.4 kB / 0.585 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4792, allocations: 36.22 kB / 0.585 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4792, allocations: 0 / 0.585 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.4793, allocations: 27.88 kB / 0.585 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4796, allocations: 6.656 kB / 0.5851 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.4798, allocations: 111.7 kB / 0.5852 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4801, allocations: 0.6759 MB / 0.5858 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.081e-05/0.4801, allocations: 0.9688 kB / 0.5858 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.4801, allocations: 8.438 kB / 0.5858 GB, free: 15.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4801, allocations: 0 / 0.5858 GB, free: 15.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002949/0.4831, allocations: 0.6572 MB / 0.5865 GB, free: 15.36 MB / 446.1 MB 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)