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.00152/0.00152, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001449/0.001449, allocations: 199 kB / 17.3 MB, free: 5.516 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8095/0.8095, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 80.18 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.0023/0.3674, allocations: 1.426 MB / 0.5829 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004451/0.3679, allocations: 254.2 kB / 0.5831 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.3679, allocations: 0 / 0.5831 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3679, allocations: 5.031 kB / 0.5831 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.368, allocations: 5.469 kB / 0.5831 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.3683, allocations: 58.94 kB / 0.5832 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.3684, allocations: 19.89 kB / 0.5832 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.3685, allocations: 3.844 kB / 0.5832 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.3685, allocations: 10.47 kB / 0.5832 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.3686, allocations: 18.61 kB / 0.5832 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.3686, allocations: 1.031 kB / 0.5832 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3687, allocations: 55.56 kB / 0.5833 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.3687, allocations: 9.359 kB / 0.5833 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.3687, allocations: 10.28 kB / 0.5833 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3689, allocations: 48.5 kB / 0.5834 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3689, allocations: 0 / 0.5834 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3689, allocations: 5.125 kB / 0.5834 GB, free: 26.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3689, allocations: 1.562 kB / 0.5834 GB, free: 26.05 MB / 446.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.0003487/0.3693, allocations: 347.1 kB / 0.5837 GB, free: 25.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3693, allocations: 9.875 kB / 0.5837 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.3693, allocations: 6.688 kB / 0.5837 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.3694, allocations: 169.3 kB / 0.5839 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3694, allocations: 1.469 kB / 0.5839 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3694, allocations: 1.594 kB / 0.5839 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3696, allocations: 49.73 kB / 0.5839 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3696, allocations: 5.359 kB / 0.5839 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3696, allocations: 5.219 kB / 0.5839 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3696, allocations: 0.8438 kB / 0.5839 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.3698, allocations: 35.2 kB / 0.584 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.37, allocations: 250.1 kB / 0.5842 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3702, allocations: 40.56 kB / 0.5842 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.3702, allocations: 23.7 kB / 0.5843 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.3708, allocations: 454 kB / 0.5847 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3708, allocations: 31.41 kB / 0.5847 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.3708, allocations: 0 / 0.5847 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003179/0.3711, allocations: 90.58 kB / 0.5848 GB, free: 24.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.3712, allocations: 52.72 kB / 0.5849 GB, free: 24.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.3712, allocations: 100.6 kB / 0.585 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3712, allocations: 25.7 kB / 0.585 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.3713, allocations: 89.06 kB / 0.5851 GB, free: 24.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.3713, allocations: 7 kB / 0.5851 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.3713, allocations: 11.06 kB / 0.5851 GB, free: 24.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.3714, allocations: 320.1 kB / 0.5854 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.3715, allocations: 13.95 kB / 0.5854 GB, free: 23.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.3715, allocations: 18.05 kB / 0.5854 GB, free: 23.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3717, allocations: 45.5 kB / 0.5855 GB, free: 23.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3717, allocations: 0.625 kB / 0.5855 GB, free: 23.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001669/0.3719, allocations: 69.86 kB / 0.5855 GB, free: 23.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3719, allocations: 4.906 kB / 0.5855 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3719, allocations: 1.156 kB / 0.5855 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3719, allocations: 2.219 kB / 0.5855 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.372, allocations: 10.58 kB / 0.5855 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.372, allocations: 0 / 0.5855 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.372, allocations: 8.047 kB / 0.5856 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.3721, allocations: 0 / 0.5856 GB, free: 23.75 MB / 446.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 4.595e-05/0.3721, allocations: 117.8 kB / 0.5857 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.3721, allocations: 5.375 kB / 0.5857 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.3723, allocations: 70.84 kB / 0.5857 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3723, allocations: 1.781 kB / 0.5857 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3724, allocations: 1.75 kB / 0.5857 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3724, allocations: 0 / 0.5857 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.3725, allocations: 162.8 kB / 0.5859 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3725, allocations: 0 / 0.5859 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.3726, allocations: 11.42 kB / 0.5859 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3726, allocations: 1.406 kB / 0.5859 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3726, allocations: 4 kB / 0.5859 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3726, allocations: 0 / 0.5859 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3726, allocations: 5.547 kB / 0.5859 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.3728, allocations: 164 kB / 0.5861 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.3728, allocations: 82.83 kB / 0.5862 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3728, allocations: 3.719 kB / 0.5862 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.3729, allocations: 10.55 kB / 0.5862 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3729, allocations: 1.125 kB / 0.5862 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3729, allocations: 1.156 kB / 0.5862 GB, free: 23.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.145e-05/0.373, allocations: 82.78 kB / 0.5862 GB, free: 23.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.373, allocations: 0.6562 kB / 0.5863 GB, free: 23.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3732, allocations: 17.94 kB / 0.5863 GB, free: 23.02 MB / 446.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.0001561/0.3734, allocations: 118 kB / 0.5864 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3736, allocations: 37.27 kB / 0.5864 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3736, allocations: 0.5625 kB / 0.5864 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.3737, allocations: 24.58 kB / 0.5864 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3739, allocations: 7.562 kB / 0.5864 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.3741, allocations: 110.4 kB / 0.5866 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.3742, allocations: 0.6803 MB / 0.5872 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.911e-05/0.3743, allocations: 5.656 kB / 0.5872 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.3743, allocations: 7.438 kB / 0.5872 GB, free: 22.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3743, allocations: 0 / 0.5872 GB, free: 22.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002604/0.3769, allocations: 0.6463 MB / 0.5879 GB, free: 21.77 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)