Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001115/0.001114, allocations: 180.2 kB / 7.651 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9426/0.9426, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 102 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.246e-05, allocations: 8 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4921, allocations: 82.31 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.6475, allocations: 110.7 MB / 0.742 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.6478, allocations: 71.95 kB / 0.742 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004815/0.6527, allocations: 1.524 MB / 0.7435 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6527, allocations: 0 / 0.7435 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.6527, allocations: 4 kB / 0.7435 GB, free: 10.46 MB / 0.5261 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.0005247/0.6533, allocations: 350.5 kB / 0.7439 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.6533, allocations: 8.031 kB / 0.7439 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.6534, allocations: 3.906 kB / 0.7439 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.6536, allocations: 175 kB / 0.7441 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.6537, allocations: 3.984 kB / 0.7441 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.6537, allocations: 0 / 0.7441 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.6538, allocations: 8 kB / 0.7441 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.6539, allocations: 41.69 kB / 0.7441 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6539, allocations: 0 / 0.7441 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.654, allocations: 0 / 0.7441 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.654, allocations: 3.938 kB / 0.7441 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.6546, allocations: 241.4 kB / 0.7443 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.6547, allocations: 34.55 kB / 0.7444 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.6547, allocations: 8.922 kB / 0.7444 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.6555, allocations: 441.5 kB / 0.7448 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.6555, allocations: 38.56 kB / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6555, allocations: 0 / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.6558, allocations: 37.7 kB / 0.7449 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.6558, allocations: 51.41 kB / 0.7449 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.6559, allocations: 93 kB / 0.745 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.6559, allocations: 25.7 kB / 0.745 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.656, allocations: 88.06 kB / 0.7451 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.656, allocations: 7.844 kB / 0.7451 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.656, allocations: 3.938 kB / 0.7451 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6562, allocations: 326.8 kB / 0.7454 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.6562, allocations: 0 / 0.7454 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.6563, allocations: 4 kB / 0.7454 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.6563, allocations: 8 kB / 0.7455 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6563, allocations: 0 / 0.7455 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.598e-05/0.6564, allocations: 45.59 kB / 0.7455 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6565, allocations: 8 kB / 0.7455 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6565, allocations: 0 / 0.7455 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6565, allocations: 96 / 0.7455 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.6566, allocations: 15.98 kB / 0.7455 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6567, allocations: 0 / 0.7455 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.6567, allocations: 8 kB / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.6567, allocations: 0 / 0.7455 GB, free: 8.133 MB / 0.5261 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 9.146e-05/0.6568, allocations: 106.8 kB / 0.7456 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.6569, allocations: 3.984 kB / 0.7456 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.657, allocations: 53.39 kB / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.657, allocations: 3.984 kB / 0.7457 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.657, allocations: 0 / 0.7457 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6571, allocations: 0 / 0.7457 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.6572, allocations: 134.2 kB / 0.7458 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6572, allocations: 0 / 0.7458 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.6573, allocations: 19.94 kB / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6573, allocations: 0 / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6573, allocations: 0 / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6574, allocations: 4.031 kB / 0.7458 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6574, allocations: 4 kB / 0.7458 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.6575, allocations: 131.5 kB / 0.746 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.6576, allocations: 85 kB / 0.746 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.6576, allocations: 11.89 kB / 0.7461 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.6577, allocations: 4 kB / 0.7461 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.6578, allocations: 8.016 kB / 0.7461 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.6578, allocations: 4 kB / 0.7461 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.6579, allocations: 83.45 kB / 0.7462 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.665e-06/0.6579, allocations: 0 / 0.7462 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003316/0.6582, allocations: 27.88 kB / 0.7462 GB, free: 7.383 MB / 0.5261 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.0004319/0.6587, allocations: 127.2 kB / 0.7463 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.6588, allocations: 12 kB / 0.7463 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6588, allocations: 0 / 0.7463 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.6588, allocations: 11.94 kB / 0.7463 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.6591, allocations: 7.984 kB / 0.7463 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.6594, allocations: 59.94 kB / 0.7464 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.6598, allocations: 0.6808 MB / 0.7471 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.6598, allocations: 3.984 kB / 0.7471 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.6599, allocations: 11.44 kB / 0.7471 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6599, allocations: 0 / 0.7471 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.002962/0.6628, allocations: 0.5155 MB / 0.7476 GB, free: 5.898 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)