Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.0007825/0.0007825, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001887, 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.0006855/0.0006855, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000927/0.001612, 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.9546/0.9546, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.055, 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 1.966/1.966, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5718/2.537, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.344e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002498/0.002531, allocations: 1.547 MB / 0.7312 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000321/0.002852, allocations: 236.8 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.002887, allocations: 4 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.002918, allocations: 7.922 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.002959, allocations: 1.312 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.00324, allocations: 49.88 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.003305, allocations: 24.7 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.003386, allocations: 4.547 kB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.003471, allocations: 14.03 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.00352, allocations: 12.86 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.003533, allocations: 5 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.003695, allocations: 73.22 kB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.003714, allocations: 4.656 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.00373, allocations: 6.188 kB / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003869, allocations: 42.28 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.003881, allocations: 0 / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003882, allocations: 0.5 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.003895, allocations: 0 / 0.7316 GB, free: 2.41 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.000405/0.0043, allocations: 242.2 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.004333, allocations: 8.938 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.004366, allocations: 4.938 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.004455, allocations: 114.5 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004466, allocations: 4.375 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.00448, allocations: 9.578 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004589, allocations: 50.95 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.004595, allocations: 192 / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.004601, allocations: 1.906 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004605, allocations: 0.9062 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.004625, allocations: 13.64 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.004835, allocations: 144.3 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.004895, allocations: 30.53 kB / 0.7322 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004914, allocations: 8.922 kB / 0.7322 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.005236, allocations: 66.88 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.005263, allocations: 30.56 kB / 0.7323 GB, free: 1.609 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.005265, allocations: 4 kB / 0.7323 GB, free: 1.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.005393, allocations: 34.59 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.005429, allocations: 59.34 kB / 0.7324 GB, free: 1.496 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.005483, allocations: 103.9 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.005492, allocations: 25.7 kB / 0.7326 GB, free: 1.352 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.005521, allocations: 88.11 kB / 0.7326 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.005537, allocations: 6.688 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.005559, allocations: 17.72 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.005632, allocations: 314.8 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.005641, allocations: 4 kB / 0.733 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.005649, allocations: 1.219 kB / 0.733 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.005671, allocations: 16.84 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.005672, allocations: 0 / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.195e-05/0.005714, allocations: 30.36 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005727, allocations: 9.125 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.005733, allocations: 12.45 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.005743, allocations: 0 / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.005799, allocations: 8.594 kB / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.005806, allocations: 0.7812 kB / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.005824, allocations: 7.938 kB / 0.733 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005828, allocations: 2.141 kB / 0.7331 GB, free: 0.8242 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 5.079e-05/0.005878, allocations: 109.8 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.00589, allocations: 4 kB / 0.7332 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.005963, allocations: 41.56 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005965, allocations: 1.219 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.005967, allocations: 3.938 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005971, allocations: 4 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.743e-05/0.006058, allocations: 66.66 kB / 0.7333 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00606, allocations: 0.8438 kB / 0.7333 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.00609, allocations: 7.984 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.006096, allocations: 9.109 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006097, allocations: 4 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-06/0.006102, allocations: 0 / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006102, allocations: 0.75 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.006104, allocations: 4.922 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.328e-05/0.006178, allocations: 128.3 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-06/0.006186, allocations: 0.75 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.006214, allocations: 8 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.006243, allocations: 9.594 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.006246, allocations: 0 / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.00626, allocations: 12.8 kB / 0.7334 GB, free: 376 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.00626, allocations: 0 / 0.7334 GB, free: 376 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001303/0.00639, allocations: 17.28 kB / 0.7335 GB, free: 360 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.0001641/0.006554, allocations: 102.2 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.798e-05/0.006632, allocations: 22.8 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.006637, allocations: 0 / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.006654, allocations: 10.88 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.006791, allocations: 38.8 kB / 0.7336 GB, free: 168 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.007159, allocations: 108.2 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.007208, allocations: 59.34 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.007226, allocations: 0 / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.007265, allocations: 51.38 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/0.007267, allocations: 0 / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.002822/0.01009, allocations: 0.7232 MB / 0.7345 GB, free: 15.21 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.113268533721566]