Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 186 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.7 MB / 0.6617 GB, free: 7.223 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007834, allocations: 94.34 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 8 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5816, allocations: 119.2 MB / 1.022 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001532/0.5831, allocations: 1.154 MB / 1.023 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005077/0.5837, allocations: 334.9 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.5837, allocations: 1.188 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.5837, allocations: 0.5938 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.5838, allocations: 6.859 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.5841, allocations: 49.2 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.703e-05/0.5841, allocations: 16.75 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.5842, allocations: 11.58 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.5843, allocations: 3.547 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.5843, allocations: 10.72 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.896e-06/0.5843, allocations: 1.406 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.5845, allocations: 65.69 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.5845, allocations: 6.781 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.5845, allocations: 30.89 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.5846, allocations: 63.94 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5847, allocations: 0 / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5847, allocations: 0 / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5847, allocations: 3.469 kB / 1.024 GB, free: 56.88 MB / 0.698 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.0003708/0.5851, allocations: 348.4 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5851, allocations: 10.16 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.5851, allocations: 5.406 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.5852, allocations: 162.3 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.5852, allocations: 3.562 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.5852, allocations: 1.75 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.5854, allocations: 60.23 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5854, allocations: 1.562 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5854, allocations: 3.938 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5855, allocations: 3.422 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.5856, allocations: 48.83 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.5859, allocations: 249.4 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.586, allocations: 42.05 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.5861, allocations: 27.05 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.5867, allocations: 461.2 kB / 1.025 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5867, allocations: 35.86 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5868, allocations: 0 / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.5871, allocations: 103.3 kB / 1.025 GB, free: 55.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.5871, allocations: 53.58 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.5872, allocations: 96.7 kB / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.5872, allocations: 31.02 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.5872, allocations: 91.53 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.5873, allocations: 7 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.5873, allocations: 0 / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.5873, allocations: 312.8 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/0.5874, allocations: 26.3 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.5875, allocations: 19.61 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.5876, allocations: 54.38 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5877, allocations: 3.938 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.5878, allocations: 82.02 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5879, allocations: 9.031 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5879, allocations: 1.656 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5879, allocations: 4.031 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.588, allocations: 11.53 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.588, allocations: 1.281 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.588, allocations: 7.906 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.5881, allocations: 1.031 kB / 1.026 GB, free: 54.71 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.5881, allocations: 112.6 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.5881, allocations: 6.062 kB / 1.026 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.5884, allocations: 89.17 kB / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5884, allocations: 0 / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5884, allocations: 4.188 kB / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5884, allocations: 0 / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.5885, allocations: 164.5 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5885, allocations: 0.8438 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.5886, allocations: 10.5 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5886, allocations: 1.312 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5886, allocations: 0.7969 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5886, allocations: 0 / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5886, allocations: 1.031 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.5888, allocations: 184.3 kB / 1.027 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.5889, allocations: 78.58 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.5889, allocations: 0.5156 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.5889, allocations: 9.078 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.589, allocations: 6.953 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.589, allocations: 1.281 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.589, allocations: 88.16 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.589, allocations: 1.125 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002148/0.5893, allocations: 13.25 kB / 1.027 GB, free: 54.01 MB / 0.698 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 (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.0001857/0.5894, allocations: 129.7 kB / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5897, allocations: 46.08 kB / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5897, allocations: 0 / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.5898, allocations: 28.45 kB / 1.027 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.59, allocations: 11.92 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.5902, allocations: 105.8 kB / 1.027 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.304e-05/0.5904, allocations: 0.6767 MB / 1.028 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.5904, allocations: 0.6094 kB / 1.028 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.5904, allocations: 12.91 kB / 1.028 GB, free: 53.08 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5904, allocations: 3.938 kB / 1.028 GB, free: 53.08 MB / 0.698 GB Notification: Performance of Templates: time 0.002399/0.5928, allocations: 0.5842 MB / 1.029 GB, free: 53.03 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)