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.0009854/0.0009855, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7506/0.7506, allocations: 130.7 MB / 138.7 MB, free: 3.508 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.367/1.367, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0008817/0.0008818, allocations: 92.64 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.827e-05, allocations: 4 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4047, allocations: 81.57 MB / 0.6282 GB, free: 42.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.5338, allocations: 110.5 MB / 0.7361 GB, free: 252 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.5341, allocations: 71.95 kB / 0.7361 GB, free: 180 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004341/0.5384, allocations: 1.529 MB / 0.7376 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5385, allocations: 0 / 0.7376 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5385, allocations: 0 / 0.7376 GB, free: 14.65 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.0003353/0.5388, allocations: 354.4 kB / 0.738 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.5389, allocations: 8.031 kB / 0.738 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.5389, allocations: 3.906 kB / 0.738 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.539, allocations: 167 kB / 0.7382 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.539, allocations: 4.875 kB / 0.7382 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.539, allocations: 1.594 kB / 0.7382 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.25e-05/0.5391, allocations: 15.94 kB / 0.7382 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.5392, allocations: 37.69 kB / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5392, allocations: 0 / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.5392, allocations: 0 / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5392, allocations: 0 / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.5396, allocations: 249.4 kB / 0.7384 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.5396, allocations: 22.58 kB / 0.7385 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.5397, allocations: 8.922 kB / 0.7385 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.5402, allocations: 445.5 kB / 0.7389 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5402, allocations: 39.86 kB / 0.7389 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5402, allocations: 0 / 0.7389 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.5404, allocations: 41.7 kB / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.5404, allocations: 51.41 kB / 0.739 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.5405, allocations: 89 kB / 0.7391 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.5405, allocations: 25.7 kB / 0.7391 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.5406, allocations: 92.11 kB / 0.7392 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.5406, allocations: 8.922 kB / 0.7392 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.5406, allocations: 0 / 0.7392 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.5407, allocations: 318.8 kB / 0.7395 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.5408, allocations: 4 kB / 0.7395 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.5408, allocations: 4 kB / 0.7395 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.5408, allocations: 8 kB / 0.7396 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5408, allocations: 0 / 0.7396 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.791e-05/0.5409, allocations: 49.59 kB / 0.7396 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.5409, allocations: 4 kB / 0.7396 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5409, allocations: 4 kB / 0.7396 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.541, allocations: 0 / 0.7396 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.5411, allocations: 11.94 kB / 0.7396 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5411, allocations: 0 / 0.7396 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.5411, allocations: 11.92 kB / 0.7396 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.5411, allocations: 4 kB / 0.7396 GB, free: 12.32 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 6.006e-05/0.5412, allocations: 113 kB / 0.7397 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.5412, allocations: 0 / 0.7397 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5413, allocations: 49.38 kB / 0.7398 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5414, allocations: 8 kB / 0.7398 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5414, allocations: 0 / 0.7398 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5414, allocations: 0 / 0.7398 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.5415, allocations: 142.2 kB / 0.7399 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5415, allocations: 0 / 0.7399 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.5416, allocations: 12.03 kB / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5416, allocations: 0 / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.5416, allocations: 3.984 kB / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.5416, allocations: 0 / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5416, allocations: 0 / 0.7399 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.5417, allocations: 131.8 kB / 0.7401 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.5418, allocations: 88.95 kB / 0.7402 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.5418, allocations: 3.984 kB / 0.7402 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.5419, allocations: 12.03 kB / 0.7402 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.5419, allocations: 3.984 kB / 0.7402 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.5419, allocations: 0 / 0.7402 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.542, allocations: 83.28 kB / 0.7403 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.542, allocations: 0 / 0.7403 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002305/0.5422, allocations: 23.94 kB / 0.7403 GB, free: 11.57 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.0002196/0.5424, allocations: 128.8 kB / 0.7404 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.479e-05/0.5425, allocations: 12 kB / 0.7404 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5425, allocations: 0 / 0.7404 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.5425, allocations: 4 kB / 0.7404 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.5427, allocations: 0 / 0.7404 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.5429, allocations: 72 kB / 0.7405 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.5431, allocations: 0.6807 MB / 0.7412 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.5432, allocations: 0 / 0.7412 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.5432, allocations: 7.438 kB / 0.7412 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.833e-06/0.5432, allocations: 0 / 0.7412 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.002188/0.5454, allocations: 0.5301 MB / 0.7417 GB, free: 10.09 MB / 0.5261 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)