Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001126/0.001126, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001809/0.002935, 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.001171/0.001171, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002779, 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 0.9906/0.9906, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07939/1.07, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.365/2.365, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2423/2.607, allocations: 146 MB / 0.8176 GB, free: 3.793 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.165e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.004998/0.00503, allocations: 1.545 MB / 0.8205 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.00546, allocations: 239.2 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.005491, allocations: 0 / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.005518, allocations: 0 / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/0.005549, allocations: 3.938 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.005822, allocations: 47.83 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.00589, allocations: 19.92 kB / 0.8207 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.005976, allocations: 11.98 kB / 0.8208 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.006065, allocations: 15.98 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.00611, allocations: 7.938 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.006123, allocations: 4 kB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.006299, allocations: 67.81 kB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.006317, allocations: 4 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.006335, allocations: 7.938 kB / 0.8209 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.006485, allocations: 43.94 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.006498, allocations: 0 / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006499, allocations: 0 / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.006513, allocations: 0 / 0.8209 GB, free: 436 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.0004109/0.006924, allocations: 248.5 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006959, allocations: 16.03 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.006993, allocations: 0.9375 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.007091, allocations: 117.7 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.007101, allocations: 384 / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.007112, allocations: 384 / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.007256, allocations: 58.94 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.007263, allocations: 192 / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.00727, allocations: 384 / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007276, allocations: 4.312 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.007299, allocations: 7.938 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.01058, allocations: 144.3 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.223e-05/0.01064, allocations: 26.52 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.01066, allocations: 12.92 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.01102, allocations: 67.97 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.01104, allocations: 34.56 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.01104, allocations: 0 / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.01117, allocations: 37.64 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.0112, allocations: 59.34 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.01126, allocations: 110.7 kB / 0.8218 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01127, allocations: 25.7 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.01131, allocations: 80.14 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.01133, allocations: 11.89 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.01136, allocations: 13.7 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.01145, allocations: 318.8 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.01153, allocations: 4 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.01154, allocations: 4 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.01156, allocations: 13.05 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01156, allocations: 0 / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.212e-05/0.01163, allocations: 37.62 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01164, allocations: 8 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01165, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01166, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.01173, allocations: 7.938 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01173, allocations: 3.984 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.01175, allocations: 11.98 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.01176, allocations: 4.031 kB / 0.8223 GB, free: 14.8 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 5.554e-05/0.01181, allocations: 109.8 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.01183, allocations: 0 / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.172e-05/0.0119, allocations: 37 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01191, allocations: 4 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01191, allocations: 4.125 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01192, allocations: 3.938 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.01203, allocations: 77.86 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01203, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.01207, allocations: 7.938 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.01207, allocations: 8.031 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01208, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.01208, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01208, allocations: 3.984 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01209, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.01217, allocations: 127.6 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.01218, allocations: 3.984 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.01223, allocations: 4 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.01226, allocations: 0 / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.01227, allocations: 4 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.65e-05/0.01228, allocations: 16.81 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01228, allocations: 0 / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002168/0.0125, allocations: 23.94 kB / 0.8227 GB, free: 14.32 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.0001917/0.01269, allocations: 96.34 kB / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.01276, allocations: 12.86 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.01276, allocations: 4.094 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.01279, allocations: 12.84 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.01298, allocations: 41.62 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.01641, allocations: 104.7 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.01645, allocations: 59.22 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.01647, allocations: 3.906 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.01652, allocations: 55.36 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of SimCode: time 8.61e-07/0.01652, allocations: 4.094 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of Templates: time 0.006173/0.02269, allocations: 0.7075 MB / 0.8238 GB, free: 13.16 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0/Buildings_latest_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.154690596275032]