Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7512/0.7512, allocations: 143.8 MB / 159.1 MB, free: 6.535 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.0009745/0.0009746, allocations: 187.3 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.406/1.406, 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.0008739/0.000874, allocations: 103.5 kB / 0.5211 GB, free: 1.648 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.001697/0.001697, allocations: 275.5 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.000425, allocations: 19.47 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007123/0.1547, allocations: 306.5 kB / 0.7756 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.1552, allocations: 283.1 kB / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-06/0.1552, allocations: 0 / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.1553, allocations: 0 / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-06/0.1553, allocations: 4 kB / 0.7759 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1556, allocations: 43.89 kB / 0.7759 GB, free: 13.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.3e-05/0.1556, allocations: 4 kB / 0.7759 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1557, allocations: 7.938 kB / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.088e-05/0.1557, allocations: 0 / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.1557, allocations: 0 / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.1558, allocations: 0 / 0.7759 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1559, allocations: 59.88 kB / 0.776 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.1559, allocations: 0 / 0.776 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.156, allocations: 33.69 kB / 0.776 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1561, allocations: 31.95 kB / 0.7761 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1561, allocations: 0 / 0.7761 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1561, allocations: 0 / 0.7761 GB, free: 13.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1561, allocations: 0 / 0.7761 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.0002627/0.1564, allocations: 323.6 kB / 0.7764 GB, free: 13.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1564, allocations: 8.031 kB / 0.7764 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.1565, allocations: 8.875 kB / 0.7764 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.1565, allocations: 160.4 kB / 0.7765 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1566, allocations: 384 / 0.7765 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.1566, allocations: 4.375 kB / 0.7765 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.277e-05/0.1567, allocations: 30.25 kB / 0.7766 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1567, allocations: 4.172 kB / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1567, allocations: 7.938 kB / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1567, allocations: 0 / 0.7766 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.386e-05/0.1567, allocations: 3.938 kB / 0.7766 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.1568, allocations: 145.7 kB / 0.7767 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/0.1569, allocations: 26.48 kB / 0.7768 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.1569, allocations: 8.859 kB / 0.7768 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/0.1576, allocations: 461.5 kB / 0.7772 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1576, allocations: 30.56 kB / 0.7772 GB, free: 12.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 2.504e-06/0.1576, allocations: 4 kB / 0.7772 GB, free: 12.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.1577, allocations: 37.62 kB / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1578, allocations: 55.34 kB / 0.7773 GB, free: 12.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.171e-05/0.1578, allocations: 89.86 kB / 0.7774 GB, free: 11.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1578, allocations: 25.7 kB / 0.7774 GB, free: 11.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.1579, allocations: 80.14 kB / 0.7775 GB, free: 11.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.1579, allocations: 7.906 kB / 0.7775 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1579, allocations: 4 kB / 0.7775 GB, free: 11.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.158, allocations: 311 kB / 0.7778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.158, allocations: 4 kB / 0.7778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.158, allocations: 0 / 0.7778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.1581, allocations: 8.859 kB / 0.7778 GB, free: 11.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1581, allocations: 0 / 0.7778 GB, free: 11.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.518e-05/0.1581, allocations: 33.69 kB / 0.7779 GB, free: 11.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1582, allocations: 8 kB / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1582, allocations: 3.938 kB / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1582, allocations: 3.938 kB / 0.7779 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-05/0.1582, allocations: 4.094 kB / 0.7779 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1582, allocations: 0 / 0.7779 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.1582, allocations: 288 / 0.7779 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1583, allocations: 4 kB / 0.7779 GB, free: 11.41 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.627e-05/0.1583, allocations: 112.2 kB / 0.778 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-06/0.1583, allocations: 0 / 0.778 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.1584, allocations: 44.69 kB / 0.778 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1584, allocations: 0 / 0.778 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1584, allocations: 4.031 kB / 0.778 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1584, allocations: 0 / 0.778 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.056e-05/0.1585, allocations: 145.7 kB / 0.7782 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1585, allocations: 0 / 0.7782 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.1586, allocations: 3.984 kB / 0.7782 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1586, allocations: 7.938 kB / 0.7782 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1586, allocations: 15.88 kB / 0.7782 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1586, allocations: 0 / 0.7782 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1586, allocations: 0 / 0.7782 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.542e-05/0.1587, allocations: 53.14 kB / 0.7783 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1587, allocations: 81.09 kB / 0.7783 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1587, allocations: 7.938 kB / 0.7783 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.1587, allocations: 0 / 0.7783 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.1588, allocations: 3.938 kB / 0.7783 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.1588, allocations: 0 / 0.7783 GB, free: 10.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.1588, allocations: 79.28 kB / 0.7784 GB, free: 10.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1588, allocations: 0 / 0.7784 GB, free: 10.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.159, allocations: 12 kB / 0.7784 GB, free: 10.75 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.0002041/0.1592, allocations: 132.1 kB / 0.7786 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.1593, allocations: 7.938 kB / 0.7786 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1593, allocations: 0 / 0.7786 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-06/0.1593, allocations: 0 / 0.7786 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.1594, allocations: 4.125 kB / 0.7786 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001289/0.1595, allocations: 78.77 kB / 0.7786 GB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1597, allocations: 0.6731 MB / 0.7793 GB, free: 9.789 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.372e-05/0.1598, allocations: 4 kB / 0.7793 GB, free: 9.785 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-06/0.1598, allocations: 7.438 kB / 0.7793 GB, free: 9.777 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1598, allocations: 0 / 0.7793 GB, free: 9.777 MB / 458.7 MB Notification: Performance of Templates: time 0.002078/0.1619, allocations: 404.7 kB / 0.7797 GB, free: 9.387 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)