Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004926/0.004926, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001104/0.001105, allocations: 194.9 kB / 16.67 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.792/0.792, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 0.5814 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4986, allocations: 80.2 MB / 0.6597 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001512/0.5001, allocations: 0.577 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004442/0.5006, allocations: 201 kB / 0.6605 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.5006, allocations: 0 / 0.6605 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.5006, allocations: 3.938 kB / 0.6605 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.5007, allocations: 0 / 0.6605 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.501, allocations: 53.67 kB / 0.6605 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.5011, allocations: 2.047 kB / 0.6605 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.5011, allocations: 5.547 kB / 0.6605 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.083e-05/0.5011, allocations: 0 / 0.6605 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.5011, allocations: 5.859 kB / 0.6605 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.5012, allocations: 0 / 0.6605 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.5013, allocations: 61.39 kB / 0.6606 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.5013, allocations: 0 / 0.6606 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.5014, allocations: 1.438 kB / 0.6606 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.5015, allocations: 36.14 kB / 0.6606 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5015, allocations: 0 / 0.6606 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5015, allocations: 0 / 0.6606 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.5015, allocations: 1.438 kB / 0.6606 GB, free: 10.07 MB / 0.4981 GB 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.0002304/0.5017, allocations: 330.1 kB / 0.6609 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5018, allocations: 10.61 kB / 0.661 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.5018, allocations: 0.9375 kB / 0.661 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.798e-05/0.5019, allocations: 161.1 kB / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.5019, allocations: 1.344 kB / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.5019, allocations: 2.078 kB / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.502, allocations: 31.78 kB / 0.6611 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.502, allocations: 1.25 kB / 0.6611 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.502, allocations: 8.547 kB / 0.6612 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.502, allocations: 0 / 0.6612 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.502, allocations: 6.188 kB / 0.6612 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.185e-05/0.5021, allocations: 148.7 kB / 0.6613 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.955e-05/0.5022, allocations: 16.45 kB / 0.6613 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.5022, allocations: 6.531 kB / 0.6613 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.5028, allocations: 466.1 kB / 0.6618 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.5028, allocations: 32.42 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5028, allocations: 0 / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.503, allocations: 40.11 kB / 0.6618 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.503, allocations: 51.41 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.116e-05/0.503, allocations: 98.48 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.503, allocations: 26.95 kB / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-06/0.503, allocations: 80.14 kB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.5031, allocations: 11.89 kB / 0.6621 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.5031, allocations: 12.75 kB / 0.6621 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.5031, allocations: 311.5 kB / 0.6624 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-06/0.5032, allocations: 1.875 kB / 0.6624 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.5032, allocations: 1.281 kB / 0.6624 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.265e-05/0.5032, allocations: 13.16 kB / 0.6624 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5032, allocations: 0 / 0.6624 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.143e-05/0.5033, allocations: 39.48 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5033, allocations: 5.094 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5033, allocations: 1.766 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5033, allocations: 3.938 kB / 0.6625 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.5033, allocations: 1.984 kB / 0.6625 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5033, allocations: 1.219 kB / 0.6625 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-06/0.5034, allocations: 0 / 0.6625 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.5034, allocations: 5.969 kB / 0.6625 GB, free: 8 MB / 0.4981 GB 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 4.145e-05/0.5034, allocations: 106.9 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.5034, allocations: 0.7031 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.5035, allocations: 43.52 kB / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.5035, allocations: 0 / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5035, allocations: 1.734 kB / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5035, allocations: 0 / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.245e-05/0.5036, allocations: 148.1 kB / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5036, allocations: 4.734 kB / 0.6628 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.5036, allocations: 7.062 kB / 0.6628 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5036, allocations: 0.7969 kB / 0.6628 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.5036, allocations: 3.938 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5036, allocations: 3.938 kB / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5036, allocations: 1.594 kB / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.584e-05/0.5037, allocations: 57 kB / 0.6628 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.5037, allocations: 79.81 kB / 0.6629 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.5037, allocations: 7.969 kB / 0.6629 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.5037, allocations: 0.7969 kB / 0.6629 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.5037, allocations: 0 / 0.6629 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.5037, allocations: 5.938 kB / 0.6629 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.225e-05/0.5038, allocations: 79.92 kB / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5038, allocations: 0 / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001889/0.504, allocations: 10.81 kB / 0.663 GB, free: 7.383 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 (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.0001893/0.5042, allocations: 119.5 kB / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.5042, allocations: 4.797 kB / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5042, allocations: 0 / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.5043, allocations: 2.375 kB / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.5044, allocations: 1.828 kB / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001263/0.5045, allocations: 85.25 kB / 0.6632 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.181e-05/0.5046, allocations: 0.6757 MB / 0.6639 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.267e-06/0.5046, allocations: 0 / 0.6639 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.5046, allocations: 8.969 kB / 0.6639 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.5046, allocations: 0 / 0.6639 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.002206/0.5068, allocations: 413.9 kB / 0.6643 GB, free: 6.336 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)