Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01066/0.01066, allocations: 221.2 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001141/0.001141, allocations: 178.7 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.846/3.846, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.271/4.271, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 12 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4989, allocations: 98.71 MB / 1.104 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001279/0.5002, allocations: 1.138 MB / 1.105 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.5007, allocations: 234.8 kB / 1.105 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.5007, allocations: 4 kB / 1.105 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.5007, allocations: 0 / 1.105 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.5008, allocations: 3.938 kB / 1.105 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.5011, allocations: 47.83 kB / 1.105 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.5011, allocations: 23.91 kB / 1.105 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.5012, allocations: 5.219 kB / 1.105 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.5013, allocations: 7.938 kB / 1.105 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.5013, allocations: 13.86 kB / 1.105 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.5013, allocations: 0 / 1.105 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.5015, allocations: 67.88 kB / 1.106 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-06/0.5015, allocations: 0 / 1.106 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.5015, allocations: 25.7 kB / 1.106 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.195e-05/0.5016, allocations: 36.91 kB / 1.106 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.526e-06/0.5016, allocations: 0 / 1.106 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.886e-06/0.5017, allocations: 0 / 1.106 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.677e-06/0.5017, allocations: 3.125 kB / 1.106 GB, free: 9.082 MB / 0.5105 GB 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.0003781/0.5021, allocations: 344.7 kB / 1.106 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5021, allocations: 12.02 kB / 1.106 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.5021, allocations: 4 kB / 1.106 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.5022, allocations: 166.9 kB / 1.106 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5023, allocations: 1.062 kB / 1.106 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.5023, allocations: 3.938 kB / 1.106 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.5025, allocations: 58.92 kB / 1.106 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5025, allocations: 2.281 kB / 1.106 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5025, allocations: 3.984 kB / 1.106 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-06/0.5025, allocations: 0 / 1.106 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.5027, allocations: 45.92 kB / 1.106 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.503, allocations: 250.3 kB / 1.106 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.5032, allocations: 43.81 kB / 1.106 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5033, allocations: 35.11 kB / 1.107 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/0.5039, allocations: 451.2 kB / 1.107 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5039, allocations: 43.11 kB / 1.107 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 2.809e-06/0.504, allocations: 0.9062 kB / 1.107 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003968/0.5044, allocations: 88.41 kB / 1.107 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.5044, allocations: 56.53 kB / 1.107 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.5045, allocations: 105.8 kB / 1.107 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.852e-06/0.5045, allocations: 30.2 kB / 1.107 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.5045, allocations: 85.02 kB / 1.107 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.5046, allocations: 3.906 kB / 1.107 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-06/0.5046, allocations: 1.812 kB / 1.107 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.5046, allocations: 318.8 kB / 1.108 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.5047, allocations: 24.52 kB / 1.108 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.5048, allocations: 17.58 kB / 1.108 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.5049, allocations: 25.55 kB / 1.108 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.505, allocations: 192 / 1.108 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002316/0.5052, allocations: 77.66 kB / 1.108 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5052, allocations: 4 kB / 1.108 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.695e-06/0.5052, allocations: 7.938 kB / 1.108 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.5053, allocations: 3.938 kB / 1.108 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.5054, allocations: 16.02 kB / 1.108 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.328e-06/0.5054, allocations: 3.938 kB / 1.108 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.5055, allocations: 11.94 kB / 1.108 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-06/0.5055, allocations: 4 kB / 1.108 GB, free: 6.496 MB / 0.5105 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 (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 5.253e-05/0.5055, allocations: 105.8 kB / 1.108 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.5056, allocations: 3.906 kB / 1.108 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.5058, allocations: 84.78 kB / 1.108 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-06/0.5059, allocations: 4 kB / 1.108 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/0.5059, allocations: 0 / 1.108 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-06/0.5059, allocations: 4 kB / 1.108 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.5061, allocations: 161.6 kB / 1.108 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-06/0.5061, allocations: 0 / 1.108 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.5061, allocations: 12.03 kB / 1.108 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.354e-06/0.5062, allocations: 0 / 1.108 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-06/0.5062, allocations: 3.984 kB / 1.108 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5062, allocations: 0 / 1.108 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-06/0.5062, allocations: 3.938 kB / 1.108 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.5065, allocations: 179.5 kB / 1.108 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.5065, allocations: 77.11 kB / 1.108 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.5065, allocations: 0 / 1.108 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5066, allocations: 8 kB / 1.108 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.5067, allocations: 3.984 kB / 1.108 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-06/0.5067, allocations: 0 / 1.108 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.5067, allocations: 87.31 kB / 1.109 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.98e-07/0.5068, allocations: 0 / 1.109 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003178/0.5071, allocations: 12 kB / 1.109 GB, free: 5.66 MB / 0.5105 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 (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.0002028/0.5073, allocations: 123.5 kB / 1.109 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5075, allocations: 55.89 kB / 1.109 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.5076, allocations: 0 / 1.109 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.5077, allocations: 24.05 kB / 1.109 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.508, allocations: 8.016 kB / 1.109 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.5082, allocations: 116.5 kB / 1.109 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.5084, allocations: 0.677 MB / 1.11 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.5084, allocations: 4 kB / 1.11 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.5084, allocations: 7.438 kB / 1.11 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of SimCode: time 1.425e-06/0.5085, allocations: 0 / 1.11 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of Templates: time 0.00296/0.5114, allocations: 0.5853 MB / 1.11 GB, free: 4.004 MB / 0.5105 GB