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.001104/0.001104, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.002826, allocations: 440 kB / 10.41 MB, free: 284 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.001081/0.001081, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002531, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0872/1.097, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.32/2.32, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2436/2.564, allocations: 146 MB / 0.8176 GB, free: 3.832 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.252e-06/1.252e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.319e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001999/0.002012, allocations: 1.545 MB / 0.8204 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003465/0.002359, allocations: 247.1 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.002381, allocations: 4 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.0024, allocations: 0 / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.166e-05/0.002422, allocations: 3.938 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.002619, allocations: 55.75 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.002674, allocations: 23.88 kB / 0.8208 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.002736, allocations: 7.984 kB / 0.8208 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.002798, allocations: 15.98 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.002834, allocations: 4 kB / 0.8208 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.002846, allocations: 4 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.002989, allocations: 67.86 kB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.003002, allocations: 4 kB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.003015, allocations: 4 kB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.003175, allocations: 51.77 kB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.003186, allocations: 0 / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of FrontEnd: time 4.6e-07/0.003186, allocations: 4 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.003199, allocations: 0 / 0.8209 GB, free: 444 kB / 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.003348/0.006546, allocations: 248.6 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.006576, allocations: 8.031 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.006604, allocations: 0.9375 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.006688, allocations: 117.8 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.006696, allocations: 384 / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.006706, allocations: 4.375 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.006814, allocations: 50.94 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.00682, allocations: 4.188 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.006827, allocations: 8.359 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.006832, allocations: 384 / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.006852, allocations: 11.88 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.00703, allocations: 152.2 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/0.00707, allocations: 18.58 kB / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.007083, allocations: 4.859 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.007388, allocations: 80.03 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.00741, allocations: 38.5 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.007411, allocations: 0 / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.651e-05/0.007508, allocations: 37.69 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.007587, allocations: 55.34 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.007636, allocations: 102.7 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.007644, allocations: 25.7 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.007673, allocations: 92.12 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.007688, allocations: 8.078 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.007714, allocations: 13.72 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.007783, allocations: 314.8 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-06/0.00779, allocations: 0 / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.007798, allocations: 4 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.007822, allocations: 24.77 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.007823, allocations: 3.938 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.169e-05/0.007864, allocations: 33.7 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.007874, allocations: 4 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.007877, allocations: 0 / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007888, allocations: 4.094 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.007936, allocations: 11.92 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.007939, allocations: 7.984 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.007956, allocations: 0 / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.00796, allocations: 0 / 0.8223 GB, free: 14.81 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.411e-05/0.008004, allocations: 109.8 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.008022, allocations: 7.922 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.008079, allocations: 45 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.00808, allocations: 0 / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008083, allocations: 7.969 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.008085, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.993e-05/0.008175, allocations: 61.91 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.008176, allocations: 0 / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.008199, allocations: 7.984 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.008204, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008205, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.008208, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.008209, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008211, allocations: 3.938 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/0.008274, allocations: 135.5 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.008282, allocations: 8.031 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.008326, allocations: 0 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.008352, allocations: 7.984 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.008353, allocations: 0 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.889e-06/0.008363, allocations: 8.984 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008363, allocations: 4 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00018/0.008543, allocations: 15.94 kB / 0.8228 GB, free: 14.34 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.0001314/0.008675, allocations: 100.4 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.368e-05/0.008728, allocations: 24.78 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.008731, allocations: 0 / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.008749, allocations: 8.859 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.008898, allocations: 39.05 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.01222, allocations: 108.8 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.01225, allocations: 63.2 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.965e-05/0.01227, allocations: 8.047 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.01231, allocations: 51.38 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.01231, allocations: 0 / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.002276/0.01459, allocations: 0.7203 MB / 0.8238 GB, free: 13.16 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.057721743360162]