Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004799/0.004799, allocations: 100.2 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 186.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9758/0.9758, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 0.5857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4422, allocations: 80.93 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0015/0.4437, allocations: 0.563 MB / 0.6652 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.4441, allocations: 200.8 kB / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.4442, allocations: 1.281 kB / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.4442, allocations: 0 / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.4442, allocations: 0 / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.4446, allocations: 58.47 kB / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.448e-05/0.4446, allocations: 1.094 kB / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.4447, allocations: 1.5 kB / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.204e-05/0.4447, allocations: 0 / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.564e-05/0.4447, allocations: 0 / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.4447, allocations: 5.969 kB / 0.6655 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4449, allocations: 65.95 kB / 0.6656 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.4449, allocations: 3.938 kB / 0.6656 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.4449, allocations: 0 / 0.6656 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.445, allocations: 40.33 kB / 0.6656 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.445, allocations: 1.344 kB / 0.6656 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.445, allocations: 0 / 0.6656 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.445, allocations: 0 / 0.6656 GB, free: 6.922 MB / 0.4981 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.0002304/0.4453, allocations: 329.2 kB / 0.6659 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.4453, allocations: 13.28 kB / 0.6659 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.4453, allocations: 2.281 kB / 0.6659 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.612e-05/0.4454, allocations: 163.1 kB / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.4454, allocations: 384 / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.4454, allocations: 1.75 kB / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.4455, allocations: 27.61 kB / 0.6661 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4455, allocations: 4.125 kB / 0.6661 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4455, allocations: 5.406 kB / 0.6661 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4455, allocations: 3.984 kB / 0.6661 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.4455, allocations: 1.438 kB / 0.6661 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.173e-05/0.4456, allocations: 155.3 kB / 0.6663 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.8e-05/0.4457, allocations: 15.83 kB / 0.6663 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.4457, allocations: 10.27 kB / 0.6663 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.4463, allocations: 462.1 kB / 0.6667 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4463, allocations: 31.81 kB / 0.6668 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.4463, allocations: 0 / 0.6668 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.4464, allocations: 38.83 kB / 0.6668 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.4464, allocations: 51.41 kB / 0.6669 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.664e-05/0.4465, allocations: 93.84 kB / 0.6669 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.4465, allocations: 31.02 kB / 0.667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.748e-06/0.4465, allocations: 84.27 kB / 0.6671 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.4465, allocations: 4 kB / 0.6671 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.4465, allocations: 12.66 kB / 0.6671 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/0.4466, allocations: 310.8 kB / 0.6674 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.4466, allocations: 1.375 kB / 0.6674 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.4466, allocations: 5.125 kB / 0.6674 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.4466, allocations: 11.33 kB / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4466, allocations: 0 / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.949e-05/0.4467, allocations: 42.91 kB / 0.6674 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4467, allocations: 5.688 kB / 0.6674 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.4467, allocations: 0 / 0.6674 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4467, allocations: 3.938 kB / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.4468, allocations: 2.25 kB / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4468, allocations: 0 / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.4468, allocations: 1.188 kB / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.4468, allocations: 0 / 0.6674 GB, free: 4.82 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.4468, allocations: 106.9 kB / 0.6675 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.4468, allocations: 5.281 kB / 0.6675 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.4469, allocations: 44.19 kB / 0.6676 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4469, allocations: 1.344 kB / 0.6676 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4469, allocations: 0 / 0.6676 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4469, allocations: 0 / 0.6676 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.851e-05/0.447, allocations: 147.9 kB / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.447, allocations: 0 / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.447, allocations: 5.328 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.447, allocations: 0 / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.447, allocations: 5.219 kB / 0.6677 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.447, allocations: 4.031 kB / 0.6677 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.447, allocations: 0 / 0.6677 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.599e-05/0.4471, allocations: 59.8 kB / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.4471, allocations: 77.11 kB / 0.6679 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.4471, allocations: 9.422 kB / 0.6679 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.4471, allocations: 0 / 0.6679 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.4471, allocations: 1.219 kB / 0.6679 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4472, allocations: 7.969 kB / 0.6679 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.085e-05/0.4472, allocations: 79.22 kB / 0.668 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4472, allocations: 0 / 0.668 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000197/0.4474, allocations: 12 kB / 0.668 GB, free: 4.191 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.4475, allocations: 117.6 kB / 0.6681 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.376e-05/0.4476, allocations: 7.969 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4476, allocations: 0 / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.4476, allocations: 2.781 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.4478, allocations: 1.625 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001496/0.4479, allocations: 92.31 kB / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.448, allocations: 0.6757 MB / 0.6688 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.448, allocations: 4 kB / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-06/0.448, allocations: 7.438 kB / 0.6689 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.448, allocations: 4.125 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Templates: time 0.002159/0.4502, allocations: 406.7 kB / 0.6693 GB, free: 3.059 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)