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.00874/0.00874, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.002301/0.002301, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7972/0.7972, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.5814 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4284, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.00247/0.431, allocations: 0.5788 MB / 0.6603 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.4317, allocations: 186.5 kB / 0.6604 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.4317, allocations: 4 kB / 0.6605 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.4318, allocations: 0 / 0.6605 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-06/0.4318, allocations: 0 / 0.6605 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.4323, allocations: 55.55 kB / 0.6605 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.4323, allocations: 2.109 kB / 0.6605 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.4324, allocations: 2.031 kB / 0.6605 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.4324, allocations: 0 / 0.6605 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.75e-05/0.4324, allocations: 0.6094 kB / 0.6605 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.4325, allocations: 1.094 kB / 0.6605 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.4327, allocations: 63.38 kB / 0.6606 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.4327, allocations: 4 kB / 0.6606 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.4327, allocations: 5.5 kB / 0.6606 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.4329, allocations: 34.58 kB / 0.6606 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4329, allocations: 0.5625 kB / 0.6606 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4329, allocations: 1.5 kB / 0.6606 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.4329, allocations: 0 / 0.6606 GB, free: 9.742 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.0003567/0.4333, allocations: 319.8 kB / 0.6609 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4334, allocations: 9.906 kB / 0.6609 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.4334, allocations: 1.828 kB / 0.6609 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.4335, allocations: 163.6 kB / 0.6611 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4335, allocations: 4.375 kB / 0.6611 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4335, allocations: 1.188 kB / 0.6611 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4336, allocations: 38.33 kB / 0.6611 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4337, allocations: 192 / 0.6611 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4337, allocations: 3.938 kB / 0.6611 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4337, allocations: 0 / 0.6611 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.4337, allocations: 2.469 kB / 0.6611 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.4339, allocations: 147.4 kB / 0.6613 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.4339, allocations: 25.5 kB / 0.6613 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.4339, allocations: 10.17 kB / 0.6613 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007611/0.4347, allocations: 453.7 kB / 0.6617 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4348, allocations: 32.41 kB / 0.6618 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.4348, allocations: 4 kB / 0.6618 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.4349, allocations: 35.84 kB / 0.6618 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.435, allocations: 53.75 kB / 0.6619 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.028e-05/0.435, allocations: 89.86 kB / 0.662 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.435, allocations: 29.7 kB / 0.662 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.435, allocations: 80.14 kB / 0.6621 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4351, allocations: 2.062 kB / 0.6621 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4351, allocations: 11.56 kB / 0.6621 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.4352, allocations: 319.4 kB / 0.6624 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.4352, allocations: 5.25 kB / 0.6624 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.4352, allocations: 1.734 kB / 0.6624 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.4352, allocations: 8.062 kB / 0.6624 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4352, allocations: 0 / 0.6624 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.569e-05/0.4353, allocations: 35.78 kB / 0.6624 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4353, allocations: 5.812 kB / 0.6624 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4353, allocations: 1.406 kB / 0.6624 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4354, allocations: 8.594 kB / 0.6624 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.4354, allocations: 5.312 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.4354, allocations: 2.062 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.4354, allocations: 0 / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.4354, allocations: 0 / 0.6624 GB, free: 7.688 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 4.496e-05/0.4355, allocations: 111.7 kB / 0.6625 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.4355, allocations: 5.828 kB / 0.6626 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.4356, allocations: 42.45 kB / 0.6626 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.4356, allocations: 9.422 kB / 0.6626 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4356, allocations: 0 / 0.6626 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4356, allocations: 0.6562 kB / 0.6626 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/0.4357, allocations: 144.7 kB / 0.6627 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4357, allocations: 1.281 kB / 0.6627 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.4357, allocations: 1.688 kB / 0.6627 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4358, allocations: 0.5156 kB / 0.6627 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.4358, allocations: 3.938 kB / 0.6628 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4358, allocations: 6.031 kB / 0.6628 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4358, allocations: 0 / 0.6628 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.702e-05/0.4359, allocations: 64.94 kB / 0.6628 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.4359, allocations: 77.77 kB / 0.6629 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.4359, allocations: 5.75 kB / 0.6629 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.4359, allocations: 0 / 0.6629 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.4359, allocations: 1.797 kB / 0.6629 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4359, allocations: 1.312 kB / 0.6629 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.807e-05/0.436, allocations: 75.28 kB / 0.663 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.436, allocations: 4.031 kB / 0.663 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002589/0.4362, allocations: 10.77 kB / 0.663 GB, free: 7.066 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.0002744/0.4365, allocations: 120.4 kB / 0.6631 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4366, allocations: 3.25 kB / 0.6631 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4366, allocations: 64 / 0.6631 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.4367, allocations: 11.17 kB / 0.6631 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.4368, allocations: 7.344 kB / 0.6631 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.437, allocations: 83.27 kB / 0.6632 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.4372, allocations: 0.6722 MB / 0.6639 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.4372, allocations: 0 / 0.6639 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.4372, allocations: 9.438 kB / 0.6639 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/0.4372, allocations: 0 / 0.6639 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.002966/0.4402, allocations: 408.2 kB / 0.6643 GB, free: 6.09 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)