Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006121/0.006121, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001136/0.001136, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.384/1.384, 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.8038/0.8038, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 0.5814 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4634, allocations: 80.2 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002496/0.466, allocations: 1.431 MB / 0.6611 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000533/0.4665, allocations: 257.9 kB / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.4666, allocations: 1.375 kB / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.4666, allocations: 0.7031 kB / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.4667, allocations: 7.938 kB / 0.6613 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.4671, allocations: 63.52 kB / 0.6614 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.4672, allocations: 19.83 kB / 0.6614 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.4673, allocations: 11.91 kB / 0.6614 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.4673, allocations: 5.625 kB / 0.6614 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.4674, allocations: 17.08 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.4674, allocations: 2.406 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.4675, allocations: 58.81 kB / 0.6615 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.4676, allocations: 6.438 kB / 0.6615 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.4676, allocations: 11.09 kB / 0.6615 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.4678, allocations: 56.83 kB / 0.6616 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4678, allocations: 5.531 kB / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4678, allocations: 3.938 kB / 0.6616 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.4678, allocations: 0 / 0.6616 GB, free: 9.023 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.0004138/0.4682, allocations: 345.7 kB / 0.6619 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4682, allocations: 9.375 kB / 0.6619 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.4683, allocations: 2.703 kB / 0.6619 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.4684, allocations: 166.2 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4684, allocations: 2.203 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.4684, allocations: 1.531 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.4686, allocations: 49.09 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4686, allocations: 192 / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4686, allocations: 3.938 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4686, allocations: 1.375 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.4688, allocations: 32.61 kB / 0.6622 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.4691, allocations: 258.3 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4692, allocations: 41.48 kB / 0.6625 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.4693, allocations: 23.09 kB / 0.6625 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/0.4699, allocations: 457.8 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4699, allocations: 36.22 kB / 0.6629 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4699, allocations: 1.594 kB / 0.6629 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003424/0.4703, allocations: 82.2 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.4703, allocations: 53.47 kB / 0.6631 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.4704, allocations: 100.8 kB / 0.6632 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.4704, allocations: 25.7 kB / 0.6632 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.4704, allocations: 82.06 kB / 0.6633 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.4704, allocations: 13.69 kB / 0.6633 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.4705, allocations: 13.02 kB / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.4705, allocations: 313.2 kB / 0.6636 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.4706, allocations: 21.59 kB / 0.6636 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.4707, allocations: 14.42 kB / 0.6636 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.4708, allocations: 37.55 kB / 0.6637 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4708, allocations: 0 / 0.6637 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.471, allocations: 82.08 kB / 0.6637 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.471, allocations: 6.234 kB / 0.6638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.471, allocations: 0 / 0.6638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4711, allocations: 2.25 kB / 0.6638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.4712, allocations: 7.953 kB / 0.6638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4712, allocations: 0.75 kB / 0.6638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.4712, allocations: 6.281 kB / 0.6638 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4712, allocations: 0.6562 kB / 0.6638 GB, free: 6.84 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 5.15e-05/0.4713, allocations: 116 kB / 0.6639 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.4713, allocations: 5.672 kB / 0.6639 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.4715, allocations: 85.47 kB / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4715, allocations: 0 / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4715, allocations: 0 / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4716, allocations: 1.188 kB / 0.664 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.4717, allocations: 161.8 kB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4717, allocations: 4.031 kB / 0.6641 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.4717, allocations: 6.812 kB / 0.6641 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4717, allocations: 192 / 0.6641 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.4717, allocations: 0 / 0.6641 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4718, allocations: 5.203 kB / 0.6641 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4718, allocations: 0 / 0.6641 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.472, allocations: 167.8 kB / 0.6643 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.472, allocations: 85.03 kB / 0.6644 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.472, allocations: 1.312 kB / 0.6644 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.4721, allocations: 3.469 kB / 0.6644 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.4721, allocations: 4.984 kB / 0.6644 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.4721, allocations: 1 kB / 0.6644 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.4721, allocations: 82.56 kB / 0.6645 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4721, allocations: 0 / 0.6645 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002319/0.4724, allocations: 18.19 kB / 0.6645 GB, free: 6.098 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.0001915/0.4726, allocations: 117.8 kB / 0.6646 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.4728, allocations: 37.2 kB / 0.6646 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4728, allocations: 0 / 0.6646 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.4729, allocations: 23.7 kB / 0.6647 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.4731, allocations: 6.594 kB / 0.6647 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.4734, allocations: 107.7 kB / 0.6648 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4735, allocations: 0.6776 MB / 0.6654 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.4735, allocations: 1.438 kB / 0.6654 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.4735, allocations: 7.438 kB / 0.6654 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4735, allocations: 1.625 kB / 0.6654 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.002839/0.4764, allocations: 0.6593 MB / 0.6661 GB, free: 4.809 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)