Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007742/0.0007742, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001845, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007107/0.0007107, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009097/0.00162, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9717/0.9717, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.076, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.6/2.6, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2603/2.86, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.394e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001979/0.002003, allocations: 1.547 MB / 0.8198 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.002306, allocations: 247.1 kB / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.002328, allocations: 0 / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.002349, allocations: 3.938 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.002372, allocations: 7.922 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002561, allocations: 51.77 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.002612, allocations: 19.94 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.00268, allocations: 11.97 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.002739, allocations: 19.98 kB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.00277, allocations: 7.938 kB / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.002778, allocations: 0 / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.002909, allocations: 67.88 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.002919, allocations: 0 / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.281e-05/0.002931, allocations: 4 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.003111, allocations: 51.81 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.003123, allocations: 0 / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003124, allocations: 0 / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.003135, allocations: 4 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 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.0003425/0.003478, allocations: 248.6 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.003506, allocations: 12.62 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.003529, allocations: 4.938 kB / 0.8205 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.003605, allocations: 105.8 kB / 0.8206 GB, free: 436 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.003614, allocations: 4.375 kB / 0.8206 GB, free: 432 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.003621, allocations: 384 / 0.8206 GB, free: 432 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.003715, allocations: 66.86 kB / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.00372, allocations: 192 / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.003725, allocations: 384 / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.003729, allocations: 384 / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.003749, allocations: 7.938 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.003914, allocations: 152.2 kB / 0.8209 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/0.003951, allocations: 26.52 kB / 0.8209 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.16e-05/0.003963, allocations: 4.859 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.004241, allocations: 80.02 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.00426, allocations: 34.56 kB / 0.821 GB, free: 12 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.004261, allocations: 7.938 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001001/0.004361, allocations: 37.69 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.004386, allocations: 55.34 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.612e-05/0.004432, allocations: 98.72 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.00444, allocations: 25.7 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.004466, allocations: 84.14 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.004481, allocations: 11.88 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.004502, allocations: 17.7 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.004575, allocations: 310.8 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-06/0.004582, allocations: 0 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-06/0.004589, allocations: 8.125 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.811e-05/0.004607, allocations: 16.84 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004609, allocations: 0 / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.648e-05/0.004645, allocations: 37.7 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.004655, allocations: 4 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.004659, allocations: 0 / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.004664, allocations: 0 / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.004718, allocations: 19.86 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.00472, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.004733, allocations: 4.094 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.004738, allocations: 4 kB / 0.8217 GB, free: 15.22 MB / 0.8073 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 4.628e-05/0.004784, allocations: 105.8 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.004795, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.00485, allocations: 45 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004851, allocations: 0 / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.004854, allocations: 3.938 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.004857, allocations: 3.984 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.125e-05/0.004928, allocations: 65.89 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004929, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.004946, allocations: 12.03 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.004951, allocations: 3.984 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004952, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-06/0.004955, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.527e-06/0.004965, allocations: 3.938 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.004966, allocations: 3.938 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.889e-05/0.005025, allocations: 135.6 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.005033, allocations: 3.938 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.568e-05/0.005059, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.005089, allocations: 8 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.005091, allocations: 4.031 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.342e-05/0.005104, allocations: 20.95 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005104, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001278/0.005232, allocations: 15.94 kB / 0.8221 GB, free: 14.74 MB / 0.8073 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.0001585/0.005391, allocations: 96.41 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.169e-05/0.005442, allocations: 20.78 kB / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005445, allocations: 0 / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.005459, allocations: 12.84 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.005571, allocations: 4 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.005882, allocations: 111.2 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.005911, allocations: 59.22 kB / 0.8224 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.005929, allocations: 7.906 kB / 0.8224 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.005963, allocations: 55.48 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.005963, allocations: 4 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.002013/0.007976, allocations: 0.7062 MB / 0.8232 GB, free: 13.61 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.369753156788647]