Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0075/0.0075, allocations: 99.28 kB / 15.73 MB, free: 6.035 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.001785/0.001785, allocations: 194.5 kB / 16.67 MB, free: 5.965 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.89 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4596, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002324/0.4619, allocations: 1.424 MB / 0.666 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.4625, allocations: 243.6 kB / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.4625, allocations: 0 / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.4625, allocations: 5.188 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.4626, allocations: 7.922 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.463, allocations: 57.66 kB / 0.6663 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.463, allocations: 20.72 kB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.4631, allocations: 15.86 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.4632, allocations: 6.969 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.4632, allocations: 14.48 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.4632, allocations: 2.812 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.4634, allocations: 63.06 kB / 0.6665 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.4634, allocations: 3.984 kB / 0.6665 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.4634, allocations: 10.16 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.4636, allocations: 56.42 kB / 0.6665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4636, allocations: 0 / 0.6665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4636, allocations: 1.375 kB / 0.6665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4636, allocations: 0 / 0.6665 GB, free: 6.113 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.0003884/0.464, allocations: 347 kB / 0.6669 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.464, allocations: 8.875 kB / 0.6669 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.4641, allocations: 6.875 kB / 0.6669 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.4641, allocations: 169.4 kB / 0.667 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.4641, allocations: 1.469 kB / 0.667 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4642, allocations: 2.031 kB / 0.667 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.4643, allocations: 49.42 kB / 0.6671 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4643, allocations: 192 / 0.6671 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4644, allocations: 7.938 kB / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4644, allocations: 1.094 kB / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4645, allocations: 29.69 kB / 0.6671 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.4648, allocations: 245.1 kB / 0.6674 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.4649, allocations: 43.59 kB / 0.6674 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.465, allocations: 27.22 kB / 0.6674 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.4655, allocations: 451.3 kB / 0.6678 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.4656, allocations: 32.41 kB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4656, allocations: 4 kB / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000334/0.4659, allocations: 83.36 kB / 0.668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.4659, allocations: 53.03 kB / 0.668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.466, allocations: 102 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.466, allocations: 25.7 kB / 0.6681 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.381e-05/0.466, allocations: 81.52 kB / 0.6682 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.4661, allocations: 5.156 kB / 0.6682 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.4661, allocations: 19.88 kB / 0.6682 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.4661, allocations: 312 kB / 0.6685 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.4662, allocations: 21.75 kB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.4663, allocations: 12.39 kB / 0.6686 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4664, allocations: 41.17 kB / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4665, allocations: 0 / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.4666, allocations: 80.12 kB / 0.6687 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4667, allocations: 4.688 kB / 0.6687 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4667, allocations: 3.938 kB / 0.6687 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4667, allocations: 1.469 kB / 0.6687 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.4668, allocations: 13.42 kB / 0.6687 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4668, allocations: 0 / 0.6687 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.4668, allocations: 7.438 kB / 0.6687 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4668, allocations: 1.25 kB / 0.6687 GB, free: 3.801 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.781e-05/0.4669, allocations: 115.1 kB / 0.6688 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.4669, allocations: 1.219 kB / 0.6688 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.4671, allocations: 70.47 kB / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4671, allocations: 1.219 kB / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4672, allocations: 4.031 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4672, allocations: 5.594 kB / 0.6689 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4673, allocations: 161.1 kB / 0.6691 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4673, allocations: 3.984 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.4673, allocations: 9.844 kB / 0.6691 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4674, allocations: 1.219 kB / 0.6691 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4674, allocations: 0 / 0.6691 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4674, allocations: 1.562 kB / 0.6691 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4674, allocations: 0 / 0.6691 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.4676, allocations: 166.4 kB / 0.6692 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4676, allocations: 84.33 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.4676, allocations: 1.438 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.4677, allocations: 2.812 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.4678, allocations: 5.422 kB / 0.6693 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4678, allocations: 1.406 kB / 0.6693 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.99e-05/0.4678, allocations: 82.16 kB / 0.6694 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4678, allocations: 0 / 0.6694 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.468, allocations: 24.91 kB / 0.6694 GB, free: 3.055 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.0001772/0.4682, allocations: 117 kB / 0.6695 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4684, allocations: 41.59 kB / 0.6696 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4685, allocations: 0 / 0.6696 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.4685, allocations: 19.34 kB / 0.6696 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.4688, allocations: 13 kB / 0.6696 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.469, allocations: 115.3 kB / 0.6697 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.4691, allocations: 0.6729 MB / 0.6704 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.4692, allocations: 13.08 kB / 0.6704 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.4692, allocations: 8.812 kB / 0.6704 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.4692, allocations: 0 / 0.6704 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of Templates: time 0.00272/0.4719, allocations: 0.6488 MB / 0.671 GB, free: 1.754 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)