Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.7979/0.7979, allocations: 143.8 MB / 159.1 MB, free: 6.508 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.00101/0.00101, allocations: 186.5 kB / 192 MB, free: 6.727 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.409/1.409, allocations: 225.7 MB / 450.4 MB, free: 4.941 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.0009875/0.0009875, allocations: 103.6 kB / 0.5211 GB, free: 1.602 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.001966/0.001966, allocations: 287.7 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004507, allocations: 13.59 kB / 0.6948 GB, free: 59.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 82.45 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001741/0.1656, allocations: 1.15 MB / 0.7764 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000577/0.1662, allocations: 320.5 kB / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.1662, allocations: 0 / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1662, allocations: 0 / 0.7767 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.1663, allocations: 7.938 kB / 0.7767 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1666, allocations: 63.8 kB / 0.7768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.1667, allocations: 19.94 kB / 0.7768 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.1668, allocations: 7.984 kB / 0.7768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.1668, allocations: 0 / 0.7768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.1669, allocations: 15.92 kB / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.1669, allocations: 0 / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1671, allocations: 63.88 kB / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1671, allocations: 0 / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1671, allocations: 33.62 kB / 0.7769 GB, free: 12.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1673, allocations: 59.86 kB / 0.777 GB, free: 12.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1673, allocations: 0 / 0.777 GB, free: 12.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1673, allocations: 0 / 0.777 GB, free: 12.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1673, allocations: 0 / 0.777 GB, free: 12.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004626/0.1678, allocations: 347.7 kB / 0.7773 GB, free: 12.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1678, allocations: 8.031 kB / 0.7773 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.1678, allocations: 0.9375 kB / 0.7773 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.168, allocations: 168.4 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.168, allocations: 4.375 kB / 0.7775 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.168, allocations: 4.375 kB / 0.7775 GB, free: 11.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1682, allocations: 54.17 kB / 0.7776 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1682, allocations: 192 / 0.7776 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1683, allocations: 11.94 kB / 0.7776 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1683, allocations: 0 / 0.7776 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.1685, allocations: 43.97 kB / 0.7776 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.1688, allocations: 245 kB / 0.7778 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.169, allocations: 54.44 kB / 0.7779 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.169, allocations: 20.91 kB / 0.7779 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006565/0.1697, allocations: 461.5 kB / 0.7784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1698, allocations: 34.56 kB / 0.7784 GB, free: 10.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1698, allocations: 0 / 0.7784 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.1701, allocations: 101.5 kB / 0.7785 GB, free: 10.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1702, allocations: 51.41 kB / 0.7785 GB, free: 10.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.1703, allocations: 97.8 kB / 0.7786 GB, free: 10.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1703, allocations: 29.7 kB / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.1703, allocations: 88.12 kB / 0.7787 GB, free: 10.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1703, allocations: 3.906 kB / 0.7787 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1704, allocations: 0 / 0.7787 GB, free: 10.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1705, allocations: 318.9 kB / 0.779 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.1706, allocations: 23.98 kB / 0.7791 GB, free: 10.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.1706, allocations: 19.97 kB / 0.7791 GB, free: 10.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1708, allocations: 52.89 kB / 0.7791 GB, free: 10.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1708, allocations: 0 / 0.7791 GB, free: 10.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.171, allocations: 89.53 kB / 0.7792 GB, free: 10 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.171, allocations: 4 kB / 0.7792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.171, allocations: 0 / 0.7792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.171, allocations: 0 / 0.7792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.1711, allocations: 15.92 kB / 0.7792 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1711, allocations: 0 / 0.7792 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1712, allocations: 15.97 kB / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1712, allocations: 0 / 0.7793 GB, free: 9.965 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 (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 7.297e-05/0.1713, allocations: 110.3 kB / 0.7794 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1713, allocations: 4 kB / 0.7794 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.1716, allocations: 88.77 kB / 0.7794 GB, free: 9.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1716, allocations: 0 / 0.7794 GB, free: 9.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1716, allocations: 0 / 0.7794 GB, free: 9.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1716, allocations: 0 / 0.7794 GB, free: 9.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1717, allocations: 157.6 kB / 0.7796 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1717, allocations: 0 / 0.7796 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.1718, allocations: 11.98 kB / 0.7796 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1718, allocations: 3.938 kB / 0.7796 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1718, allocations: 192 / 0.7796 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1718, allocations: 4.031 kB / 0.7796 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1718, allocations: 4 kB / 0.7796 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.1721, allocations: 179.3 kB / 0.7798 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1721, allocations: 81.14 kB / 0.7799 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1722, allocations: 0 / 0.7799 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1722, allocations: 11.98 kB / 0.7799 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1723, allocations: 0 / 0.7799 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1723, allocations: 0 / 0.7799 GB, free: 9.223 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.1723, allocations: 87.27 kB / 0.78 GB, free: 9.137 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1723, allocations: 0 / 0.78 GB, free: 9.137 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.1725, allocations: 20 kB / 0.78 GB, free: 9.117 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 (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.0002118/0.1728, allocations: 123.2 kB / 0.7801 GB, free: 8.984 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.173, allocations: 51.91 kB / 0.7802 GB, free: 8.934 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.173, allocations: 0 / 0.7802 GB, free: 8.934 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.1731, allocations: 23.98 kB / 0.7802 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1733, allocations: 11.92 kB / 0.7802 GB, free: 8.898 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.1736, allocations: 100.8 kB / 0.7803 GB, free: 8.773 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1739, allocations: 0.6809 MB / 0.7809 GB, free: 8.066 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.119e-05/0.1739, allocations: 4 kB / 0.781 GB, free: 8.062 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.174, allocations: 7.438 kB / 0.781 GB, free: 8.055 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.174, allocations: 0 / 0.781 GB, free: 8.055 MB / 458.7 MB Notification: Performance of Templates: time 0.002966/0.1769, allocations: 0.594 MB / 0.7815 GB, free: 7.465 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)