Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001092/0.001092, allocations: 105.6 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.0011/0.0011, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7721/0.7721, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.08 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002382/0.1483, allocations: 1.429 MB / 0.6617 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004992/0.1488, allocations: 256.3 kB / 0.662 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1488, allocations: 0 / 0.662 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.1489, allocations: 3.938 kB / 0.662 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.1489, allocations: 0 / 0.662 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1493, allocations: 59.83 kB / 0.662 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.1493, allocations: 19.92 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.1494, allocations: 8 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.1495, allocations: 19.91 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.1495, allocations: 4 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1495, allocations: 7.938 kB / 0.6621 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1496, allocations: 63.88 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1497, allocations: 0 / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.1497, allocations: 15.92 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1498, allocations: 43.92 kB / 0.6622 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1498, allocations: 0 / 0.6622 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1498, allocations: 0 / 0.6622 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.1499, allocations: 0 / 0.6622 GB, free: 8.293 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.0004372/0.1503, allocations: 347.5 kB / 0.6625 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1503, allocations: 8.031 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1504, allocations: 8.844 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1505, allocations: 164.3 kB / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1505, allocations: 4.375 kB / 0.6627 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1505, allocations: 384 / 0.6627 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1507, allocations: 54.17 kB / 0.6628 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1507, allocations: 4.188 kB / 0.6628 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1507, allocations: 3.938 kB / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.1507, allocations: 4 kB / 0.6628 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1509, allocations: 31.95 kB / 0.6628 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1513, allocations: 240.9 kB / 0.663 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1514, allocations: 46.53 kB / 0.6631 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.1515, allocations: 20.91 kB / 0.6631 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/0.1521, allocations: 457.4 kB / 0.6635 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1521, allocations: 38.56 kB / 0.6636 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1521, allocations: 0 / 0.6636 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003326/0.1525, allocations: 81.55 kB / 0.6637 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1525, allocations: 55.41 kB / 0.6637 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.1526, allocations: 97.86 kB / 0.6638 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1526, allocations: 25.7 kB / 0.6638 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.1526, allocations: 88.2 kB / 0.6639 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1526, allocations: 7.891 kB / 0.6639 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1527, allocations: 17.72 kB / 0.6639 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.1528, allocations: 310.8 kB / 0.6642 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.1529, allocations: 19.92 kB / 0.6643 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.1529, allocations: 15.98 kB / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1531, allocations: 44.88 kB / 0.6643 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1531, allocations: 0 / 0.6643 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.1533, allocations: 65.59 kB / 0.6644 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1533, allocations: 9.719 kB / 0.6644 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1533, allocations: 0 / 0.6644 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1533, allocations: 0 / 0.6644 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.1534, allocations: 8.031 kB / 0.6644 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1534, allocations: 0 / 0.6644 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1535, allocations: 7.984 kB / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.1535, allocations: 7.938 kB / 0.6644 GB, free: 5.727 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 6.947e-05/0.1536, allocations: 113.8 kB / 0.6645 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1536, allocations: 192 / 0.6645 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.1538, allocations: 80.64 kB / 0.6646 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1538, allocations: 8.016 kB / 0.6646 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1538, allocations: 4 kB / 0.6646 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1538, allocations: 0 / 0.6646 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.154, allocations: 161.6 kB / 0.6648 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.154, allocations: 0 / 0.6648 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.1541, allocations: 15.98 kB / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1541, allocations: 0 / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1541, allocations: 0 / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1541, allocations: 0 / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1541, allocations: 0 / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1543, allocations: 167.4 kB / 0.6649 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1544, allocations: 81.02 kB / 0.665 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1544, allocations: 4 kB / 0.665 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.1545, allocations: 11.98 kB / 0.665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1545, allocations: 0 / 0.665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1545, allocations: 4.031 kB / 0.665 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.1546, allocations: 83.27 kB / 0.6651 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1546, allocations: 0 / 0.6651 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002469/0.1548, allocations: 16 kB / 0.6651 GB, free: 4.887 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.0001704/0.155, allocations: 107.2 kB / 0.6652 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1552, allocations: 47.89 kB / 0.6653 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1552, allocations: 0 / 0.6653 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.1553, allocations: 15.98 kB / 0.6653 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1555, allocations: 11.88 kB / 0.6653 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1558, allocations: 135.2 kB / 0.6654 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.156, allocations: 0.6808 MB / 0.6661 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1561, allocations: 11.44 kB / 0.6661 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1561, allocations: 0 / 0.6661 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of Templates: time 0.001948/0.158, allocations: 0.767 MB / 0.6669 GB, free: 3.047 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)