Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001358/0.001358, allocations: 100.3 kB / 16.41 MB, free: 6.508 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.001389/0.001389, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.831/0.831, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 73.34 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 80.92 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001682/0.1671, allocations: 0.5676 MB / 0.6659 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.1676, allocations: 194.2 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.1676, allocations: 0 / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.1676, allocations: 4 kB / 0.6661 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.1677, allocations: 4 kB / 0.6661 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1681, allocations: 59.72 kB / 0.6661 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.1681, allocations: 0 / 0.6661 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.1682, allocations: 0 / 0.6661 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.1682, allocations: 4 kB / 0.6662 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.1682, allocations: 0 / 0.6662 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.1682, allocations: 3.938 kB / 0.6662 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.1684, allocations: 55.94 kB / 0.6662 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.1684, allocations: 0 / 0.6662 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.1684, allocations: 0 / 0.6662 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1685, allocations: 47.81 kB / 0.6663 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1685, allocations: 0 / 0.6663 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1685, allocations: 0 / 0.6663 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1686, allocations: 0 / 0.6663 GB, free: 4.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002918/0.1688, allocations: 319.6 kB / 0.6666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1689, allocations: 13.11 kB / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.1689, allocations: 0.9375 kB / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.169, allocations: 160.4 kB / 0.6667 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.169, allocations: 384 / 0.6667 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.169, allocations: 384 / 0.6667 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.1691, allocations: 38.25 kB / 0.6668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1691, allocations: 192 / 0.6668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1692, allocations: 3.938 kB / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1692, allocations: 3.984 kB / 0.6668 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.1692, allocations: 3.938 kB / 0.6668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1693, allocations: 141.7 kB / 0.6669 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.1694, allocations: 22.61 kB / 0.6669 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.1694, allocations: 8.859 kB / 0.6669 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.1701, allocations: 457.5 kB / 0.6674 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1701, allocations: 34.56 kB / 0.6674 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1701, allocations: 0 / 0.6674 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.1702, allocations: 41.58 kB / 0.6674 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1703, allocations: 55.39 kB / 0.6675 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.1703, allocations: 89.86 kB / 0.6676 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1704, allocations: 29.7 kB / 0.6676 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.1704, allocations: 80.14 kB / 0.6677 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1704, allocations: 0 / 0.6677 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1704, allocations: 9.719 kB / 0.6677 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1706, allocations: 314.8 kB / 0.668 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1706, allocations: 8.125 kB / 0.668 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.1706, allocations: 0 / 0.668 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.1706, allocations: 8.859 kB / 0.668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1706, allocations: 3.938 kB / 0.668 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.08e-05/0.1707, allocations: 37.62 kB / 0.6681 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1707, allocations: 4 kB / 0.6681 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1707, allocations: 0 / 0.6681 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1707, allocations: 3.938 kB / 0.6681 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.502e-05/0.1708, allocations: 4 kB / 0.6681 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1708, allocations: 8.031 kB / 0.6681 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.1708, allocations: 0 / 0.6681 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1708, allocations: 0 / 0.6681 GB, free: 2.645 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 7.131e-05/0.1709, allocations: 113.8 kB / 0.6682 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.1709, allocations: 0 / 0.6682 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.648e-05/0.171, allocations: 48.69 kB / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.171, allocations: 0 / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.171, allocations: 0 / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.171, allocations: 4.031 kB / 0.6682 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.126e-05/0.1711, allocations: 141.7 kB / 0.6684 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1711, allocations: 0 / 0.6684 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.1711, allocations: 7.984 kB / 0.6684 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1711, allocations: 0 / 0.6684 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1711, allocations: 3.938 kB / 0.6684 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1711, allocations: 0 / 0.6684 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1711, allocations: 0 / 0.6684 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.26e-05/0.1712, allocations: 61.14 kB / 0.6684 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1712, allocations: 81.09 kB / 0.6685 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1713, allocations: 3.938 kB / 0.6685 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-06/0.1713, allocations: 0 / 0.6685 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1713, allocations: 0 / 0.6685 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.1713, allocations: 4 kB / 0.6685 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.728e-05/0.1713, allocations: 75.28 kB / 0.6686 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1713, allocations: 3.938 kB / 0.6686 GB, free: 2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001975/0.1715, allocations: 12 kB / 0.6686 GB, free: 1.988 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.0001942/0.1717, allocations: 128.5 kB / 0.6687 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.1718, allocations: 4 kB / 0.6687 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1718, allocations: 0 / 0.6687 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.1718, allocations: 0 / 0.6687 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.172, allocations: 7.938 kB / 0.6687 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.1722, allocations: 110.7 kB / 0.6689 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1724, allocations: 0.6729 MB / 0.6695 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1724, allocations: 11.44 kB / 0.6695 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 0.6695 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of Templates: time 0.00181/0.1743, allocations: 0.5542 MB / 0.6701 GB, free: 444 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)