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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008962, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004987/0.004987, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7989/0.7989, allocations: 132.4 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 15.98 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4402, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001567/0.4418, allocations: 1.154 MB / 0.5848 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005819/0.4424, allocations: 252.2 kB / 0.585 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.4425, allocations: 1.469 kB / 0.585 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.4425, allocations: 2.031 kB / 0.585 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.4425, allocations: 4.547 kB / 0.585 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.4429, allocations: 45.44 kB / 0.5851 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.443, allocations: 20.03 kB / 0.5851 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.4431, allocations: 11.88 kB / 0.5851 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.4431, allocations: 5.734 kB / 0.5851 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.4432, allocations: 9.375 kB / 0.5851 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.4432, allocations: 1.281 kB / 0.5851 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.4434, allocations: 65.92 kB / 0.5852 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.4434, allocations: 4.656 kB / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.4434, allocations: 34.92 kB / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.4436, allocations: 54.27 kB / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4436, allocations: 0.5312 kB / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4436, allocations: 0 / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4436, allocations: 0.7188 kB / 0.5853 GB, free: 2.898 MB / 430.1 MB 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.0004185/0.444, allocations: 349.4 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4441, allocations: 10 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.4441, allocations: 2.094 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.4442, allocations: 163 kB / 0.5858 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4442, allocations: 1.562 kB / 0.5858 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.4443, allocations: 1.984 kB / 0.5858 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4445, allocations: 57.69 kB / 0.5858 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4445, allocations: 4.844 kB / 0.5858 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4445, allocations: 3.938 kB / 0.5859 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4445, allocations: 0.9062 kB / 0.5859 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.4447, allocations: 43.72 kB / 0.5859 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.445, allocations: 253.5 kB / 0.5861 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.4452, allocations: 52.41 kB / 0.5862 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.4453, allocations: 33.48 kB / 0.5862 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.4459, allocations: 455.6 kB / 0.5867 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4459, allocations: 35.5 kB / 0.5867 GB, free: 1.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.4459, allocations: 0 / 0.5867 GB, free: 1.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003923/0.4463, allocations: 94.33 kB / 0.5868 GB, free: 1.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.4463, allocations: 53.64 kB / 0.5868 GB, free: 1.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.4464, allocations: 103.6 kB / 0.5869 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4464, allocations: 31.86 kB / 0.587 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.4464, allocations: 88.58 kB / 0.587 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.4465, allocations: 9.891 kB / 0.5871 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.4465, allocations: 11.09 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.4466, allocations: 312.2 kB / 0.5874 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.4467, allocations: 23.69 kB / 0.5874 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.4467, allocations: 22.98 kB / 0.5874 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4469, allocations: 47.02 kB / 0.5874 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4469, allocations: 4.062 kB / 0.5875 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002176/0.4472, allocations: 76 kB / 0.5875 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4472, allocations: 8.281 kB / 0.5875 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4472, allocations: 0 / 0.5875 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4472, allocations: 1.031 kB / 0.5875 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.4473, allocations: 23.3 kB / 0.5876 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4473, allocations: 5.188 kB / 0.5876 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.4474, allocations: 8.156 kB / 0.5876 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4474, allocations: 0.9375 kB / 0.5876 GB, free: 0.6914 MB / 430.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 (2): * Single equations (assignments): 2 * 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.633e-05/0.4475, allocations: 112.1 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4475, allocations: 1.766 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4477, allocations: 84.09 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4478, allocations: 1.625 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4478, allocations: 0.875 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4478, allocations: 0 / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4479, allocations: 164.3 kB / 0.5879 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4479, allocations: 0 / 0.5879 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.448, allocations: 15.64 kB / 0.5879 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.448, allocations: 7.922 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.448, allocations: 1.422 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.448, allocations: 1.188 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.448, allocations: 0.5625 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.4483, allocations: 175.9 kB / 0.5881 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.4483, allocations: 78.81 kB / 0.5882 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4483, allocations: 1.766 kB / 0.5882 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.4484, allocations: 8.344 kB / 0.5882 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.4485, allocations: 2.406 kB / 0.5882 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4485, allocations: 8.656 kB / 0.5882 GB, free: 72 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.4485, allocations: 79.95 kB / 0.5883 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4485, allocations: 4.625 kB / 0.5883 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.4488, allocations: 21.89 kB / 0.5883 GB, free: 15.98 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 (2): * Single equations (assignments): 2 * 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.0001993/0.449, allocations: 109.4 kB / 0.5884 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4492, allocations: 51.69 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4493, allocations: 0.5 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4494, allocations: 25.52 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.4497, allocations: 12.09 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.45, allocations: 105.7 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4503, allocations: 0.6757 MB / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.489e-05/0.4503, allocations: 1.984 kB / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.4503, allocations: 9.031 kB / 0.5893 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4503, allocations: 4.062 kB / 0.5893 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Templates: time 0.003365/0.4537, allocations: 0.5805 MB / 0.5898 GB, free: 14.98 MB / 446.1 MB 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)