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.004968/0.004968, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.00109/0.00109, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8027/0.8027, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.5814 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4421, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.00206/0.4443, allocations: 0.5624 MB / 0.6603 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000539/0.4448, allocations: 200.4 kB / 0.6605 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.4448, allocations: 0 / 0.6605 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.4449, allocations: 0 / 0.6605 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.936e-06/0.4449, allocations: 5.375 kB / 0.6605 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.4454, allocations: 55.94 kB / 0.6605 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.4455, allocations: 1.188 kB / 0.6605 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.4455, allocations: 6.062 kB / 0.6605 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.4455, allocations: 2.016 kB / 0.6605 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.4456, allocations: 0 / 0.6605 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.4456, allocations: 3.938 kB / 0.6605 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.4458, allocations: 61.86 kB / 0.6606 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.4458, allocations: 1.094 kB / 0.6606 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.4458, allocations: 4 kB / 0.6606 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.446, allocations: 41.45 kB / 0.6606 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.446, allocations: 3.938 kB / 0.6606 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.446, allocations: 0 / 0.6606 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.446, allocations: 0 / 0.6606 GB, free: 9.754 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.0002825/0.4463, allocations: 321 kB / 0.6609 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4463, allocations: 9.625 kB / 0.661 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.4464, allocations: 4.938 kB / 0.661 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.34e-05/0.4465, allocations: 161.8 kB / 0.6611 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4465, allocations: 384 / 0.6611 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.4465, allocations: 5.844 kB / 0.6611 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.4466, allocations: 36.44 kB / 0.6612 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4466, allocations: 1.125 kB / 0.6612 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4466, allocations: 3.938 kB / 0.6612 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4466, allocations: 1.469 kB / 0.6612 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.4467, allocations: 1.531 kB / 0.6612 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.4468, allocations: 143 kB / 0.6613 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.404e-05/0.4468, allocations: 22.36 kB / 0.6613 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.4468, allocations: 13.41 kB / 0.6613 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.4475, allocations: 453.8 kB / 0.6618 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.4476, allocations: 36.48 kB / 0.6618 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.4476, allocations: 0 / 0.6618 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.4477, allocations: 44.2 kB / 0.6618 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.4477, allocations: 55.86 kB / 0.6619 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.97e-05/0.4478, allocations: 90.42 kB / 0.662 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.4478, allocations: 27.08 kB / 0.662 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.31e-05/0.4478, allocations: 80.14 kB / 0.6621 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.4478, allocations: 0 / 0.6621 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.4479, allocations: 13.22 kB / 0.6621 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.4479, allocations: 315.8 kB / 0.6624 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.4479, allocations: 9.312 kB / 0.6624 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.4479, allocations: 2.172 kB / 0.6624 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.448, allocations: 7.609 kB / 0.6624 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.448, allocations: 0 / 0.6624 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.533e-05/0.448, allocations: 32.47 kB / 0.6624 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.448, allocations: 4.688 kB / 0.6625 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.448, allocations: 1.375 kB / 0.6625 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4481, allocations: 4.453 kB / 0.6625 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.4481, allocations: 5.938 kB / 0.6625 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4481, allocations: 1.25 kB / 0.6625 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/0.4481, allocations: 0 / 0.6625 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.4481, allocations: 1.781 kB / 0.6625 GB, free: 7.703 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 6.061e-05/0.4482, allocations: 115.8 kB / 0.6626 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.4482, allocations: 3.906 kB / 0.6626 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.4483, allocations: 43.23 kB / 0.6626 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.4483, allocations: 0 / 0.6626 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4483, allocations: 6.062 kB / 0.6626 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4483, allocations: 0 / 0.6626 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.252e-05/0.4484, allocations: 145.1 kB / 0.6628 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4484, allocations: 0 / 0.6628 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.4484, allocations: 2.234 kB / 0.6628 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4484, allocations: 0 / 0.6628 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.4484, allocations: 5.281 kB / 0.6628 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4484, allocations: 0.5625 kB / 0.6628 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4484, allocations: 0 / 0.6628 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.41e-05/0.4485, allocations: 65.98 kB / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.4485, allocations: 77.72 kB / 0.6629 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4485, allocations: 5.781 kB / 0.6629 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-06/0.4485, allocations: 0 / 0.6629 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.4486, allocations: 5.938 kB / 0.6629 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4486, allocations: 4 kB / 0.6629 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.401e-05/0.4486, allocations: 75.28 kB / 0.663 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4486, allocations: 1.531 kB / 0.663 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001953/0.4488, allocations: 10.53 kB / 0.663 GB, free: 7.082 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.0001952/0.449, allocations: 123.5 kB / 0.6631 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.4491, allocations: 4.844 kB / 0.6631 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4491, allocations: 0 / 0.6631 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.4491, allocations: 7.141 kB / 0.6631 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4492, allocations: 5.312 kB / 0.6631 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.4494, allocations: 92.48 kB / 0.6632 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.4495, allocations: 0.6717 MB / 0.6639 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.101e-05/0.4495, allocations: 1.094 kB / 0.6639 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.4495, allocations: 7.438 kB / 0.6639 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4495, allocations: 0 / 0.6639 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Templates: time 0.002423/0.452, allocations: 407.8 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB 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)