Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 255.9 MB / 271.2 MB, free: 8.879 MB / 218.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.001027/0.001027, allocations: 187.4 kB / 330.8 MB, free: 452 kB / 250.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.309/1.309, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.0007551/0.0007552, allocations: 105.1 kB / 0.709 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 13.41 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.159, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001208/0.1603, allocations: 1.146 MB / 0.9339 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.1607, allocations: 317.4 kB / 0.9342 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.1608, allocations: 4 kB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1608, allocations: 3.984 kB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1608, allocations: 3.938 kB / 0.9342 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1611, allocations: 47.89 kB / 0.9342 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.1612, allocations: 15.98 kB / 0.9343 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.1612, allocations: 8 kB / 0.9343 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.1613, allocations: 4 kB / 0.9343 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.1613, allocations: 15.92 kB / 0.9343 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1613, allocations: 0 / 0.9343 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1614, allocations: 63.88 kB / 0.9343 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.1615, allocations: 7.984 kB / 0.9343 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.1615, allocations: 29.64 kB / 0.9344 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1616, allocations: 55.8 kB / 0.9344 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1616, allocations: 4 kB / 0.9344 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1616, allocations: 0 / 0.9344 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1616, allocations: 0 / 0.9344 GB, free: 22.35 MB / 0.5886 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.0003037/0.1619, allocations: 347.8 kB / 0.9348 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.162, allocations: 15.97 kB / 0.9348 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.162, allocations: 8.844 kB / 0.9348 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.145e-05/0.1621, allocations: 160.4 kB / 0.9349 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1621, allocations: 384 / 0.9349 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.1621, allocations: 4.375 kB / 0.9349 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1622, allocations: 54.23 kB / 0.935 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1622, allocations: 8.125 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1623, allocations: 3.938 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1623, allocations: 0 / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1624, allocations: 43.95 kB / 0.9351 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1626, allocations: 249 kB / 0.9353 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1627, allocations: 42.5 kB / 0.9353 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.1628, allocations: 28.89 kB / 0.9354 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.1633, allocations: 461.4 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.1633, allocations: 30.56 kB / 0.9358 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1633, allocations: 0 / 0.9358 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002833/0.1636, allocations: 97.64 kB / 0.9359 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.409e-05/0.1636, allocations: 55.41 kB / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.833e-05/0.1637, allocations: 101.8 kB / 0.9361 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.1637, allocations: 29.83 kB / 0.9361 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.1637, allocations: 88.08 kB / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.1637, allocations: 7.906 kB / 0.9362 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.1637, allocations: 0 / 0.9362 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.1638, allocations: 310.8 kB / 0.9365 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.1638, allocations: 23.97 kB / 0.9365 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1639, allocations: 31.86 kB / 0.9365 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.164, allocations: 48.83 kB / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1641, allocations: 4.062 kB / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001515/0.1642, allocations: 81.5 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.1642, allocations: 4 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1642, allocations: 0 / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1642, allocations: 4 kB / 0.9367 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1643, allocations: 16.02 kB / 0.9367 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1643, allocations: 0 / 0.9367 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1644, allocations: 4 kB / 0.9367 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1644, allocations: 7.984 kB / 0.9367 GB, free: 19.71 MB / 0.5886 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 3.801e-05/0.1644, allocations: 114.4 kB / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1644, allocations: 0 / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.1646, allocations: 84.78 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1646, allocations: 0 / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1646, allocations: 0 / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1647, allocations: 4 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.1648, allocations: 161.6 kB / 0.937 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1648, allocations: 0 / 0.937 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.1648, allocations: 12.03 kB / 0.9371 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1648, allocations: 0 / 0.9371 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1648, allocations: 0 / 0.9371 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1648, allocations: 4 kB / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1648, allocations: 3.984 kB / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.165, allocations: 179.4 kB / 0.9372 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.165, allocations: 85.03 kB / 0.9373 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.1651, allocations: 0 / 0.9373 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.1651, allocations: 8 kB / 0.9373 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.1652, allocations: 3.984 kB / 0.9373 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1652, allocations: 4.031 kB / 0.9373 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.753e-05/0.1652, allocations: 83.28 kB / 0.9374 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.9374 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001877/0.1654, allocations: 15.91 kB / 0.9374 GB, free: 18.86 MB / 0.5886 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.0001405/0.1655, allocations: 123.2 kB / 0.9375 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.1657, allocations: 51.91 kB / 0.9376 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1657, allocations: 3.938 kB / 0.9376 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.1658, allocations: 27.97 kB / 0.9376 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.166, allocations: 15.91 kB / 0.9376 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.1662, allocations: 104.7 kB / 0.9377 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.416e-05/0.1663, allocations: 0.677 MB / 0.9384 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.1663, allocations: 0 / 0.9384 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.1663, allocations: 11.44 kB / 0.9384 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/0.1663, allocations: 0 / 0.9384 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of Templates: time 0.00195/0.1683, allocations: 0.5862 MB / 0.939 GB, free: 17.21 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)