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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 102 kB / 16.35 MB, free: 6.289 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.001393/0.001393, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.88 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4363, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001975/0.4384, allocations: 0.5698 MB / 0.5821 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000462/0.4389, allocations: 182.9 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.4389, allocations: 0 / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.4389, allocations: 0.625 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.4389, allocations: 2.281 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.4393, allocations: 56.05 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.4394, allocations: 2.156 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.4394, allocations: 2 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.4394, allocations: 0 / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.4395, allocations: 1.906 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.4395, allocations: 0 / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.4396, allocations: 61.38 kB / 0.5824 GB, free: 27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.4397, allocations: 2.656 kB / 0.5824 GB, free: 27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.4397, allocations: 3.984 kB / 0.5824 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.4398, allocations: 31.48 kB / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4398, allocations: 2.5 kB / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4398, allocations: 0 / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4398, allocations: 3.938 kB / 0.5824 GB, free: 26.97 MB / 446.1 MB 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.0002579/0.4401, allocations: 322.7 kB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.4402, allocations: 9.531 kB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.4402, allocations: 6.25 kB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.44e-05/0.4403, allocations: 164.4 kB / 0.5829 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4403, allocations: 0.875 kB / 0.5829 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.4403, allocations: 2.375 kB / 0.5829 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.4404, allocations: 33.17 kB / 0.5829 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4404, allocations: 192 / 0.5829 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4405, allocations: 5.312 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4405, allocations: 0 / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.4405, allocations: 6.375 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.4406, allocations: 147 kB / 0.5831 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.724e-05/0.4407, allocations: 21.95 kB / 0.5831 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.4407, allocations: 6.484 kB / 0.5831 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/0.4413, allocations: 452.5 kB / 0.5835 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.4413, allocations: 39.05 kB / 0.5836 GB, free: 25.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4414, allocations: 0 / 0.5836 GB, free: 25.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.4415, allocations: 38.52 kB / 0.5836 GB, free: 25.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.4415, allocations: 55.34 kB / 0.5836 GB, free: 25.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.25e-05/0.4415, allocations: 96.08 kB / 0.5837 GB, free: 25.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.4416, allocations: 27.05 kB / 0.5838 GB, free: 25.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.4416, allocations: 80.14 kB / 0.5838 GB, free: 25.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4416, allocations: 0 / 0.5838 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.4416, allocations: 15.88 kB / 0.5839 GB, free: 25.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.4417, allocations: 316.5 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.4417, allocations: 4.312 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.4417, allocations: 1.125 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.4417, allocations: 11.02 kB / 0.5842 GB, free: 24.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4418, allocations: 0 / 0.5842 GB, free: 24.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.567e-05/0.4418, allocations: 31.3 kB / 0.5842 GB, free: 24.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4418, allocations: 7.719 kB / 0.5842 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4418, allocations: 4.562 kB / 0.5842 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4419, allocations: 5.062 kB / 0.5842 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.4419, allocations: 2.844 kB / 0.5842 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4419, allocations: 4.547 kB / 0.5842 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-06/0.4419, allocations: 3.984 kB / 0.5842 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4419, allocations: 2.406 kB / 0.5842 GB, free: 24.89 MB / 446.1 MB 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 5.077e-05/0.442, allocations: 109 kB / 0.5843 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.442, allocations: 0 / 0.5843 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.4421, allocations: 40.73 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4421, allocations: 1.188 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4421, allocations: 6.219 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4421, allocations: 3.938 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.08e-05/0.4422, allocations: 150.9 kB / 0.5845 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4422, allocations: 1.188 kB / 0.5845 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.4422, allocations: 5.125 kB / 0.5845 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4422, allocations: 0 / 0.5845 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.4422, allocations: 9.625 kB / 0.5845 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4422, allocations: 0 / 0.5845 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4422, allocations: 1.719 kB / 0.5845 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.939e-05/0.4423, allocations: 65.09 kB / 0.5846 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.4423, allocations: 78.14 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4423, allocations: 3.938 kB / 0.5847 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.4423, allocations: 1.125 kB / 0.5847 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.4424, allocations: 0 / 0.5847 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.4424, allocations: 1.406 kB / 0.5847 GB, free: 24.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.761e-05/0.4424, allocations: 75.28 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4424, allocations: 0.9062 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.4426, allocations: 15.36 kB / 0.5848 GB, free: 24.27 MB / 446.1 MB 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.0002091/0.4428, allocations: 115.5 kB / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.096e-05/0.4429, allocations: 8.344 kB / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4429, allocations: 0 / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.896e-06/0.4429, allocations: 6.109 kB / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.4431, allocations: 5.188 kB / 0.5849 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001742/0.4433, allocations: 80.14 kB / 0.585 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.4434, allocations: 0.6702 MB / 0.5856 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.848e-06/0.4434, allocations: 0 / 0.5856 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-06/0.4434, allocations: 10.91 kB / 0.5856 GB, free: 23.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4434, allocations: 0 / 0.5856 GB, free: 23.38 MB / 446.1 MB Notification: Performance of Templates: time 0.002466/0.4459, allocations: 410.8 kB / 0.586 GB, free: 23.18 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)