Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002248/0.002248, allocations: 102.8 kB / 16.41 MB, free: 6.496 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.002048/0.002048, allocations: 191 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 64.28 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1811, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001926/0.1831, allocations: 0.5775 MB / 0.6609 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005429/0.1836, allocations: 190.2 kB / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.1837, allocations: 0 / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1837, allocations: 3.938 kB / 0.6611 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.1837, allocations: 0 / 0.6611 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1842, allocations: 51.91 kB / 0.6612 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.1842, allocations: 7.984 kB / 0.6612 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1843, allocations: 3.938 kB / 0.6612 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1843, allocations: 3.984 kB / 0.6612 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.1844, allocations: 0 / 0.6612 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.1844, allocations: 0 / 0.6612 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1846, allocations: 51.95 kB / 0.6612 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1846, allocations: 0 / 0.6612 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.1846, allocations: 4 kB / 0.6612 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1847, allocations: 35.88 kB / 0.6613 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1847, allocations: 0 / 0.6613 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.166e-06/0.1848, allocations: 4 kB / 0.6613 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1848, allocations: 3.938 kB / 0.6613 GB, free: 9.316 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.0003664/0.1851, allocations: 319.6 kB / 0.6616 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1852, allocations: 8.031 kB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1852, allocations: 0.9375 kB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1854, allocations: 164.4 kB / 0.6618 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1854, allocations: 4.375 kB / 0.6618 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1854, allocations: 384 / 0.6618 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.1855, allocations: 30.27 kB / 0.6618 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1855, allocations: 192 / 0.6618 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1855, allocations: 3.938 kB / 0.6618 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1855, allocations: 0 / 0.6618 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.535e-05/0.1856, allocations: 7.984 kB / 0.6618 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1857, allocations: 141.7 kB / 0.6619 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.1858, allocations: 26.55 kB / 0.662 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.1858, allocations: 8.797 kB / 0.662 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007744/0.1866, allocations: 457.5 kB / 0.6624 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.1866, allocations: 34.56 kB / 0.6624 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.654e-06/0.1867, allocations: 0 / 0.6624 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.1868, allocations: 41.58 kB / 0.6625 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1868, allocations: 55.53 kB / 0.6625 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.652e-05/0.1869, allocations: 89.86 kB / 0.6626 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1869, allocations: 25.7 kB / 0.6626 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.1869, allocations: 80.14 kB / 0.6627 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.187, allocations: 0 / 0.6627 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.187, allocations: 17.7 kB / 0.6627 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1872, allocations: 310.8 kB / 0.663 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.1872, allocations: 4 kB / 0.663 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.1872, allocations: 8 kB / 0.663 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.1872, allocations: 4.859 kB / 0.663 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1872, allocations: 3.938 kB / 0.663 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.423e-05/0.1873, allocations: 41.62 kB / 0.6631 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1873, allocations: 4 kB / 0.6631 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1874, allocations: 0 / 0.6631 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1874, allocations: 3.938 kB / 0.6631 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.1874, allocations: 7.984 kB / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1874, allocations: 0 / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-06/0.1875, allocations: 4.094 kB / 0.6631 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1875, allocations: 0 / 0.6631 GB, free: 7.129 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.125e-05/0.1875, allocations: 105.8 kB / 0.6632 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1876, allocations: 4 kB / 0.6632 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.359e-05/0.1876, allocations: 44.66 kB / 0.6633 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1877, allocations: 8 kB / 0.6633 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1877, allocations: 0 / 0.6633 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1877, allocations: 0 / 0.6633 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.1878, allocations: 141.7 kB / 0.6634 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1878, allocations: 4 kB / 0.6634 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.1878, allocations: 7.938 kB / 0.6634 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1878, allocations: 0 / 0.6634 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1878, allocations: 3.938 kB / 0.6634 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1878, allocations: 0 / 0.6634 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1878, allocations: 3.984 kB / 0.6634 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.1879, allocations: 53.14 kB / 0.6635 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.188, allocations: 85.14 kB / 0.6635 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.188, allocations: 3.938 kB / 0.6635 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-06/0.188, allocations: 0 / 0.6635 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.188, allocations: 0 / 0.6635 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.188, allocations: 7.922 kB / 0.6636 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.753e-05/0.1881, allocations: 75.28 kB / 0.6636 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1881, allocations: 0 / 0.6636 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002097/0.1883, allocations: 12 kB / 0.6636 GB, free: 6.473 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.000225/0.1885, allocations: 127.2 kB / 0.6638 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.1886, allocations: 11.92 kB / 0.6638 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1886, allocations: 0 / 0.6638 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.1886, allocations: 4 kB / 0.6638 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1888, allocations: 3.938 kB / 0.6638 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.189, allocations: 106.8 kB / 0.6639 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1893, allocations: 0.6729 MB / 0.6645 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.1893, allocations: 11.44 kB / 0.6646 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1893, allocations: 0 / 0.6646 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.002158/0.1915, allocations: 0.5542 MB / 0.6651 GB, free: 4.914 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)