Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.004968/0.004968, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001223/0.001223, allocations: 201 kB / 16.68 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9878/0.9878, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4613, allocations: 80.91 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002346/0.4637, allocations: 1.424 MB / 0.666 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004894/0.4642, allocations: 247.1 kB / 0.6663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.4642, allocations: 1.594 kB / 0.6663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.4643, allocations: 3.938 kB / 0.6663 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.4643, allocations: 3.938 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.4647, allocations: 53.7 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.4648, allocations: 29 kB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.4649, allocations: 8.031 kB / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.4649, allocations: 10.67 kB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.465, allocations: 14.61 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.465, allocations: 2.719 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.4651, allocations: 59.55 kB / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.4651, allocations: 0 / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.4652, allocations: 17.38 kB / 0.6665 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.4653, allocations: 52.73 kB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4653, allocations: 0 / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4653, allocations: 0 / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4653, allocations: 3.938 kB / 0.6665 GB, free: 6.133 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003914/0.4657, allocations: 350.3 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4658, allocations: 9.062 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.4658, allocations: 2.312 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.4659, allocations: 161.5 kB / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.4659, allocations: 5.781 kB / 0.667 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.4659, allocations: 5.891 kB / 0.667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4661, allocations: 45.31 kB / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4661, allocations: 192 / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4661, allocations: 11.88 kB / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4661, allocations: 1.344 kB / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.4663, allocations: 34.23 kB / 0.6671 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.4666, allocations: 248.1 kB / 0.6674 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.4667, allocations: 51.59 kB / 0.6674 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.4668, allocations: 22.44 kB / 0.6674 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.4673, allocations: 455.1 kB / 0.6679 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.4673, allocations: 31.94 kB / 0.6679 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.4673, allocations: 4 kB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.4677, allocations: 81.73 kB / 0.668 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.4677, allocations: 55.34 kB / 0.668 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.4678, allocations: 99.17 kB / 0.6681 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.4678, allocations: 25.7 kB / 0.6681 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.4678, allocations: 81.2 kB / 0.6682 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.4678, allocations: 17.25 kB / 0.6682 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.4679, allocations: 15.84 kB / 0.6683 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.4679, allocations: 312.3 kB / 0.6686 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.468, allocations: 16.23 kB / 0.6686 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.4681, allocations: 18.19 kB / 0.6686 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.4682, allocations: 39.39 kB / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4682, allocations: 0 / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001706/0.4684, allocations: 72.03 kB / 0.6687 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4684, allocations: 5.969 kB / 0.6687 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4684, allocations: 0 / 0.6687 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4685, allocations: 0 / 0.6687 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.4685, allocations: 10.11 kB / 0.6687 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4686, allocations: 9.344 kB / 0.6687 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.4686, allocations: 6.5 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.4686, allocations: 1.25 kB / 0.6687 GB, free: 3.809 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 (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.842e-05/0.4687, allocations: 113.6 kB / 0.6688 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.4687, allocations: 5.266 kB / 0.6688 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.4689, allocations: 73.64 kB / 0.6689 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4689, allocations: 5.438 kB / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4689, allocations: 0 / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4689, allocations: 0 / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.469, allocations: 159.1 kB / 0.6691 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.469, allocations: 3.938 kB / 0.6691 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.4691, allocations: 10.61 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4691, allocations: 192 / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.4691, allocations: 4 kB / 0.6691 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4691, allocations: 0 / 0.6691 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4691, allocations: 1.438 kB / 0.6691 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.4693, allocations: 175.1 kB / 0.6692 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.4694, allocations: 77.11 kB / 0.6693 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.4694, allocations: 0.9375 kB / 0.6693 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.4695, allocations: 7.266 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.4695, allocations: 1.469 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4695, allocations: 1.125 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.4695, allocations: 87.02 kB / 0.6694 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4695, allocations: 0 / 0.6694 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000243/0.4698, allocations: 20.78 kB / 0.6694 GB, free: 3.059 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 (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.0001811/0.47, allocations: 117 kB / 0.6695 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4702, allocations: 37.12 kB / 0.6696 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4702, allocations: 0 / 0.6696 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.4703, allocations: 14.92 kB / 0.6696 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.4705, allocations: 16.95 kB / 0.6696 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.4708, allocations: 100.5 kB / 0.6697 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4709, allocations: 0.6809 MB / 0.6704 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.4709, allocations: 1.438 kB / 0.6704 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.4709, allocations: 8.656 kB / 0.6704 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.4709, allocations: 3.938 kB / 0.6704 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.002849/0.4738, allocations: 0.6532 MB / 0.671 GB, free: 1.77 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)