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.001422/0.001422, allocations: 104.5 kB / 16.41 MB, free: 6.465 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.001161/0.001161, allocations: 189.8 kB / 17.34 MB, free: 5.719 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7606/0.7606, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.31 kB / 0.582 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 80.21 MB / 0.6603 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002688/0.1369, allocations: 1.423 MB / 0.6617 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005348/0.1374, allocations: 248.4 kB / 0.662 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.1375, allocations: 0 / 0.662 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.1375, allocations: 3.984 kB / 0.662 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.1376, allocations: 3.938 kB / 0.662 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.138, allocations: 59.83 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.1381, allocations: 23.92 kB / 0.6621 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.1382, allocations: 7.984 kB / 0.6621 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.1382, allocations: 11.94 kB / 0.6621 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.1382, allocations: 7.984 kB / 0.6621 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1383, allocations: 7.938 kB / 0.6621 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1384, allocations: 51.95 kB / 0.6621 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1384, allocations: 11.98 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1385, allocations: 11.86 kB / 0.6622 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1386, allocations: 47.88 kB / 0.6622 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1386, allocations: 0 / 0.6622 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1386, allocations: 0 / 0.6622 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1386, allocations: 0 / 0.6622 GB, free: 8.426 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.0004559/0.1391, allocations: 347.5 kB / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1391, allocations: 12.03 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1392, allocations: 4.844 kB / 0.6626 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1393, allocations: 172.3 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1393, allocations: 384 / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1393, allocations: 384 / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1395, allocations: 50.23 kB / 0.6628 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1395, allocations: 4.172 kB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1396, allocations: 7.938 kB / 0.6628 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1396, allocations: 0 / 0.6628 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1397, allocations: 35.91 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1401, allocations: 257 kB / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1403, allocations: 38.5 kB / 0.6631 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.1404, allocations: 20.91 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.141, allocations: 457.5 kB / 0.6636 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.141, allocations: 30.56 kB / 0.6636 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.141, allocations: 4 kB / 0.6636 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003663/0.1414, allocations: 85.48 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1415, allocations: 51.41 kB / 0.6637 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.1415, allocations: 101.8 kB / 0.6638 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1416, allocations: 29.7 kB / 0.6638 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1416, allocations: 84.14 kB / 0.6639 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1416, allocations: 8.031 kB / 0.6639 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1417, allocations: 13.72 kB / 0.6639 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.1418, allocations: 310.8 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.1419, allocations: 19.97 kB / 0.6643 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.1419, allocations: 15.98 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1421, allocations: 44.83 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1421, allocations: 0 / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.1423, allocations: 69.59 kB / 0.6644 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1423, allocations: 4 kB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1423, allocations: 0 / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1424, allocations: 0 / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.1424, allocations: 11.98 kB / 0.6644 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1425, allocations: 4.031 kB / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.1425, allocations: 7.984 kB / 0.6644 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.1425, allocations: 0 / 0.6644 GB, free: 5.852 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.665e-05/0.1426, allocations: 117.7 kB / 0.6645 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1426, allocations: 0 / 0.6645 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1429, allocations: 80.59 kB / 0.6646 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1429, allocations: 4.031 kB / 0.6646 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1429, allocations: 4 kB / 0.6646 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1429, allocations: 0 / 0.6646 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1431, allocations: 161.6 kB / 0.6648 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1431, allocations: 0 / 0.6648 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.1431, allocations: 4 kB / 0.6648 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1431, allocations: 4 kB / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1431, allocations: 0 / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1432, allocations: 3.984 kB / 0.6648 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1432, allocations: 0 / 0.6648 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1434, allocations: 171.4 kB / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1435, allocations: 81.02 kB / 0.665 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1435, allocations: 0 / 0.665 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.1436, allocations: 8 kB / 0.665 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1436, allocations: 3.984 kB / 0.665 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1436, allocations: 4 kB / 0.665 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.1436, allocations: 83.5 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 4 kB / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002496/0.1439, allocations: 16 kB / 0.6651 GB, free: 5.012 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.0001939/0.1441, allocations: 111.2 kB / 0.6652 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1443, allocations: 39.95 kB / 0.6653 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1443, allocations: 0 / 0.6653 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.1444, allocations: 23.92 kB / 0.6653 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1447, allocations: 6.75 kB / 0.6653 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.1449, allocations: 131.2 kB / 0.6654 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.1452, allocations: 0.6809 MB / 0.6661 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1452, allocations: 11.44 kB / 0.6661 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1452, allocations: 0 / 0.6661 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of Templates: time 0.002112/0.1473, allocations: 0.7705 MB / 0.6669 GB, free: 3.176 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)