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.0009219/0.0009221, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.401/1.401, allocations: 223.3 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8066/0.8066, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8.562 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5362, allocations: 81.58 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001661/0.5379, allocations: 1.141 MB / 0.5848 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004995/0.5384, allocations: 232.5 kB / 0.585 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.5384, allocations: 0 / 0.585 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.5385, allocations: 1.266 kB / 0.585 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.5385, allocations: 6.016 kB / 0.585 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.5389, allocations: 52.62 kB / 0.5851 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.5389, allocations: 18.66 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.539, allocations: 3.844 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.5391, allocations: 7.969 kB / 0.5851 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.5391, allocations: 10.03 kB / 0.5851 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.5391, allocations: 1.094 kB / 0.5851 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.5393, allocations: 65.67 kB / 0.5852 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.5393, allocations: 1.266 kB / 0.5852 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.5394, allocations: 28.02 kB / 0.5852 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.5395, allocations: 32.03 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5395, allocations: 1.297 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5395, allocations: 0 / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.5395, allocations: 0 / 0.5852 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.0003927/0.5399, allocations: 348.9 kB / 0.5856 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.54, allocations: 12.94 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.54, allocations: 2.938 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.5401, allocations: 169.2 kB / 0.5857 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5401, allocations: 0.9062 kB / 0.5857 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5401, allocations: 0.9375 kB / 0.5857 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5403, allocations: 57.62 kB / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5403, allocations: 0 / 0.5858 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.5403, allocations: 3.938 kB / 0.5858 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5403, allocations: 1.281 kB / 0.5858 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.5405, allocations: 45.97 kB / 0.5858 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.5408, allocations: 250.6 kB / 0.5861 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.541, allocations: 53.47 kB / 0.5861 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.5411, allocations: 29.36 kB / 0.5862 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.5416, allocations: 458.3 kB / 0.5866 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5417, allocations: 40.16 kB / 0.5866 GB, free: 1.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5417, allocations: 0 / 0.5866 GB, free: 1.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.542, allocations: 99.45 kB / 0.5867 GB, free: 1.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.5421, allocations: 51.97 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.5421, allocations: 108.2 kB / 0.5869 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.5422, allocations: 26.31 kB / 0.5869 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.5422, allocations: 81.81 kB / 0.587 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.5422, allocations: 13.66 kB / 0.587 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.5422, allocations: 4.125 kB / 0.587 GB, free: 1.086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.5423, allocations: 313.2 kB / 0.5873 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.5424, allocations: 22.53 kB / 0.5873 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.5425, allocations: 19.17 kB / 0.5873 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.725e-05/0.5426, allocations: 27.09 kB / 0.5874 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5426, allocations: 0.7188 kB / 0.5874 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.5428, allocations: 76.81 kB / 0.5874 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5428, allocations: 5.766 kB / 0.5874 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5428, allocations: 0 / 0.5874 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5428, allocations: 1.656 kB / 0.5875 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.5429, allocations: 11.61 kB / 0.5875 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5429, allocations: 0 / 0.5875 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.543, allocations: 8.016 kB / 0.5875 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.543, allocations: 5.781 kB / 0.5875 GB, free: 0.7188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.5431, allocations: 119.7 kB / 0.5876 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.5431, allocations: 1.188 kB / 0.5876 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.5433, allocations: 80.92 kB / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5433, allocations: 0.6562 kB / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5434, allocations: 5.062 kB / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5434, allocations: 0 / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.5435, allocations: 159.4 kB / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5435, allocations: 1.438 kB / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.5436, allocations: 10.53 kB / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5436, allocations: 1.391 kB / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.5436, allocations: 0.9062 kB / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5436, allocations: 0.5625 kB / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5436, allocations: 0 / 0.5878 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.5438, allocations: 188.1 kB / 0.588 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.5439, allocations: 78.72 kB / 0.5881 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.5439, allocations: 1.359 kB / 0.5881 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.544, allocations: 13.67 kB / 0.5881 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.544, allocations: 2.078 kB / 0.5881 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.544, allocations: 1.312 kB / 0.5881 GB, free: 100 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.5441, allocations: 83.25 kB / 0.5882 GB, free: 20 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5441, allocations: 0 / 0.5882 GB, free: 20 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.5443, allocations: 18.73 kB / 0.5882 GB, free: 16 kB / 430.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 (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.0002562/0.5446, allocations: 112.8 kB / 0.5883 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5448, allocations: 44.3 kB / 0.5884 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5448, allocations: 9.125 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.5449, allocations: 24.31 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.5452, allocations: 7.391 kB / 0.5884 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.5455, allocations: 135.6 kB / 0.5885 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5458, allocations: 0.6802 MB / 0.5892 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.5458, allocations: 9.344 kB / 0.5892 GB, free: 15.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5458, allocations: 0 / 0.5892 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Templates: time 0.00283/0.5487, allocations: 0.7677 MB / 0.5899 GB, free: 15 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.Math.Examples.BesselJ0CalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.BesselJ0CalcHelperMain.o] Error 1