Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.001101/0.001101, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001811/0.002912, 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.0009827/0.0009827, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.002117, 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.9746/0.9746, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.085, allocations: 53.66 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 2.005/2.005, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5113/2.517, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 177] 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.537e-05, allocations: 5.609 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00318/0.003215, allocations: 1.548 MB / 0.7312 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004985/0.003714, allocations: 255.4 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.003755, allocations: 0 / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.003796, allocations: 0 / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.003844, allocations: 5.531 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.004201, allocations: 57.81 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.972e-05/0.004301, allocations: 24.69 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.004417, allocations: 4.5 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.004525, allocations: 15.47 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.00459, allocations: 7.984 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.004607, allocations: 8.703 kB / 0.7315 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.004817, allocations: 64.47 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.004842, allocations: 6.266 kB / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.004864, allocations: 8.875 kB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.00505, allocations: 46.53 kB / 0.7317 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.069e-05/0.00507, allocations: 0 / 0.7317 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.005073, allocations: 1.422 kB / 0.7317 GB, free: 2.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.005089, allocations: 3.938 kB / 0.7317 GB, free: 2.395 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004497/0.005539, allocations: 237.4 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.005584, allocations: 12.03 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.005616, allocations: 1.562 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.005726, allocations: 114.6 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.005739, allocations: 1.359 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.005751, allocations: 4.375 kB / 0.732 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.005884, allocations: 51.73 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.005891, allocations: 1.594 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.005897, allocations: 384 / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.005908, allocations: 8.359 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.005933, allocations: 3.938 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.006201, allocations: 156.8 kB / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.006262, allocations: 24.14 kB / 0.7323 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.006277, allocations: 6.062 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.006637, allocations: 73.5 kB / 0.7323 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.006664, allocations: 36.16 kB / 0.7324 GB, free: 1.594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.006666, allocations: 0 / 0.7324 GB, free: 1.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.0068, allocations: 37.62 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.006832, allocations: 60.03 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.006897, allocations: 106.7 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006909, allocations: 27.02 kB / 0.7326 GB, free: 1.332 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.006947, allocations: 84.08 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.006969, allocations: 7.953 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.006997, allocations: 13.72 kB / 0.7327 GB, free: 1.219 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.007088, allocations: 321.4 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.007099, allocations: 0 / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-06/0.007108, allocations: 0 / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.007136, allocations: 18.19 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007139, allocations: 0 / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.147e-05/0.0072, allocations: 37.62 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.00722, allocations: 8.656 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007226, allocations: 0 / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.007245, allocations: 1.125 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.007333, allocations: 8.594 kB / 0.7331 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.007337, allocations: 0 / 0.7331 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.007359, allocations: 4.938 kB / 0.7331 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.007366, allocations: 0 / 0.7331 GB, free: 0.8164 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 (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.261e-05/0.007439, allocations: 114.7 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.007451, allocations: 0 / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.007547, allocations: 46.34 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007549, allocations: 1.094 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.007553, allocations: 7.938 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007556, allocations: 0 / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.304e-05/0.007649, allocations: 66.75 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00765, allocations: 0 / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.007685, allocations: 9.203 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.007696, allocations: 7.953 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007698, allocations: 0.875 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.007702, allocations: 0.5625 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.007704, allocations: 0 / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.007706, allocations: 5.438 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.007797, allocations: 131.5 kB / 0.7334 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.007805, allocations: 0 / 0.7334 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.007837, allocations: 8.625 kB / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.00787, allocations: 3.984 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.007873, allocations: 1.406 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.453e-05/0.007887, allocations: 16.78 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.007887, allocations: 0.75 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001378/0.008025, allocations: 19.94 kB / 0.7335 GB, free: 344 kB / 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 (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.0004255/0.008451, allocations: 99.64 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.963e-05/0.00852, allocations: 13.73 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.008525, allocations: 0 / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.00855, allocations: 10.77 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.00873, allocations: 35.11 kB / 0.7336 GB, free: 168 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.009164, allocations: 119.2 kB / 0.7338 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.009224, allocations: 54.61 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.00925, allocations: 4.266 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.009301, allocations: 55.38 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/0.009302, allocations: 0 / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002872/0.01217, allocations: 0.7279 MB / 0.7346 GB, free: 15.2 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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: 5.131434352137148]