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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7763/0.7763, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.3 MB / 396.8 MB, free: 9.188 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008381/0.0008381, allocations: 103.8 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.516e-05, allocations: 4.344 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6224/0.7726, allocations: 111.2 MB / 0.7433 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.7728, allocations: 74.56 kB / 0.7434 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004414/0.7772, allocations: 1.538 MB / 0.7449 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7773, allocations: 0 / 0.7449 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.7773, allocations: 3.938 kB / 0.7449 GB, free: 27.81 MB / 0.5105 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.0003448/0.7776, allocations: 349.1 kB / 0.7452 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7777, allocations: 11.25 kB / 0.7452 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.7777, allocations: 9.156 kB / 0.7452 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7778, allocations: 163 kB / 0.7454 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7779, allocations: 9.328 kB / 0.7454 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.7779, allocations: 0 / 0.7454 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.778, allocations: 38.61 kB / 0.7454 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.778, allocations: 0 / 0.7454 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.778, allocations: 9.25 kB / 0.7454 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.778, allocations: 0 / 0.7454 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.7781, allocations: 11 kB / 0.7455 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.7785, allocations: 267.4 kB / 0.7457 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.7785, allocations: 25.33 kB / 0.7457 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.7786, allocations: 11.23 kB / 0.7457 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.7791, allocations: 443.8 kB / 0.7462 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7792, allocations: 34.56 kB / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.7792, allocations: 0 / 0.7462 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.7793, allocations: 45.33 kB / 0.7462 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.7794, allocations: 54.78 kB / 0.7463 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.7794, allocations: 94.16 kB / 0.7464 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.7795, allocations: 25.7 kB / 0.7464 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.7795, allocations: 91.98 kB / 0.7465 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.7795, allocations: 3.906 kB / 0.7465 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.7795, allocations: 0 / 0.7465 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7797, allocations: 324 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.7797, allocations: 3.812 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.7797, allocations: 7.656 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.739e-05/0.7797, allocations: 3.844 kB / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7797, allocations: 0 / 0.7468 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.685e-05/0.7798, allocations: 50.27 kB / 0.7469 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.7798, allocations: 5.172 kB / 0.7469 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.7798, allocations: 0 / 0.7469 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7798, allocations: 4.094 kB / 0.7469 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.7799, allocations: 10.62 kB / 0.7469 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.7799, allocations: 0 / 0.7469 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.78, allocations: 10.45 kB / 0.7469 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.78, allocations: 3.984 kB / 0.7469 GB, free: 25.71 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/0.7801, allocations: 112.4 kB / 0.747 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.7801, allocations: 0 / 0.747 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.7802, allocations: 56.61 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7802, allocations: 3.781 kB / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7802, allocations: 0 / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7802, allocations: 0 / 0.7471 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.7804, allocations: 158.7 kB / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7804, allocations: 0 / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.7805, allocations: 10.77 kB / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7805, allocations: 7.625 kB / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.7805, allocations: 32 / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7805, allocations: 4 kB / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7805, allocations: 2.203 kB / 0.7472 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.7806, allocations: 141.7 kB / 0.7474 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.7807, allocations: 81.02 kB / 0.7475 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.7807, allocations: 0 / 0.7475 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.7808, allocations: 10.25 kB / 0.7475 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.7808, allocations: 6.844 kB / 0.7475 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.7808, allocations: 11.56 kB / 0.7475 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.7809, allocations: 78.97 kB / 0.7476 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7809, allocations: 0 / 0.7476 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002161/0.7811, allocations: 26.78 kB / 0.7476 GB, free: 25.03 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.7813, allocations: 130.9 kB / 0.7477 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.7814, allocations: 11.25 kB / 0.7477 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7814, allocations: 0 / 0.7477 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.7814, allocations: 11.66 kB / 0.7477 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.7816, allocations: 3.953 kB / 0.7477 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.7818, allocations: 68.06 kB / 0.7478 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.7821, allocations: 0.6862 MB / 0.7485 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.7822, allocations: 0.875 kB / 0.7485 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.7822, allocations: 7.438 kB / 0.7485 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.7822, allocations: 0 / 0.7485 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.002383/0.7846, allocations: 0.5454 MB / 0.749 GB, free: 24.1 MB / 0.5105 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)