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.001127/0.001127, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002723, allocations: 449.7 kB / 10.37 MB, free: 328 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.001108/0.001108, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002543, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9876/0.9876, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.129/1.117, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.882/1.882, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4685/2.351, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] 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 1.873e-06/1.873e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.085e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002448/0.002479, allocations: 1.55 MB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.002836, allocations: 240.8 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.00286, allocations: 0 / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.002882, allocations: 0 / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.742e-05/0.00291, allocations: 5.578 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003127, allocations: 45.3 kB / 0.7311 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.003191, allocations: 23.59 kB / 0.7312 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.003278, allocations: 5.156 kB / 0.7312 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.00335, allocations: 26.2 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.003389, allocations: 8.859 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.0034, allocations: 4.547 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.003555, allocations: 68.95 kB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.003568, allocations: 7.031 kB / 0.7313 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.003582, allocations: 4.656 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.003705, allocations: 38.16 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.00372, allocations: 0 / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003721, allocations: 4.75 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.003737, allocations: 0 / 0.7313 GB, free: 2.527 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.0003609/0.004098, allocations: 246.4 kB / 0.7315 GB, free: 2.262 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.00413, allocations: 12.03 kB / 0.7316 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.004154, allocations: 0.9375 kB / 0.7316 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.004246, allocations: 114.5 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.004256, allocations: 4.375 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.004264, allocations: 4.891 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004374, allocations: 52.88 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004381, allocations: 192 / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.004387, allocations: 384 / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.004392, allocations: 0.9688 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.004415, allocations: 8.812 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.004609, allocations: 148.2 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.004652, allocations: 23.84 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.004669, allocations: 12.92 kB / 0.7319 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.004983, allocations: 70.72 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.005007, allocations: 35.55 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.005008, allocations: 0 / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001181/0.005126, allocations: 42.34 kB / 0.7321 GB, free: 1.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.005155, allocations: 55.34 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.556e-05/0.005211, allocations: 100.2 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005222, allocations: 25.7 kB / 0.7322 GB, free: 1.469 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.005252, allocations: 84.12 kB / 0.7323 GB, free: 1.383 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.005268, allocations: 7.953 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.005297, allocations: 18.58 kB / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.005383, allocations: 315.6 kB / 0.7326 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.005393, allocations: 0.8438 kB / 0.7326 GB, free: 1.035 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.005403, allocations: 8 kB / 0.7326 GB, free: 1.027 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.005436, allocations: 14.59 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.005438, allocations: 3.938 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.102e-05/0.005499, allocations: 33.7 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005511, allocations: 4.5 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005516, allocations: 4.641 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.005524, allocations: 1.094 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.005587, allocations: 11.92 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.00559, allocations: 4.562 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.00561, allocations: 3.938 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.005614, allocations: 0.5 kB / 0.7327 GB, free: 0.9414 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.407e-05/0.005668, allocations: 112.2 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.005685, allocations: 0 / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.005757, allocations: 46.09 kB / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005759, allocations: 4 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.005761, allocations: 3.938 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.005765, allocations: 5.234 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.005865, allocations: 65.89 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005866, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.00589, allocations: 4 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.0059, allocations: 13.16 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005901, allocations: 3.938 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.005904, allocations: 0.5312 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.005905, allocations: 0 / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.005908, allocations: 9.578 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.43e-05/0.005983, allocations: 131.5 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.005999, allocations: 8 kB / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.332e-05/0.006042, allocations: 1.219 kB / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.006067, allocations: 0 / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.006069, allocations: 4 kB / 0.7331 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.267e-05/0.006082, allocations: 12.78 kB / 0.7331 GB, free: 488 kB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006082, allocations: 0.6562 kB / 0.7331 GB, free: 488 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001831/0.006265, allocations: 16.69 kB / 0.7331 GB, free: 472 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.0001569/0.006422, allocations: 103.3 kB / 0.7332 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.006481, allocations: 12.86 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.006485, allocations: 0 / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.006501, allocations: 13.88 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.006647, allocations: 11.94 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.007018, allocations: 101.6 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.007055, allocations: 56.2 kB / 0.7334 GB, free: 112 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.007076, allocations: 4 kB / 0.7334 GB, free: 108 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.007119, allocations: 62.11 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.00712, allocations: 0 / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of Templates: time 0.002603/0.009722, allocations: 0.7072 MB / 0.7342 GB, free: 15.37 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.05245800409466]