Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001387/0.001387, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001533/0.001533, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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 1.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.725/2.725, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.5e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002634/0.002659, allocations: 1.455 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000563/0.003222, allocations: 240.6 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.003243, allocations: 0.9375 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.003272, allocations: 3.984 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.003308, allocations: 4.781 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.003663, allocations: 56.62 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.003725, allocations: 23.92 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.003793, allocations: 4 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.003852, allocations: 16.42 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.592e-05/0.003888, allocations: 8.969 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.0039, allocations: 0 / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.004057, allocations: 67.8 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.004071, allocations: 4.875 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.0041, allocations: 11.92 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004261, allocations: 57.03 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004263, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004264, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004268, allocations: 0.5312 kB / 0.7883 GB, free: 10.86 MB / 0.7448 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.0004896/0.004757, allocations: 267.7 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004794, allocations: 12.03 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.004838, allocations: 8.891 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.004963, allocations: 120.7 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.004977, allocations: 384 / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004988, allocations: 384 / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.005175, allocations: 46.25 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005183, allocations: 192 / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.005191, allocations: 384 / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.005199, allocations: 4.359 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.005378, allocations: 37.09 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.0057, allocations: 196.6 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.00584, allocations: 35.66 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.005933, allocations: 19.11 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/0.006501, allocations: 85.22 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.006534, allocations: 31.19 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.006535, allocations: 0 / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004022/0.006937, allocations: 96.12 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.006982, allocations: 51.41 kB / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.007077, allocations: 101.9 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.007097, allocations: 25.7 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.007153, allocations: 85.88 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.007169, allocations: 3.953 kB / 0.7895 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.007284, allocations: 17.72 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.007453, allocations: 310.8 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.007539, allocations: 13.52 kB / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.007619, allocations: 23.97 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.007773, allocations: 39.2 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007775, allocations: 0 / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.007982, allocations: 67.5 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.007999, allocations: 8 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.008006, allocations: 3.938 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.008024, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.008104, allocations: 7.984 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008108, allocations: 4.5 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.008159, allocations: 12.44 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.008164, allocations: 1.75 kB / 0.7899 GB, free: 9 MB / 0.7448 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 8.734e-05/0.008251, allocations: 109.8 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.008279, allocations: 4 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.00853, allocations: 79.12 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.008539, allocations: 4 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.008542, allocations: 0 / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.008544, allocations: 0 / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.008691, allocations: 109.3 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008692, allocations: 0.5312 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.00875, allocations: 4.719 kB / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.008752, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.008763, allocations: 9.141 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.008769, allocations: 7.938 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008769, allocations: 0 / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.009042, allocations: 164.8 kB / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.009048, allocations: 192 / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.009059, allocations: 0.8438 kB / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.009141, allocations: 13.83 kB / 0.7904 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.009189, allocations: 15.92 kB / 0.7904 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.009192, allocations: 0 / 0.7904 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.00925, allocations: 79.28 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00925, allocations: 0 / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002525/0.009502, allocations: 12 kB / 0.7905 GB, free: 8.344 MB / 0.7448 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.0002077/0.00971, allocations: 122 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.009931, allocations: 37.2 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009933, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.01002, allocations: 21.83 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01026, allocations: 0 / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.01056, allocations: 116.5 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.01063, allocations: 59.94 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.01065, allocations: 4.75 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.01068, allocations: 9.594 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01068, allocations: 0 / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.003381/0.01406, allocations: 0.7032 MB / 0.7916 GB, free: 7.25 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.566461485926993]