Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.717/1.717, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.0009504/0.0009506, allocations: 170.8 kB / 393.1 MB, free: 4.066 MB / 314.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.319/1.319, allocations: 225.7 MB / 0.6743 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.000743, allocations: 92.56 kB / 0.7935 GB, free: 40.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003357, allocations: 12 kB / 0.9224 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5016, allocations: 121.3 MB / 1.041 GB, free: 59.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.000645/0.5023, allocations: 323.7 kB / 1.041 GB, free: 59.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.5027, allocations: 258.7 kB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.5027, allocations: 0 / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.5028, allocations: 0 / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.5028, allocations: 0 / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.5031, allocations: 42.92 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 2.871e-05/0.5031, allocations: 7.172 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.5032, allocations: 1.75 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.5032, allocations: 0.6562 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.5032, allocations: 2.156 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.5032, allocations: 1.594 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.5034, allocations: 63.28 kB / 1.042 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.5034, allocations: 0 / 1.042 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.5035, allocations: 25.7 kB / 1.042 GB, free: 58.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.5036, allocations: 35.41 kB / 1.042 GB, free: 58.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.5036, allocations: 0.7812 kB / 1.042 GB, free: 58.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5036, allocations: 0 / 1.042 GB, free: 58.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.5036, allocations: 1.594 kB / 1.042 GB, free: 58.73 MB / 0.698 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.0002173/0.5038, allocations: 317.5 kB / 1.042 GB, free: 58.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5039, allocations: 9.812 kB / 1.042 GB, free: 58.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.5039, allocations: 3.438 kB / 1.042 GB, free: 58.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.354e-05/0.504, allocations: 168.3 kB / 1.042 GB, free: 58.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.504, allocations: 384 / 1.042 GB, free: 58.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.504, allocations: 3.312 kB / 1.042 GB, free: 58.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.5041, allocations: 33.14 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.5041, allocations: 192 / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.5041, allocations: 4.562 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5041, allocations: 1.438 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.5041, allocations: 6.125 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.907e-05/0.5042, allocations: 150.2 kB / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.914e-05/0.5043, allocations: 21.48 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.5043, allocations: 6.484 kB / 1.042 GB, free: 57.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.5049, allocations: 452.3 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5049, allocations: 36.05 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5049, allocations: 2.219 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.505, allocations: 39.39 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.5051, allocations: 51.94 kB / 1.043 GB, free: 57.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.867e-05/0.5051, allocations: 95.17 kB / 1.043 GB, free: 57.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.5051, allocations: 25.7 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.5051, allocations: 80.14 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.5052, allocations: 11.05 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-06/0.5052, allocations: 0 / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.5052, allocations: 314.8 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-06/0.5052, allocations: 1.375 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.5052, allocations: 1.375 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.08e-05/0.5053, allocations: 8.797 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5053, allocations: 1.969 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.043e-05/0.5053, allocations: 33.52 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5053, allocations: 8.031 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5053, allocations: 1.375 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5054, allocations: 6.75 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.557e-05/0.5054, allocations: 1.375 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5054, allocations: 4.531 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-06/0.5054, allocations: 1.375 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.5054, allocations: 0.6875 kB / 1.043 GB, free: 56.7 MB / 0.698 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 4.428e-05/0.5055, allocations: 117.2 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.5055, allocations: 1.375 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.5056, allocations: 38.58 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5056, allocations: 0.7812 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5056, allocations: 0 / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5056, allocations: 5.844 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.69e-05/0.5056, allocations: 144.1 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5056, allocations: 2.062 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.5057, allocations: 3.219 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5057, allocations: 3.891 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.5057, allocations: 5.312 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5057, allocations: 0 / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5057, allocations: 0 / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.534e-05/0.5057, allocations: 63.94 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.5058, allocations: 78.48 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.5058, allocations: 3.938 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.5058, allocations: 1.375 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.5058, allocations: 2.203 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5058, allocations: 1.375 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.058e-05/0.5058, allocations: 79.56 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.5058, allocations: 0 / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002121/0.506, allocations: 15 kB / 1.044 GB, free: 56.11 MB / 0.698 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.0001705/0.5062, allocations: 125 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.36e-05/0.5063, allocations: 10.27 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5063, allocations: 4.062 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.5063, allocations: 1.375 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.5064, allocations: 2.812 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001275/0.5066, allocations: 72.55 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.5067, allocations: 0.6711 MB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.5067, allocations: 5.125 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-06/0.5067, allocations: 13.58 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5067, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of Templates: time 0.001971/0.5087, allocations: 404.8 kB / 1.045 GB, free: 55.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)