Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008794/0.008794, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.00218/0.002181, allocations: 187 kB / 16.67 MB, free: 5.883 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7863/0.7863, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.16 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001751/0.16, allocations: 0.5786 MB / 0.6603 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000475/0.1605, allocations: 198.1 kB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.399e-05/0.1606, allocations: 0 / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1606, allocations: 4 kB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.1606, allocations: 4 kB / 0.6605 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.161, allocations: 47.84 kB / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.995e-05/0.1611, allocations: 0 / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1611, allocations: 0 / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.1612, allocations: 7.984 kB / 0.6605 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.1612, allocations: 0 / 0.6605 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.752e-06/0.1612, allocations: 0 / 0.6605 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1614, allocations: 55.94 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.1614, allocations: 3.938 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1614, allocations: 4 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1615, allocations: 47.81 kB / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1616, allocations: 0 / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1616, allocations: 0 / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1616, allocations: 0 / 0.6606 GB, free: 12.56 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.0003076/0.1619, allocations: 315.6 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1619, allocations: 12.03 kB / 0.6609 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.162, allocations: 0.9375 kB / 0.6609 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.1621, allocations: 160.4 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1621, allocations: 384 / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.1621, allocations: 384 / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.1622, allocations: 34.27 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1622, allocations: 192 / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1622, allocations: 3.938 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1622, allocations: 0 / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.1623, allocations: 7.938 kB / 0.6611 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.1624, allocations: 145.7 kB / 0.6613 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.186e-05/0.1625, allocations: 22.59 kB / 0.6613 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.1625, allocations: 8.859 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.1633, allocations: 461.5 kB / 0.6618 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1633, allocations: 30.56 kB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1633, allocations: 0 / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.1635, allocations: 41.58 kB / 0.6618 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1635, allocations: 51.41 kB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.1636, allocations: 93.86 kB / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1636, allocations: 29.7 kB / 0.662 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.1636, allocations: 80.14 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1636, allocations: 0 / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.1637, allocations: 9.719 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1638, allocations: 314.8 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.1638, allocations: 8.125 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.1638, allocations: 0 / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.1639, allocations: 8.859 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1639, allocations: 0 / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.575e-05/0.1639, allocations: 41.58 kB / 0.6624 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.164, allocations: 4 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.164, allocations: 0 / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.164, allocations: 3.938 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.164, allocations: 4 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1641, allocations: 8.078 kB / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.1641, allocations: 0 / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1641, allocations: 3.938 kB / 0.6625 GB, free: 10.38 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 7.641e-05/0.1642, allocations: 109.8 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.1642, allocations: 0 / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.1643, allocations: 48.7 kB / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1643, allocations: 0 / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1643, allocations: 0 / 0.6626 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1643, allocations: 8.016 kB / 0.6626 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.684e-05/0.1644, allocations: 141.7 kB / 0.6627 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1644, allocations: 4 kB / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.1644, allocations: 0 / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1644, allocations: 0 / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1644, allocations: 3.938 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1644, allocations: 0 / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1645, allocations: 0 / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.332e-05/0.1645, allocations: 65.12 kB / 0.6628 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.1646, allocations: 81.02 kB / 0.6629 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1646, allocations: 3.938 kB / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.1646, allocations: 0 / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1646, allocations: 0 / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.1646, allocations: 4 kB / 0.6629 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.1647, allocations: 79.22 kB / 0.663 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.1647, allocations: 0 / 0.663 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.1649, allocations: 11.98 kB / 0.663 GB, free: 9.719 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.0002177/0.1651, allocations: 123.2 kB / 0.6631 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.1652, allocations: 4 kB / 0.6631 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1652, allocations: 0 / 0.6631 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-06/0.1652, allocations: 3.984 kB / 0.6631 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1654, allocations: 8 kB / 0.6631 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.1656, allocations: 85 kB / 0.6632 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1659, allocations: 0.669 MB / 0.6639 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.1659, allocations: 3.984 kB / 0.6639 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.1659, allocations: 7.438 kB / 0.6639 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.166, allocations: 4 kB / 0.6639 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.002473/0.1684, allocations: 404.6 kB / 0.6643 GB, free: 8.355 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)