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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0103/0.0103, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.002155/0.002155, allocations: 197.6 kB / 16.67 MB, free: 5.922 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 0.5863 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4448, allocations: 81.01 MB / 0.6654 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001502/0.4463, allocations: 0.5638 MB / 0.6659 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004112/0.4468, allocations: 198 kB / 0.6661 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.4468, allocations: 0 / 0.6661 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.4468, allocations: 0 / 0.6661 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.4468, allocations: 0 / 0.6661 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.4472, allocations: 49.28 kB / 0.6662 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.691e-05/0.4472, allocations: 1.25 kB / 0.6662 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.4473, allocations: 1.25 kB / 0.6662 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.4473, allocations: 0.5 kB / 0.6662 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.4473, allocations: 9.641 kB / 0.6662 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.4473, allocations: 0 / 0.6662 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.4475, allocations: 61 kB / 0.6662 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.4475, allocations: 1.469 kB / 0.6662 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.4475, allocations: 3.938 kB / 0.6663 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.4476, allocations: 32.09 kB / 0.6663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.4476, allocations: 3.938 kB / 0.6663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4476, allocations: 0 / 0.6663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.4477, allocations: 1.562 kB / 0.6663 GB, free: 6.641 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.0002092/0.4479, allocations: 321.4 kB / 0.6666 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4479, allocations: 14 kB / 0.6666 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.4479, allocations: 0.9375 kB / 0.6666 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.585e-05/0.448, allocations: 165.4 kB / 0.6668 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.448, allocations: 384 / 0.6668 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.448, allocations: 5.469 kB / 0.6668 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/0.4481, allocations: 27.45 kB / 0.6668 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4481, allocations: 192 / 0.6668 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.4481, allocations: 5.312 kB / 0.6668 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4481, allocations: 0 / 0.6668 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.4481, allocations: 5.406 kB / 0.6668 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.596e-05/0.4482, allocations: 150.8 kB / 0.667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/0.4483, allocations: 23.91 kB / 0.667 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.4483, allocations: 10.17 kB / 0.667 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.4489, allocations: 459.9 kB / 0.6674 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4489, allocations: 35.97 kB / 0.6675 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4489, allocations: 0 / 0.6675 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.449, allocations: 33.73 kB / 0.6675 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.449, allocations: 52.97 kB / 0.6675 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.517e-05/0.4491, allocations: 89.86 kB / 0.6676 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.4491, allocations: 25.7 kB / 0.6677 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.127e-05/0.4491, allocations: 84.27 kB / 0.6677 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.4491, allocations: 9 kB / 0.6677 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.4491, allocations: 15.86 kB / 0.6678 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.4492, allocations: 310.8 kB / 0.6681 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.4492, allocations: 5.25 kB / 0.6681 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.4492, allocations: 1.156 kB / 0.6681 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.4492, allocations: 7.391 kB / 0.6681 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4492, allocations: 0 / 0.6681 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.414e-05/0.4493, allocations: 43.81 kB / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4493, allocations: 6.562 kB / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4493, allocations: 0 / 0.6681 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4493, allocations: 5.344 kB / 0.6681 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-05/0.4494, allocations: 5.391 kB / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.4494, allocations: 0 / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.4494, allocations: 1.812 kB / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.4494, allocations: 0 / 0.6681 GB, free: 4.543 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.736e-05/0.4494, allocations: 111 kB / 0.6682 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.4495, allocations: 4 kB / 0.6682 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.4495, allocations: 40.73 kB / 0.6683 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4495, allocations: 5.516 kB / 0.6683 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4495, allocations: 0 / 0.6683 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4495, allocations: 0 / 0.6683 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.478e-05/0.4496, allocations: 146.9 kB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4496, allocations: 0 / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.4496, allocations: 2.094 kB / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4496, allocations: 0 / 0.6684 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.4496, allocations: 5.094 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4496, allocations: 4 kB / 0.6684 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4496, allocations: 1.062 kB / 0.6684 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.566e-05/0.4497, allocations: 62.16 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.4497, allocations: 78.02 kB / 0.6686 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.4497, allocations: 5.062 kB / 0.6686 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/0.4497, allocations: 0 / 0.6686 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-06/0.4498, allocations: 1.156 kB / 0.6686 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4498, allocations: 8.031 kB / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.152e-05/0.4498, allocations: 80.42 kB / 0.6687 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4498, allocations: 0 / 0.6687 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001972/0.45, allocations: 15.03 kB / 0.6687 GB, free: 3.91 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.0001757/0.4502, allocations: 112.2 kB / 0.6688 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7e-05/0.4502, allocations: 11.64 kB / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4502, allocations: 0 / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.4503, allocations: 6.75 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.4504, allocations: 1.156 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/0.4505, allocations: 83.27 kB / 0.6689 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.4506, allocations: 0.669 MB / 0.6695 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.145e-05/0.4507, allocations: 1.562 kB / 0.6695 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.4507, allocations: 7.562 kB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4507, allocations: 4 kB / 0.6695 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.002622/0.4533, allocations: 404.2 kB / 0.6699 GB, free: 2.789 MB / 0.4981 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)