Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005684/0.00569, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.001217/0.001217, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8343/0.8343, allocations: 135.1 MB / 425.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 65.92 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1749, allocations: 80.92 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002376/0.1774, allocations: 1.418 MB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000524/0.1779, allocations: 256.4 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.1779, allocations: 4 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.178, allocations: 3.938 kB / 0.6663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.178, allocations: 0 / 0.6663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1784, allocations: 67.72 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.1785, allocations: 23.92 kB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.1786, allocations: 8 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.1786, allocations: 7.938 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.1787, allocations: 11.97 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1787, allocations: 4 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1788, allocations: 63.88 kB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.1788, allocations: 11.88 kB / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1789, allocations: 3.938 kB / 0.6665 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.179, allocations: 55.84 kB / 0.6665 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.179, allocations: 4 kB / 0.6665 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.179, allocations: 0 / 0.6665 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.179, allocations: 4 kB / 0.6665 GB, free: 3.844 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.0004445/0.1795, allocations: 343.4 kB / 0.6669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1795, allocations: 9.109 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.1796, allocations: 0.9375 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1797, allocations: 172.3 kB / 0.667 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1797, allocations: 4.359 kB / 0.667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1797, allocations: 4.312 kB / 0.667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1799, allocations: 50.25 kB / 0.6671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1799, allocations: 192 / 0.6671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1799, allocations: 3.938 kB / 0.6671 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.18, allocations: 7.984 kB / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1801, allocations: 31.97 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.1805, allocations: 244.9 kB / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1806, allocations: 50.47 kB / 0.6674 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.1807, allocations: 24.91 kB / 0.6674 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.1813, allocations: 457.5 kB / 0.6679 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1814, allocations: 34.56 kB / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1814, allocations: 0 / 0.6679 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.1817, allocations: 81.58 kB / 0.668 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1818, allocations: 51.41 kB / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.1818, allocations: 101.8 kB / 0.6681 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1819, allocations: 29.83 kB / 0.6682 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1819, allocations: 88.14 kB / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1819, allocations: 3.953 kB / 0.6682 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.182, allocations: 13.72 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1821, allocations: 310.8 kB / 0.6686 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.1822, allocations: 19.97 kB / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.1822, allocations: 15.98 kB / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1824, allocations: 40.89 kB / 0.6686 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1824, allocations: 0 / 0.6686 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.1826, allocations: 73.53 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1826, allocations: 5.719 kB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1826, allocations: 0 / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1826, allocations: 0 / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.1827, allocations: 16.02 kB / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1827, allocations: 0 / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1828, allocations: 8.172 kB / 0.6687 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1828, allocations: 3.938 kB / 0.6687 GB, free: 1.273 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.361e-05/0.1829, allocations: 113.8 kB / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1829, allocations: 3.984 kB / 0.6688 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.1831, allocations: 76.73 kB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1831, allocations: 7.938 kB / 0.6689 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1831, allocations: 3.938 kB / 0.6689 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1832, allocations: 0 / 0.6689 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1833, allocations: 165.6 kB / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1833, allocations: 0 / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.1834, allocations: 4 kB / 0.6691 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1834, allocations: 4 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1834, allocations: 0 / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1834, allocations: 7.969 kB / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1834, allocations: 4.031 kB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1836, allocations: 159.5 kB / 0.6693 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1837, allocations: 81.09 kB / 0.6693 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1837, allocations: 4 kB / 0.6693 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.1838, allocations: 4 kB / 0.6693 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1838, allocations: 8.016 kB / 0.6694 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1838, allocations: 4 kB / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.1839, allocations: 83.28 kB / 0.6694 GB, free: 460 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1839, allocations: 3.938 kB / 0.6694 GB, free: 456 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.1841, allocations: 15.94 kB / 0.6695 GB, free: 440 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.0001827/0.1843, allocations: 123.2 kB / 0.6696 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1845, allocations: 35.97 kB / 0.6696 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1845, allocations: 0 / 0.6696 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.1846, allocations: 23.97 kB / 0.6696 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1848, allocations: 7.938 kB / 0.6696 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.1851, allocations: 101.6 kB / 0.6697 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1853, allocations: 0.6845 MB / 0.6704 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.1854, allocations: 0 / 0.6704 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1854, allocations: 7.438 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1854, allocations: 0 / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.002868/0.1883, allocations: 0.6527 MB / 0.671 GB, free: 14.74 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)