Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7699/0.7699, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.579/1.579, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0009424/0.0009422, allocations: 99.92 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.423e-05, allocations: 8 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4604, allocations: 82.31 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5947, allocations: 110 MB / 0.7413 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.595, allocations: 71.95 kB / 0.7413 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00327/0.5983, allocations: 1.247 MB / 0.7426 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5983, allocations: 4 kB / 0.7426 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.5983, allocations: 0 / 0.7426 GB, free: 11.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002934/0.5986, allocations: 322.5 kB / 0.7429 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5987, allocations: 12.03 kB / 0.7429 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.5987, allocations: 0 / 0.7429 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5988, allocations: 163 kB / 0.743 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5989, allocations: 0 / 0.743 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.5989, allocations: 0 / 0.743 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.434e-05/0.599, allocations: 4 kB / 0.743 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.599, allocations: 33.64 kB / 0.7431 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5991, allocations: 0 / 0.7431 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5991, allocations: 0 / 0.7431 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5991, allocations: 0 / 0.7431 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.5992, allocations: 130.2 kB / 0.7432 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.609e-05/0.5993, allocations: 22.56 kB / 0.7432 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.5994, allocations: 4.859 kB / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.6, allocations: 445.5 kB / 0.7437 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.6001, allocations: 30.56 kB / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.6001, allocations: 0 / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001885/0.6003, allocations: 33.64 kB / 0.7437 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.6003, allocations: 51.41 kB / 0.7438 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.6004, allocations: 89.03 kB / 0.7438 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.6004, allocations: 29.7 kB / 0.7439 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.6004, allocations: 80.14 kB / 0.744 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.6005, allocations: 3.906 kB / 0.744 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.6005, allocations: 3.938 kB / 0.744 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6006, allocations: 314.8 kB / 0.7443 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.6006, allocations: 4 kB / 0.7443 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.6006, allocations: 0 / 0.7443 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.6007, allocations: 8.062 kB / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6007, allocations: 0 / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.284e-05/0.6008, allocations: 33.64 kB / 0.7443 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6008, allocations: 7.953 kB / 0.7443 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6008, allocations: 0 / 0.7443 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6008, allocations: 4 kB / 0.7443 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.6009, allocations: 0 / 0.7443 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6009, allocations: 0 / 0.7443 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.6009, allocations: 7.922 kB / 0.7443 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.6009, allocations: 0 / 0.7443 GB, free: 9.391 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 (1): * Single equations (assignments): 1 * 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 7.133e-05/0.601, allocations: 109 kB / 0.7444 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.601, allocations: 0 / 0.7444 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6011, allocations: 37.41 kB / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6011, allocations: 0 / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6012, allocations: 0 / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6012, allocations: 3.984 kB / 0.7445 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.025e-05/0.6013, allocations: 126.2 kB / 0.7446 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6013, allocations: 0 / 0.7446 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.6013, allocations: 4 kB / 0.7446 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6013, allocations: 4.031 kB / 0.7446 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.6013, allocations: 0 / 0.7446 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6013, allocations: 4 kB / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6013, allocations: 3.953 kB / 0.7446 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.6014, allocations: 65.06 kB / 0.7447 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.6015, allocations: 77.11 kB / 0.7447 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.6015, allocations: 0 / 0.7447 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.6015, allocations: 0 / 0.7447 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.6015, allocations: 7.984 kB / 0.7447 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6015, allocations: 0 / 0.7447 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.6016, allocations: 79.28 kB / 0.7448 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6016, allocations: 0 / 0.7448 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002193/0.6018, allocations: 19.94 kB / 0.7448 GB, free: 8.777 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 (1): * Single equations (assignments): 1 * 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.0002583/0.6021, allocations: 138.1 kB / 0.745 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.6021, allocations: 8 kB / 0.745 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6022, allocations: 0 / 0.745 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-06/0.6022, allocations: 3.938 kB / 0.745 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.762e-05/0.6023, allocations: 4 kB / 0.745 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.6024, allocations: 40.06 kB / 0.745 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.6027, allocations: 0.6769 MB / 0.7457 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.6027, allocations: 4 kB / 0.7457 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.6027, allocations: 7.438 kB / 0.7457 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6027, allocations: 0 / 0.7457 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.002416/0.6051, allocations: 376.1 kB / 0.7461 GB, free: 7.473 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)