Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.823/0.823, allocations: 143.8 MB / 159.1 MB, free: 6.527 MB / 122.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.0009027/0.0009029, allocations: 174.5 kB / 192 MB, free: 6.738 MB / 154.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.436/1.436, allocations: 225.7 MB / 450.4 MB, free: 4.984 MB / 330.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.0008792/0.0008791, allocations: 115.2 kB / 0.5211 GB, free: 1.645 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 283.2 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004101, allocations: 13.06 kB / 0.6948 GB, free: 59.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.000692/0.1597, allocations: 302.5 kB / 0.7756 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005025/0.1602, allocations: 275.1 kB / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-06/0.1602, allocations: 0 / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1602, allocations: 4 kB / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1602, allocations: 3.938 kB / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1605, allocations: 39.89 kB / 0.7759 GB, free: 13.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.117e-05/0.1606, allocations: 8 kB / 0.7759 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.1606, allocations: 0 / 0.7759 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.1607, allocations: 3.938 kB / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.351e-05/0.1607, allocations: 0 / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-06/0.1607, allocations: 0 / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1609, allocations: 59.89 kB / 0.776 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1609, allocations: 0 / 0.776 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.161, allocations: 25.7 kB / 0.776 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1611, allocations: 31.94 kB / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1611, allocations: 0 / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1611, allocations: 4 kB / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1611, allocations: 0 / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002931/0.1614, allocations: 319.6 kB / 0.7764 GB, free: 13.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1615, allocations: 12.03 kB / 0.7764 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.1615, allocations: 0.9375 kB / 0.7764 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.1616, allocations: 160.4 kB / 0.7765 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1616, allocations: 384 / 0.7765 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1616, allocations: 384 / 0.7765 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.514e-05/0.1617, allocations: 38.19 kB / 0.7766 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1617, allocations: 4.188 kB / 0.7766 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1617, allocations: 7.922 kB / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1618, allocations: 0 / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.1618, allocations: 4 kB / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.1619, allocations: 149.6 kB / 0.7767 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.162, allocations: 18.61 kB / 0.7767 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.162, allocations: 8.797 kB / 0.7767 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.1627, allocations: 461.5 kB / 0.7772 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1627, allocations: 30.56 kB / 0.7772 GB, free: 12.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1627, allocations: 0 / 0.7772 GB, free: 12.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.1628, allocations: 33.64 kB / 0.7772 GB, free: 12.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1629, allocations: 59.53 kB / 0.7773 GB, free: 12.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.582e-05/0.1629, allocations: 89.86 kB / 0.7774 GB, free: 11.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1629, allocations: 25.7 kB / 0.7774 GB, free: 11.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.163, allocations: 84.12 kB / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.163, allocations: 3.906 kB / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.163, allocations: 4 kB / 0.7775 GB, free: 11.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1631, allocations: 310.8 kB / 0.7778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.1631, allocations: 3.938 kB / 0.7778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-06/0.1631, allocations: 4 kB / 0.7778 GB, free: 11.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/0.1632, allocations: 8.922 kB / 0.7778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1632, allocations: 7.938 kB / 0.7778 GB, free: 11.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.437e-05/0.1632, allocations: 29.7 kB / 0.7778 GB, free: 11.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1632, allocations: 4 kB / 0.7778 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1633, allocations: 0 / 0.7778 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1633, allocations: 7.922 kB / 0.7779 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/0.1633, allocations: 4 kB / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1633, allocations: 0 / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.1633, allocations: 320 / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.1633, allocations: 4 kB / 0.7779 GB, free: 11.42 MB / 458.7 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 (1): * Single equations (assignments): 1 * 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 6.644e-05/0.1634, allocations: 113.8 kB / 0.778 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.1634, allocations: 4 kB / 0.778 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/0.1635, allocations: 44.69 kB / 0.778 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1635, allocations: 0 / 0.778 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1635, allocations: 0 / 0.778 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1635, allocations: 0 / 0.778 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.495e-05/0.1636, allocations: 141.7 kB / 0.7782 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1636, allocations: 4.031 kB / 0.7782 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.1636, allocations: 4 kB / 0.7782 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1637, allocations: 0 / 0.7782 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1637, allocations: 11.88 kB / 0.7782 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1637, allocations: 0 / 0.7782 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1637, allocations: 3.984 kB / 0.7782 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.951e-05/0.1637, allocations: 57.08 kB / 0.7782 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.1638, allocations: 77.11 kB / 0.7783 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1638, allocations: 7.969 kB / 0.7783 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.1638, allocations: 0 / 0.7783 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.1638, allocations: 3.984 kB / 0.7783 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1638, allocations: 0 / 0.7783 GB, free: 10.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.1639, allocations: 79.28 kB / 0.7784 GB, free: 10.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 4 kB / 0.7784 GB, free: 10.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.1641, allocations: 12 kB / 0.7784 GB, free: 10.76 MB / 458.7 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 (1): * Single equations (assignments): 1 * 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.0002014/0.1643, allocations: 123.2 kB / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.1643, allocations: 7.984 kB / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1643, allocations: 0 / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.1644, allocations: 7.938 kB / 0.7785 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.1645, allocations: 6.344 kB / 0.7785 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.1646, allocations: 74.89 kB / 0.7786 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1649, allocations: 0.677 MB / 0.7793 GB, free: 9.801 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.267e-05/0.1649, allocations: 3.984 kB / 0.7793 GB, free: 9.797 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.1649, allocations: 11.42 kB / 0.7793 GB, free: 9.785 MB / 458.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1649, allocations: 0 / 0.7793 GB, free: 9.785 MB / 458.7 MB Notification: Performance of Templates: time 0.001977/0.1669, allocations: 401.7 kB / 0.7797 GB, free: 9.395 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)