Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001047/0.001047, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7231/0.7231, allocations: 130.7 MB / 138.7 MB, free: 3.594 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.415/1.415, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0008511/0.000851, allocations: 94.81 kB / 473.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.754e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4626, allocations: 81.57 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.6108, allocations: 109.8 MB / 0.7354 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.6111, allocations: 75.95 kB / 0.7354 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003502/0.6147, allocations: 1.235 MB / 0.7366 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6147, allocations: 0 / 0.7366 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6147, allocations: 0 / 0.7366 GB, free: 15.7 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.0003126/0.615, allocations: 334.4 kB / 0.737 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.6151, allocations: 8.031 kB / 0.737 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.6151, allocations: 0 / 0.737 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.6153, allocations: 163 kB / 0.7371 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6153, allocations: 0 / 0.7371 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.6153, allocations: 4 kB / 0.7371 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.474e-05/0.6154, allocations: 0 / 0.7371 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.428e-05/0.6155, allocations: 29.7 kB / 0.7372 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6155, allocations: 3.984 kB / 0.7372 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6155, allocations: 0 / 0.7372 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6155, allocations: 4 kB / 0.7372 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.6157, allocations: 134.2 kB / 0.7373 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.198e-05/0.6158, allocations: 18.52 kB / 0.7373 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.6158, allocations: 4.953 kB / 0.7373 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.6165, allocations: 449.5 kB / 0.7378 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.6165, allocations: 31.5 kB / 0.7378 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.6165, allocations: 0 / 0.7378 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001802/0.6167, allocations: 29.7 kB / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6167, allocations: 51.44 kB / 0.7379 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/0.6168, allocations: 89 kB / 0.7379 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.6168, allocations: 25.7 kB / 0.738 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.6169, allocations: 80.14 kB / 0.738 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.6169, allocations: 3.906 kB / 0.738 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.6169, allocations: 0 / 0.738 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.617, allocations: 318.8 kB / 0.7384 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.6171, allocations: 7.938 kB / 0.7384 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.6171, allocations: 3.938 kB / 0.7384 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.6171, allocations: 4.062 kB / 0.7384 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6171, allocations: 0 / 0.7384 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.988e-05/0.6172, allocations: 37.66 kB / 0.7384 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6173, allocations: 4 kB / 0.7384 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6173, allocations: 0.5469 kB / 0.7384 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6173, allocations: 0 / 0.7384 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.6173, allocations: 0 / 0.7384 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.6174, allocations: 4 kB / 0.7384 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.6174, allocations: 3.938 kB / 0.7384 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.6174, allocations: 3.984 kB / 0.7384 GB, free: 13.6 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.611e-05/0.6175, allocations: 106.7 kB / 0.7385 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.6175, allocations: 3.953 kB / 0.7385 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.6176, allocations: 37.39 kB / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6176, allocations: 0 / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6176, allocations: 0 / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6177, allocations: 4 kB / 0.7386 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.6177, allocations: 126.2 kB / 0.7387 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6178, allocations: 4 kB / 0.7387 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.6178, allocations: 4.031 kB / 0.7387 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6178, allocations: 0 / 0.7387 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.6178, allocations: 4 kB / 0.7387 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6178, allocations: 3.953 kB / 0.7387 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6178, allocations: 0 / 0.7387 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.6179, allocations: 57.12 kB / 0.7388 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.618, allocations: 77.11 kB / 0.7388 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.618, allocations: 0 / 0.7388 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-06/0.618, allocations: 8.031 kB / 0.7388 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.618, allocations: 3.953 kB / 0.7388 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.6181, allocations: 3.938 kB / 0.7388 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.6181, allocations: 75.28 kB / 0.7389 GB, free: 13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6181, allocations: 0 / 0.7389 GB, free: 13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002404/0.6183, allocations: 19.94 kB / 0.7389 GB, free: 12.98 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.0003182/0.6187, allocations: 135.2 kB / 0.7391 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.352e-05/0.6187, allocations: 7.984 kB / 0.7391 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6188, allocations: 0 / 0.7391 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.6188, allocations: 4 kB / 0.7391 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.6189, allocations: 3.984 kB / 0.7391 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.6191, allocations: 52.02 kB / 0.7391 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.6194, allocations: 0.6806 MB / 0.7398 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.6194, allocations: 4 kB / 0.7398 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.6194, allocations: 7.438 kB / 0.7398 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of SimCode: time 2.003e-06/0.6195, allocations: 0 / 0.7398 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.002386/0.6218, allocations: 368.1 kB / 0.7402 GB, free: 11.68 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)