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.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") 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.237/1.237, allocations: 255.9 MB / 271.2 MB, free: 8.918 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.0008452/0.0008452, allocations: 190.3 kB / 330.8 MB, free: 0.4961 MB / 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.336/1.336, allocations: 225.7 MB / 0.6016 GB, free: 1.664 MB / 426.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.0006666/0.0006665, allocations: 103.5 kB / 0.709 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 11.47 kB / 0.8261 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 109.2 MB / 0.9328 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005724/0.1509, allocations: 314 kB / 0.9331 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.1513, allocations: 264.8 kB / 0.9333 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-06/0.1513, allocations: 0 / 0.9333 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.1513, allocations: 3.938 kB / 0.9333 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.1513, allocations: 0 / 0.9333 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1516, allocations: 43.95 kB / 0.9334 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 2.825e-05/0.1517, allocations: 11.98 kB / 0.9334 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.1517, allocations: 0 / 0.9334 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.1517, allocations: 3.938 kB / 0.9334 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.1518, allocations: 3.938 kB / 0.9334 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.1518, allocations: 0 / 0.9334 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1519, allocations: 63.88 kB / 0.9334 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.1519, allocations: 0 / 0.9334 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.152, allocations: 29.64 kB / 0.9335 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.1521, allocations: 43.92 kB / 0.9335 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1521, allocations: 0 / 0.9335 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1521, allocations: 0 / 0.9335 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.1521, allocations: 4 kB / 0.9335 GB, free: 23.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001823/0.1523, allocations: 311.6 kB / 0.9338 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1523, allocations: 15.98 kB / 0.9338 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.1523, allocations: 0.9375 kB / 0.9338 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.162e-05/0.1524, allocations: 164.4 kB / 0.934 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1524, allocations: 384 / 0.934 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.1524, allocations: 384 / 0.934 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.1525, allocations: 34.2 kB / 0.934 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1525, allocations: 4.188 kB / 0.934 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.1525, allocations: 3.938 kB / 0.934 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1525, allocations: 0 / 0.934 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.1526, allocations: 0 / 0.934 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.78e-05/0.1527, allocations: 153.6 kB / 0.9342 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 2.545e-05/0.1527, allocations: 14.58 kB / 0.9342 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.1527, allocations: 8.844 kB / 0.9342 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/0.1533, allocations: 461.6 kB / 0.9346 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1533, allocations: 38.48 kB / 0.9347 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1533, allocations: 0 / 0.9347 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 9.297e-05/0.1534, allocations: 33.64 kB / 0.9347 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.434e-05/0.1534, allocations: 51.53 kB / 0.9348 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.383e-05/0.1534, allocations: 97.86 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.1535, allocations: 25.7 kB / 0.9349 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-06/0.1535, allocations: 84.14 kB / 0.935 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1535, allocations: 0 / 0.935 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.1535, allocations: 0 / 0.935 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.1535, allocations: 310.8 kB / 0.9353 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.1536, allocations: 0 / 0.9353 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-06/0.1536, allocations: 4 kB / 0.9353 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.694e-05/0.1536, allocations: 16.84 kB / 0.9353 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1536, allocations: 0 / 0.9353 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.698e-05/0.1536, allocations: 33.7 kB / 0.9353 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/0.1536, allocations: 4 kB / 0.9353 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1537, allocations: 3.984 kB / 0.9353 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1537, allocations: 3.938 kB / 0.9353 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.042e-05/0.1537, allocations: 4 kB / 0.9353 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1537, allocations: 0 / 0.9353 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-06/0.1537, allocations: 4 kB / 0.9353 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.1537, allocations: 4.031 kB / 0.9353 GB, free: 21.39 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 (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 3.39e-05/0.1538, allocations: 115 kB / 0.9354 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.1538, allocations: 0 / 0.9354 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.1538, allocations: 44.7 kB / 0.9355 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1539, allocations: 4 kB / 0.9355 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1539, allocations: 0 / 0.9355 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-06/0.1539, allocations: 0 / 0.9355 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.968e-05/0.1539, allocations: 149.7 kB / 0.9356 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1539, allocations: 0 / 0.9356 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.1539, allocations: 8.031 kB / 0.9356 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1539, allocations: 0 / 0.9356 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.1539, allocations: 7.875 kB / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1539, allocations: 0 / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.154, allocations: 0 / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.841e-05/0.154, allocations: 60.97 kB / 0.9357 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.154, allocations: 81.11 kB / 0.9358 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.154, allocations: 3.969 kB / 0.9358 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.154, allocations: 8 kB / 0.9358 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-06/0.1541, allocations: 0 / 0.9358 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1541, allocations: 0 / 0.9358 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.876e-06/0.1541, allocations: 75.28 kB / 0.9359 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.1541, allocations: 0 / 0.9359 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001819/0.1543, allocations: 16 kB / 0.9359 GB, free: 20.72 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 (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.0001487/0.1544, allocations: 124.7 kB / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.525e-05/0.1545, allocations: 4 kB / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1545, allocations: 0 / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.1545, allocations: 7.938 kB / 0.936 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.1546, allocations: 0 / 0.936 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001152/0.1547, allocations: 78.75 kB / 0.9361 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.004e-05/0.1548, allocations: 0.6772 MB / 0.9367 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.158e-06/0.1548, allocations: 0 / 0.9367 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-06/0.1548, allocations: 7.438 kB / 0.9367 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of SimCode: time 4.6e-07/0.1548, allocations: 0 / 0.9367 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of Templates: time 0.001661/0.1565, allocations: 406.9 kB / 0.9371 GB, free: 19.38 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)