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.00496/0.00496, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001172/0.001172, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001173, allocations: 63.89 kB / 0.5814 GB, free: 7.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4612, allocations: 80.2 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002253/0.4635, allocations: 1.434 MB / 0.6611 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.4641, allocations: 246.6 kB / 0.6613 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.4641, allocations: 1.375 kB / 0.6613 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.4641, allocations: 4.547 kB / 0.6613 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.4642, allocations: 4 kB / 0.6613 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.4645, allocations: 54.94 kB / 0.6614 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.4646, allocations: 32.09 kB / 0.6614 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.4647, allocations: 3.922 kB / 0.6614 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.4648, allocations: 9.219 kB / 0.6614 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.4648, allocations: 13.19 kB / 0.6614 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.4648, allocations: 1.469 kB / 0.6614 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.465, allocations: 58.31 kB / 0.6615 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.465, allocations: 4.797 kB / 0.6615 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.465, allocations: 20 kB / 0.6615 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.4652, allocations: 48.27 kB / 0.6616 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4652, allocations: 0 / 0.6616 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4652, allocations: 1.312 kB / 0.6616 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4652, allocations: 0 / 0.6616 GB, free: 9.094 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.0003797/0.4656, allocations: 344.4 kB / 0.6619 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4656, allocations: 10.06 kB / 0.6619 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.4657, allocations: 2.5 kB / 0.6619 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.4658, allocations: 163.4 kB / 0.6621 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4658, allocations: 5.219 kB / 0.6621 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.4658, allocations: 1.875 kB / 0.6621 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.466, allocations: 56.88 kB / 0.6621 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.466, allocations: 192 / 0.6621 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.466, allocations: 4.641 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.466, allocations: 1.062 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.4662, allocations: 32.61 kB / 0.6622 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.4664, allocations: 258.2 kB / 0.6624 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.4666, allocations: 45.23 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.4666, allocations: 23.41 kB / 0.6625 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.4672, allocations: 457.8 kB / 0.6629 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.4672, allocations: 32.89 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4672, allocations: 0 / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/0.4676, allocations: 80 kB / 0.663 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.4676, allocations: 55.53 kB / 0.6631 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.4677, allocations: 98.2 kB / 0.6632 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.4677, allocations: 25.7 kB / 0.6632 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.4677, allocations: 86.16 kB / 0.6633 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.4677, allocations: 9.266 kB / 0.6633 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.4678, allocations: 11.97 kB / 0.6633 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.4678, allocations: 317.7 kB / 0.6636 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.4679, allocations: 22.2 kB / 0.6636 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.468, allocations: 18.25 kB / 0.6636 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4681, allocations: 37.19 kB / 0.6637 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4681, allocations: 0 / 0.6637 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001731/0.4683, allocations: 69.67 kB / 0.6637 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4683, allocations: 16.34 kB / 0.6637 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4683, allocations: 0 / 0.6637 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4684, allocations: 0 / 0.6637 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.4684, allocations: 10.48 kB / 0.6637 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4685, allocations: 0 / 0.6637 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.4685, allocations: 8.438 kB / 0.6638 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.4685, allocations: 0 / 0.6638 GB, free: 6.883 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.195e-05/0.4686, allocations: 115.4 kB / 0.6639 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4686, allocations: 9.641 kB / 0.6639 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.4688, allocations: 70.23 kB / 0.6639 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4688, allocations: 1.25 kB / 0.6639 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4688, allocations: 0 / 0.6639 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.4688, allocations: 0 / 0.6639 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.4689, allocations: 159 kB / 0.6641 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4689, allocations: 0 / 0.6641 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.469, allocations: 13.36 kB / 0.6641 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.469, allocations: 5.156 kB / 0.6641 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.469, allocations: 0 / 0.6641 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.469, allocations: 1.094 kB / 0.6641 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.469, allocations: 0 / 0.6641 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.4692, allocations: 167.2 kB / 0.6643 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.4692, allocations: 78.11 kB / 0.6643 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.4693, allocations: 4.031 kB / 0.6644 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.4693, allocations: 8.828 kB / 0.6644 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.4694, allocations: 9.406 kB / 0.6644 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4694, allocations: 0 / 0.6644 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.4694, allocations: 86.69 kB / 0.6645 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4694, allocations: 0 / 0.6645 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002355/0.4697, allocations: 17.22 kB / 0.6645 GB, free: 6.133 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.0001708/0.4698, allocations: 115.5 kB / 0.6646 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.47, allocations: 36.41 kB / 0.6646 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4701, allocations: 0 / 0.6646 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.4701, allocations: 19.61 kB / 0.6646 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4704, allocations: 16.89 kB / 0.6646 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.4706, allocations: 96.22 kB / 0.6647 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4707, allocations: 0.6811 MB / 0.6654 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.4707, allocations: 1.375 kB / 0.6654 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.4707, allocations: 12.69 kB / 0.6654 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4707, allocations: 0 / 0.6654 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.00259/0.4733, allocations: 0.6471 MB / 0.6661 GB, free: 4.852 MB / 0.4981 GB 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)