Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00167/0.00167, allocations: 106.1 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.001852/0.001852, allocations: 187 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.341/1.341, 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.7823/0.7823, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.62 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1426, allocations: 80.23 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002841/0.1455, allocations: 1.416 MB / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.1461, allocations: 268.3 kB / 0.662 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.1462, allocations: 0 / 0.662 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.1462, allocations: 3.938 kB / 0.662 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.1462, allocations: 7.922 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1467, allocations: 55.83 kB / 0.662 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.1468, allocations: 19.98 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1469, allocations: 4 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.147, allocations: 15.92 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.147, allocations: 11.98 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.147, allocations: 4 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1472, allocations: 63.81 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1472, allocations: 4 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.1473, allocations: 15.92 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1474, allocations: 47.92 kB / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1474, allocations: 0 / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1474, allocations: 3.938 kB / 0.6622 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.1474, allocations: 0 / 0.6622 GB, free: 8.285 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.0005002/0.148, allocations: 347.4 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.148, allocations: 8.031 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.148, allocations: 8.844 kB / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1482, allocations: 164.4 kB / 0.6627 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1482, allocations: 8.312 kB / 0.6627 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1482, allocations: 384 / 0.6627 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1484, allocations: 50.23 kB / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1484, allocations: 192 / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1484, allocations: 7.938 kB / 0.6628 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1484, allocations: 4 kB / 0.6628 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.1486, allocations: 27.97 kB / 0.6628 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1489, allocations: 248.9 kB / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1491, allocations: 38.5 kB / 0.6631 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.1492, allocations: 24.91 kB / 0.6631 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006983/0.1499, allocations: 461.5 kB / 0.6636 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1499, allocations: 30.56 kB / 0.6636 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1499, allocations: 4 kB / 0.6636 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000377/0.1503, allocations: 89.48 kB / 0.6637 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1504, allocations: 51.41 kB / 0.6637 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.1504, allocations: 105.8 kB / 0.6638 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1505, allocations: 25.7 kB / 0.6639 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.1505, allocations: 80.27 kB / 0.6639 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.1505, allocations: 7.906 kB / 0.6639 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1506, allocations: 17.72 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1507, allocations: 310.8 kB / 0.6643 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.1508, allocations: 15.97 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.1509, allocations: 19.98 kB / 0.6643 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.151, allocations: 36.89 kB / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.151, allocations: 0 / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.1512, allocations: 73.53 kB / 0.6644 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1513, allocations: 4 kB / 0.6644 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1513, allocations: 4 kB / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1513, allocations: 0 / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.1514, allocations: 7.984 kB / 0.6644 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1514, allocations: 4.031 kB / 0.6644 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.1515, allocations: 11.98 kB / 0.6644 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1515, allocations: 0 / 0.6644 GB, free: 5.715 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 8.127e-05/0.1516, allocations: 117.8 kB / 0.6645 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1516, allocations: 0 / 0.6645 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1518, allocations: 76.66 kB / 0.6646 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1519, allocations: 11.91 kB / 0.6646 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1519, allocations: 0 / 0.6646 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1519, allocations: 0 / 0.6646 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.152, allocations: 165.6 kB / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.152, allocations: 0 / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.1521, allocations: 12 kB / 0.6648 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1521, allocations: 192 / 0.6648 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1521, allocations: 3.984 kB / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1521, allocations: 0 / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1521, allocations: 0 / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1524, allocations: 167.4 kB / 0.665 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.1524, allocations: 81.02 kB / 0.665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1525, allocations: 0 / 0.665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.1525, allocations: 8 kB / 0.665 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1526, allocations: 11.92 kB / 0.6651 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.1526, allocations: 0 / 0.6651 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.1526, allocations: 83.31 kB / 0.6651 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1526, allocations: 0 / 0.6651 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002344/0.1529, allocations: 12 kB / 0.6651 GB, free: 4.875 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.0002055/0.1531, allocations: 115.2 kB / 0.6653 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1533, allocations: 43.95 kB / 0.6653 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1533, allocations: 0 / 0.6653 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.1534, allocations: 15.98 kB / 0.6653 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1537, allocations: 7.938 kB / 0.6653 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.154, allocations: 135.1 kB / 0.6654 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1542, allocations: 0.6769 MB / 0.6661 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.1543, allocations: 11.44 kB / 0.6661 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1543, allocations: 0 / 0.6661 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.002314/0.1566, allocations: 0.7651 MB / 0.6669 GB, free: 3.039 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)