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.005017/0.005017, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001079/0.001079, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8041/0.8041, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.52 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.92 MB / 0.6646 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002388/0.167, allocations: 1.433 MB / 0.666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004925/0.1675, allocations: 240.4 kB / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1675, allocations: 4 kB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.1675, allocations: 0 / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.1676, allocations: 7.922 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1679, allocations: 59.73 kB / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.168, allocations: 19.94 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.1681, allocations: 19.91 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.1682, allocations: 4 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.1682, allocations: 15.92 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.1682, allocations: 0 / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1684, allocations: 59.89 kB / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1684, allocations: 3.984 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1684, allocations: 11.94 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1685, allocations: 47.92 kB / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1685, allocations: 0 / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1686, allocations: 4 kB / 0.6665 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1686, allocations: 0 / 0.6665 GB, free: 3.828 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.0004694/0.169, allocations: 343.5 kB / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1691, allocations: 17.05 kB / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1691, allocations: 4.844 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1692, allocations: 164.4 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1693, allocations: 4.375 kB / 0.667 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1693, allocations: 384 / 0.667 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1694, allocations: 54.23 kB / 0.6671 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1694, allocations: 4.125 kB / 0.6671 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1695, allocations: 3.938 kB / 0.6671 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1695, allocations: 0 / 0.6671 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1696, allocations: 31.97 kB / 0.6671 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.17, allocations: 245 kB / 0.6674 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1701, allocations: 42.5 kB / 0.6674 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.1702, allocations: 20.91 kB / 0.6674 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/0.1708, allocations: 453.5 kB / 0.6678 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1708, allocations: 42.44 kB / 0.6679 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.1708, allocations: 0 / 0.6679 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003314/0.1712, allocations: 85.62 kB / 0.668 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1712, allocations: 51.41 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.1713, allocations: 101.8 kB / 0.6681 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1713, allocations: 29.83 kB / 0.6681 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.1714, allocations: 84.14 kB / 0.6682 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.1714, allocations: 11.89 kB / 0.6682 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1714, allocations: 9.719 kB / 0.6682 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1715, allocations: 314.8 kB / 0.6685 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.1716, allocations: 19.97 kB / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.1717, allocations: 15.92 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1718, allocations: 40.89 kB / 0.6686 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1719, allocations: 0 / 0.6686 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.172, allocations: 77.5 kB / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1721, allocations: 6.031 kB / 0.6687 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1721, allocations: 0 / 0.6687 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1721, allocations: 0 / 0.6687 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.1722, allocations: 16.02 kB / 0.6687 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1722, allocations: 0 / 0.6687 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.1722, allocations: 4 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1722, allocations: 0 / 0.6687 GB, free: 1.262 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 7.713e-05/0.1723, allocations: 121.6 kB / 0.6688 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1723, allocations: 4 kB / 0.6688 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.1726, allocations: 76.72 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1726, allocations: 0 / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1726, allocations: 0 / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1726, allocations: 4 kB / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1728, allocations: 161.6 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1728, allocations: 0 / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.1728, allocations: 8 kB / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1728, allocations: 0 / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1728, allocations: 0 / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1729, allocations: 4 kB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1729, allocations: 4.031 kB / 0.6691 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1731, allocations: 167.4 kB / 0.6692 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1731, allocations: 85 kB / 0.6693 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1731, allocations: 0 / 0.6693 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.1732, allocations: 4 kB / 0.6693 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1733, allocations: 8.016 kB / 0.6693 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1733, allocations: 0 / 0.6693 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.1733, allocations: 79.28 kB / 0.6694 GB, free: 456 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1733, allocations: 3.938 kB / 0.6694 GB, free: 452 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002327/0.1736, allocations: 24 kB / 0.6694 GB, free: 428 kB / 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.0001775/0.1737, allocations: 116.6 kB / 0.6695 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1739, allocations: 35.91 kB / 0.6696 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.174, allocations: 0 / 0.6696 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.174, allocations: 23.97 kB / 0.6696 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1743, allocations: 3.938 kB / 0.6696 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.1746, allocations: 117.6 kB / 0.6697 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1748, allocations: 0.6729 MB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.1748, allocations: 3.984 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1749, allocations: 7.438 kB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1749, allocations: 4 kB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.002803/0.1777, allocations: 0.6452 MB / 0.671 GB, free: 14.73 MB / 0.5137 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)