Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001073/0.001073, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.002156, 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.001044/0.001044, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009497/0.001994, 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.9268/0.9268, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08283/1.01, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.388/2.388, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2487/2.637, 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.874e-05, allocations: 2.312 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001105/0.001124, allocations: 0.653 MB / 0.8196 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002174/0.001341, allocations: 175.4 kB / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.029e-05/0.001351, allocations: 4 kB / 0.8198 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-06/0.001355, allocations: 3.938 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-07/0.001356, allocations: 0 / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.001537, allocations: 39.83 kB / 0.8198 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.873e-05/0.001576, allocations: 7.984 kB / 0.8198 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.001609, allocations: 0 / 0.8198 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.001641, allocations: 0 / 0.8198 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.803e-05/0.001669, allocations: 4 kB / 0.8198 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.001677, allocations: 4 kB / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.001831, allocations: 63.88 kB / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.001843, allocations: 0 / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-06/0.001852, allocations: 0 / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.001955, allocations: 39.83 kB / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.001968, allocations: 0 / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00197, allocations: 4 kB / 0.82 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.001983, allocations: 0 / 0.82 GB, free: 1.414 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002462/0.002229, allocations: 220.7 kB / 0.8202 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.002261, allocations: 12.03 kB / 0.8202 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.002287, allocations: 0.9375 kB / 0.8202 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.741e-05/0.002344, allocations: 105.8 kB / 0.8203 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.002353, allocations: 384 / 0.8203 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.002362, allocations: 4.375 kB / 0.8203 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.544e-05/0.002427, allocations: 30.25 kB / 0.8203 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.002433, allocations: 192 / 0.8203 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.002438, allocations: 384 / 0.8203 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.002443, allocations: 384 / 0.8203 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.085e-05/0.002454, allocations: 11.88 kB / 0.8203 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.286e-05/0.002517, allocations: 57.05 kB / 0.8204 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.272e-05/0.002549, allocations: 22.55 kB / 0.8204 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.068e-05/0.00256, allocations: 12.84 kB / 0.8204 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.002876, allocations: 64 kB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.002897, allocations: 38.55 kB / 0.8205 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.0029, allocations: 3.984 kB / 0.8205 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 7.817e-05/0.002978, allocations: 37.64 kB / 0.8205 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.002999, allocations: 51.53 kB / 0.8206 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.344e-05/0.003023, allocations: 93.86 kB / 0.8207 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.00303, allocations: 25.7 kB / 0.8207 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.003048, allocations: 80.14 kB / 0.8208 GB, free: 440 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.003074, allocations: 3.938 kB / 0.8208 GB, free: 436 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.003093, allocations: 13.72 kB / 0.8208 GB, free: 416 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.003167, allocations: 318.8 kB / 0.8211 GB, free: 88 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.003172, allocations: 0 / 0.8211 GB, free: 88 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.003178, allocations: 4 kB / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.928e-05/0.003197, allocations: 4.859 kB / 0.8211 GB, free: 76 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.003199, allocations: 4.062 kB / 0.8211 GB, free: 72 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.556e-05/0.003234, allocations: 33.64 kB / 0.8212 GB, free: 32 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.003245, allocations: 8 kB / 0.8212 GB, free: 24 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.003249, allocations: 0 / 0.8212 GB, free: 24 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.003261, allocations: 0 / 0.8212 GB, free: 24 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.472e-05/0.003296, allocations: 3.984 kB / 0.8212 GB, free: 20 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003298, allocations: 4 kB / 0.8212 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-06/0.003307, allocations: 4 kB / 0.8212 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.003312, allocations: 0 / 0.8212 GB, free: 12 kB / 0.7917 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 (1): * Single equations (assignments): 1 * 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.78e-05/0.00337, allocations: 109.8 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-06/0.003373, allocations: 4.031 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.003423, allocations: 40.64 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.003426, allocations: 3.984 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.003428, allocations: 4 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.00343, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.042e-05/0.003471, allocations: 65.83 kB / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003471, allocations: 0 / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-06/0.00348, allocations: 4 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-06/0.003483, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.003484, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-06/0.003487, allocations: 7.969 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.003488, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.003489, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.948e-05/0.003528, allocations: 61.06 kB / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-06/0.003534, allocations: 0 / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-06/0.003538, allocations: 4 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-06/0.003545, allocations: 3.938 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.003548, allocations: 4 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.462e-06/0.003554, allocations: 4.859 kB / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003554, allocations: 0 / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001024/0.003657, allocations: 8 kB / 0.8215 GB, free: 15.64 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 (1): * Single equations (assignments): 1 * 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.0001409/0.003798, allocations: 112.4 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.98e-05/0.003847, allocations: 8.859 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.00385, allocations: 0 / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.003858, allocations: 8.859 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.903e-05/0.003907, allocations: 9.375 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001337/0.004041, allocations: 90.12 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.613e-05/0.004067, allocations: 55.36 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.308e-06/0.004077, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.0041, allocations: 47.38 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.004101, allocations: 0 / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.0018/0.005901, allocations: 493.3 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0/Buildings_latest_Buildings.Utilities.Math.Functions.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: 4.9814872005954385]