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.001029/0.001029, allocations: 108 kB / 15.61 MB, free: 152 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.001323/0.001323, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.31 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3993, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001893/0.4012, allocations: 0.5781 MB / 0.5807 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.4017, allocations: 194.6 kB / 0.5808 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.322e-05/0.4017, allocations: 0.6875 kB / 0.5808 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.4017, allocations: 3.938 kB / 0.5809 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.4018, allocations: 4.562 kB / 0.5809 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.4022, allocations: 56.05 kB / 0.5809 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.4022, allocations: 6 kB / 0.5809 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.4023, allocations: 6.547 kB / 0.5809 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.4023, allocations: 0.5 kB / 0.5809 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.141e-05/0.4023, allocations: 1.125 kB / 0.5809 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.4023, allocations: 0 / 0.5809 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.4025, allocations: 57.75 kB / 0.581 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.4026, allocations: 4 kB / 0.581 GB, free: 4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.4026, allocations: 1.281 kB / 0.581 GB, free: 4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.4027, allocations: 35.31 kB / 0.581 GB, free: 3.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4027, allocations: 5.031 kB / 0.581 GB, free: 3.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4027, allocations: 0 / 0.581 GB, free: 3.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.4027, allocations: 0 / 0.581 GB, free: 3.984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002613/0.403, allocations: 322 kB / 0.5813 GB, free: 3.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4031, allocations: 9.625 kB / 0.5813 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.4031, allocations: 1.547 kB / 0.5813 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.526e-05/0.4032, allocations: 161.5 kB / 0.5815 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4032, allocations: 6.578 kB / 0.5815 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.4032, allocations: 384 / 0.5815 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.4033, allocations: 36.34 kB / 0.5815 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4033, allocations: 0.9062 kB / 0.5815 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4033, allocations: 3.938 kB / 0.5815 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4033, allocations: 0.6875 kB / 0.5815 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.4034, allocations: 2.047 kB / 0.5815 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.4035, allocations: 148.3 kB / 0.5817 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.4035, allocations: 17.31 kB / 0.5817 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.4035, allocations: 13.55 kB / 0.5817 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.4042, allocations: 458.4 kB / 0.5821 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4042, allocations: 36.2 kB / 0.5822 GB, free: 2.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4042, allocations: 0 / 0.5822 GB, free: 2.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000111/0.4043, allocations: 39.62 kB / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.4043, allocations: 52.06 kB / 0.5823 GB, free: 2.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.637e-05/0.4044, allocations: 91.27 kB / 0.5824 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.4044, allocations: 25.7 kB / 0.5824 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-06/0.4044, allocations: 81.45 kB / 0.5825 GB, free: 2.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.4044, allocations: 3.906 kB / 0.5825 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.4045, allocations: 11.8 kB / 0.5825 GB, free: 2.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.4045, allocations: 316.3 kB / 0.5828 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.4045, allocations: 9.5 kB / 0.5828 GB, free: 1.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.4045, allocations: 1.781 kB / 0.5828 GB, free: 1.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.4045, allocations: 8.188 kB / 0.5828 GB, free: 1.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4046, allocations: 3.938 kB / 0.5828 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.278e-05/0.4046, allocations: 32.25 kB / 0.5828 GB, free: 1.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4046, allocations: 5.312 kB / 0.5828 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4046, allocations: 0.6094 kB / 0.5828 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4046, allocations: 4.625 kB / 0.5828 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.4047, allocations: 6.219 kB / 0.5828 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4047, allocations: 4.969 kB / 0.5829 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.4047, allocations: 0 / 0.5829 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.4047, allocations: 1.438 kB / 0.5829 GB, free: 1.93 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 (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.01e-05/0.4048, allocations: 115.3 kB / 0.583 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.4048, allocations: 0.6562 kB / 0.583 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.4048, allocations: 39.53 kB / 0.583 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4048, allocations: 4.547 kB / 0.583 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4049, allocations: 1.25 kB / 0.583 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4049, allocations: 4.031 kB / 0.583 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.53e-05/0.4049, allocations: 144.7 kB / 0.5831 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4049, allocations: 0.7031 kB / 0.5831 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.4049, allocations: 2.188 kB / 0.5832 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4049, allocations: 0.75 kB / 0.5832 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.4049, allocations: 5.219 kB / 0.5832 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.405, allocations: 0 / 0.5832 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.405, allocations: 0 / 0.5832 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.841e-05/0.405, allocations: 68.97 kB / 0.5832 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.405, allocations: 79.22 kB / 0.5833 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.405, allocations: 4.719 kB / 0.5833 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.4051, allocations: 0 / 0.5833 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.4051, allocations: 1.688 kB / 0.5833 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.4051, allocations: 1.062 kB / 0.5833 GB, free: 1.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.065e-05/0.4051, allocations: 75.28 kB / 0.5834 GB, free: 1.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4051, allocations: 0 / 0.5834 GB, free: 1.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000198/0.4053, allocations: 19.94 kB / 0.5834 GB, free: 1.312 MB / 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 (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.0001824/0.4055, allocations: 119.2 kB / 0.5835 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.369e-05/0.4056, allocations: 4.516 kB / 0.5835 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4056, allocations: 0 / 0.5835 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.4056, allocations: 7.156 kB / 0.5835 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.4057, allocations: 5.219 kB / 0.5835 GB, free: 1.211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.4059, allocations: 88.98 kB / 0.5836 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.406, allocations: 0.6711 MB / 0.5843 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.12e-05/0.406, allocations: 0.9062 kB / 0.5843 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.406, allocations: 8.406 kB / 0.5843 GB, free: 420 kB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.406, allocations: 0 / 0.5843 GB, free: 420 kB / 430.1 MB Notification: Performance of Templates: time 0.002427/0.4085, allocations: 406.5 kB / 0.5847 GB, free: 356 kB / 430.1 MB 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)