Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007874/0.0007874, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002297, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007432/0.0007432, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001822, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9672/0.9672, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08567/1.053, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.851/1.851, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5014/2.352, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.8e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001428/0.001446, allocations: 0.6552 MB / 0.7304 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.001759, allocations: 274.5 kB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-06/0.001768, allocations: 0.5469 kB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-06/0.001773, allocations: 3.938 kB / 0.7306 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.001774, allocations: 0.5 kB / 0.7306 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.002002, allocations: 79.05 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.343e-05/0.002036, allocations: 3.938 kB / 0.7307 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.002068, allocations: 9.391 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.002098, allocations: 0.9844 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.002121, allocations: 0 / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.002129, allocations: 0.6562 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.002342, allocations: 130.3 kB / 0.7308 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.002357, allocations: 5.984 kB / 0.7308 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-06/0.002366, allocations: 1.422 kB / 0.7308 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.002481, allocations: 67.86 kB / 0.7309 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.00249, allocations: 0 / 0.7309 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.71e-07/0.002491, allocations: 1.094 kB / 0.7309 GB, free: 3.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.002501, allocations: 0 / 0.7309 GB, free: 3.18 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.0002196/0.00272, allocations: 237.4 kB / 0.7311 GB, free: 2.922 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.002746, allocations: 8.531 kB / 0.7311 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.002767, allocations: 6.531 kB / 0.7311 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.197e-05/0.002819, allocations: 109.7 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.002826, allocations: 384 / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.002833, allocations: 384 / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/0.002891, allocations: 39.67 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-06/0.002895, allocations: 192 / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-06/0.0029, allocations: 1.688 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.002903, allocations: 384 / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-06/0.002911, allocations: 3.938 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.493e-05/0.002966, allocations: 58.64 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.689e-05/0.002993, allocations: 18.52 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.003004, allocations: 9.609 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.003309, allocations: 73.92 kB / 0.7314 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.003328, allocations: 30.56 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.003329, allocations: 1.125 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.137e-05/0.0034, allocations: 29.7 kB / 0.7315 GB, free: 2.477 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.003423, allocations: 56.38 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.243e-05/0.003445, allocations: 90.52 kB / 0.7316 GB, free: 2.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.003454, allocations: 30.42 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.726e-05/0.003471, allocations: 80.14 kB / 0.7318 GB, free: 2.195 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.003492, allocations: 4.609 kB / 0.7318 GB, free: 2.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.003511, allocations: 13.72 kB / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.003582, allocations: 323.7 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.00359, allocations: 4.875 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.003594, allocations: 0.5 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/0.003614, allocations: 14.42 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003616, allocations: 0 / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.35e-05/0.003649, allocations: 33.69 kB / 0.7321 GB, free: 1.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.003661, allocations: 5.344 kB / 0.7321 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.003664, allocations: 4 kB / 0.7321 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.003673, allocations: 0 / 0.7321 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-05/0.003704, allocations: 4.594 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.003706, allocations: 1.25 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-06/0.003714, allocations: 0 / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.003721, allocations: 4 kB / 0.7321 GB, free: 1.773 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.478e-05/0.003766, allocations: 111 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-06/0.003769, allocations: 0 / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.003821, allocations: 38.3 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.003823, allocations: 0 / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.003824, allocations: 0 / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003826, allocations: 0.5312 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.521e-05/0.003872, allocations: 66.88 kB / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.003873, allocations: 0 / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-06/0.003879, allocations: 0 / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-06/0.003884, allocations: 9.766 kB / 0.7324 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.003885, allocations: 0 / 0.7324 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.003889, allocations: 0 / 0.7324 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003889, allocations: 1.219 kB / 0.7324 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.00389, allocations: 3.938 kB / 0.7324 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.395e-05/0.003934, allocations: 61.73 kB / 0.7324 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-06/0.00394, allocations: 0 / 0.7324 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-06/0.003943, allocations: 0.75 kB / 0.7324 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.003953, allocations: 4.969 kB / 0.7324 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-07/0.003953, allocations: 0.75 kB / 0.7324 GB, free: 1.438 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.944e-06/0.00396, allocations: 4.859 kB / 0.7324 GB, free: 1.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.00396, allocations: 1.969 kB / 0.7324 GB, free: 1.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001271/0.004087, allocations: 27.94 kB / 0.7325 GB, free: 1.402 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.0001818/0.004269, allocations: 128.6 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.898e-05/0.004318, allocations: 14.33 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.004322, allocations: 0 / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-06/0.004329, allocations: 8.859 kB / 0.7326 GB, free: 1.242 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.755e-05/0.004377, allocations: 11.92 kB / 0.7326 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001244/0.004501, allocations: 81.47 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.411e-05/0.004525, allocations: 51.36 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.847e-06/0.004534, allocations: 4 kB / 0.7328 GB, free: 1.051 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.004559, allocations: 52.12 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.00456, allocations: 0 / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of Templates: time 0.002077/0.006637, allocations: 0.7351 MB / 0.7335 GB, free: 304 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.803700910881162]