Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.9426/0.9426, allocations: 143.8 MB / 159.1 MB, free: 6.488 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.0009516/0.0009516, allocations: 175.3 kB / 192 MB, free: 6.723 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.396/1.396, allocations: 225.7 MB / 450.4 MB, free: 4.93 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.0007799/0.0007799, allocations: 95.61 kB / 0.5211 GB, free: 1.594 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.001643/0.001643, allocations: 273.4 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.0005122, allocations: 17 kB / 0.6948 GB, free: 59.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1812, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001854/0.1831, allocations: 1.15 MB / 0.7764 GB, free: 13.19 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006088/0.1837, allocations: 332.4 kB / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.1838, allocations: 4 kB / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.1838, allocations: 0 / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.1838, allocations: 0 / 0.7768 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1842, allocations: 51.88 kB / 0.7768 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.1842, allocations: 19.94 kB / 0.7768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1844, allocations: 7.984 kB / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.1844, allocations: 4 kB / 0.7768 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1845, allocations: 15.92 kB / 0.7769 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1845, allocations: 0 / 0.7769 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1846, allocations: 67.88 kB / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1847, allocations: 0 / 0.7769 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.1847, allocations: 37.62 kB / 0.777 GB, free: 12.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1849, allocations: 51.86 kB / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1849, allocations: 0 / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1849, allocations: 0 / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1849, allocations: 3.938 kB / 0.777 GB, free: 12.58 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.0004568/0.1854, allocations: 347.7 kB / 0.7773 GB, free: 12.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1854, allocations: 15.97 kB / 0.7774 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.1855, allocations: 4.922 kB / 0.7774 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1856, allocations: 164.4 kB / 0.7775 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1856, allocations: 4.375 kB / 0.7775 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1857, allocations: 384 / 0.7775 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1858, allocations: 54.23 kB / 0.7776 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1859, allocations: 4.188 kB / 0.7776 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1859, allocations: 3.938 kB / 0.7776 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1859, allocations: 0 / 0.7776 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1861, allocations: 39.97 kB / 0.7776 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1864, allocations: 252.9 kB / 0.7779 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1866, allocations: 46.5 kB / 0.7779 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.1867, allocations: 24.89 kB / 0.7779 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006941/0.1874, allocations: 465.5 kB / 0.7784 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1874, allocations: 34.55 kB / 0.7784 GB, free: 10.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1874, allocations: 0 / 0.7784 GB, free: 10.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000354/0.1878, allocations: 105.5 kB / 0.7785 GB, free: 10.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1878, allocations: 51.41 kB / 0.7786 GB, free: 10.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.1879, allocations: 102 kB / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1879, allocations: 29.7 kB / 0.7787 GB, free: 10.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.188, allocations: 80.14 kB / 0.7788 GB, free: 10.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.188, allocations: 7.906 kB / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.188, allocations: 3.938 kB / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1881, allocations: 318.8 kB / 0.7791 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.1882, allocations: 15.98 kB / 0.7791 GB, free: 10.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.1883, allocations: 27.98 kB / 0.7791 GB, free: 10.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1885, allocations: 48.81 kB / 0.7792 GB, free: 10.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1885, allocations: 4.062 kB / 0.7792 GB, free: 10.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001879/0.1887, allocations: 77.55 kB / 0.7792 GB, free: 9.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1887, allocations: 8 kB / 0.7792 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1887, allocations: 0 / 0.7792 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1887, allocations: 0 / 0.7792 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.1888, allocations: 16.02 kB / 0.7793 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1888, allocations: 0 / 0.7793 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.1889, allocations: 15.92 kB / 0.7793 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1889, allocations: 0 / 0.7793 GB, free: 9.941 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.503e-05/0.189, allocations: 113.8 kB / 0.7794 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.189, allocations: 0 / 0.7794 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1892, allocations: 84.72 kB / 0.7795 GB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1893, allocations: 0 / 0.7795 GB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1893, allocations: 4 kB / 0.7795 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1893, allocations: 0 / 0.7795 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1894, allocations: 165.5 kB / 0.7796 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1894, allocations: 0 / 0.7796 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.1895, allocations: 16.02 kB / 0.7796 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1895, allocations: 0 / 0.7796 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1895, allocations: 0 / 0.7796 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1895, allocations: 0 / 0.7796 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1895, allocations: 0 / 0.7796 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1898, allocations: 183.4 kB / 0.7798 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1898, allocations: 81.11 kB / 0.7799 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1898, allocations: 3.938 kB / 0.7799 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.1899, allocations: 11.98 kB / 0.7799 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.19, allocations: 0 / 0.7799 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.19, allocations: 4.031 kB / 0.7799 GB, free: 9.188 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.57e-05/0.19, allocations: 83.28 kB / 0.78 GB, free: 9.105 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.19, allocations: 0 / 0.78 GB, free: 9.105 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.1902, allocations: 19.98 kB / 0.78 GB, free: 9.086 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.0002064/0.1904, allocations: 119.2 kB / 0.7801 GB, free: 8.957 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1906, allocations: 51.95 kB / 0.7802 GB, free: 8.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1907, allocations: 0 / 0.7802 GB, free: 8.906 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.1907, allocations: 24.05 kB / 0.7802 GB, free: 8.883 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.191, allocations: 8 kB / 0.7802 GB, free: 8.875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.1912, allocations: 112.6 kB / 0.7803 GB, free: 8.738 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1915, allocations: 0.677 MB / 0.781 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.1915, allocations: 0 / 0.781 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.1916, allocations: 11.44 kB / 0.781 GB, free: 8.023 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1916, allocations: 0 / 0.781 GB, free: 8.023 MB / 458.7 MB Notification: Performance of Templates: time 0.002479/0.194, allocations: 0.5944 MB / 0.7816 GB, free: 7.434 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)