Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001129/0.001129, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001785/0.002914, allocations: 440 kB / 10.41 MB, free: 280 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.00108/0.00108, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002541, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9848/0.9848, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.12/1.105, allocations: 53.67 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.437/2.437, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2407/2.678, allocations: 146 MB / 0.8176 GB, free: 3.809 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.616e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0009766/0.0009928, allocations: 0.6501 MB / 0.8196 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002218/0.001215, allocations: 195.2 kB / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-06/0.001223, allocations: 0 / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-06/0.001227, allocations: 0 / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-07/0.001228, allocations: 0 / 0.8198 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.00141, allocations: 51.75 kB / 0.8199 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.722e-05/0.001447, allocations: 0 / 0.8199 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.001481, allocations: 0 / 0.8199 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.001513, allocations: 4 kB / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.779e-05/0.001541, allocations: 0 / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.001549, allocations: 4 kB / 0.8199 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.0017, allocations: 67.86 kB / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.001711, allocations: 0 / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.857e-06/0.00172, allocations: 0 / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.001817, allocations: 35.91 kB / 0.82 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.001828, allocations: 3.984 kB / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.001829, allocations: 0 / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.001841, allocations: 0 / 0.82 GB, free: 1.418 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.0002687/0.00211, allocations: 224.6 kB / 0.8202 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.00214, allocations: 12.02 kB / 0.8202 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.002165, allocations: 4.938 kB / 0.8202 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.627e-05/0.002221, allocations: 109.8 kB / 0.8203 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.00223, allocations: 384 / 0.8203 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.002238, allocations: 384 / 0.8203 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.002308, allocations: 34.25 kB / 0.8203 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.002313, allocations: 192 / 0.8203 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.002318, allocations: 384 / 0.8203 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.002323, allocations: 4.312 kB / 0.8203 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.04e-05/0.002333, allocations: 7.875 kB / 0.8203 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.789e-05/0.002401, allocations: 61.03 kB / 0.8204 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.002436, allocations: 18.56 kB / 0.8204 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.00245, allocations: 12.95 kB / 0.8204 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.002788, allocations: 71.94 kB / 0.8205 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.002809, allocations: 30.56 kB / 0.8205 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.00281, allocations: 0 / 0.8205 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 7.952e-05/0.00289, allocations: 37.62 kB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.002913, allocations: 55.53 kB / 0.8206 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.624e-05/0.002939, allocations: 89.86 kB / 0.8207 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.002947, allocations: 29.7 kB / 0.8207 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.002965, allocations: 80.14 kB / 0.8208 GB, free: 432 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.002989, allocations: 0 / 0.8208 GB, free: 432 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.003006, allocations: 9.719 kB / 0.8208 GB, free: 416 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.003081, allocations: 322.8 kB / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.003084, allocations: 0 / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.003089, allocations: 3.984 kB / 0.8211 GB, free: 80 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.00311, allocations: 12.86 kB / 0.8211 GB, free: 64 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.003112, allocations: 8 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.586e-05/0.003138, allocations: 29.7 kB / 0.8212 GB, free: 20 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.003147, allocations: 4 kB / 0.8212 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.003151, allocations: 3.984 kB / 0.8212 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.003161, allocations: 0 / 0.8212 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.932e-05/0.003191, allocations: 4 kB / 0.8212 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.003193, allocations: 0 / 0.8212 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-06/0.003201, allocations: 3.984 kB / 0.8212 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.003206, allocations: 0 / 0.8212 GB, free: 4 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.174e-05/0.003257, allocations: 117.8 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-06/0.00326, allocations: 4.031 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.003303, allocations: 36.64 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.003304, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.003306, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.003307, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.966e-05/0.003347, allocations: 69.83 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.003348, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-06/0.003352, allocations: 3.938 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-06/0.003356, allocations: 4 kB / 0.8214 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.003357, allocations: 4 kB / 0.8214 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.003361, allocations: 4.031 kB / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.003361, allocations: 0 / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.003362, allocations: 0 / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.589e-05/0.003397, allocations: 61.06 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.003405, allocations: 4 kB / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.015e-06/0.003408, allocations: 3.938 kB / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-06/0.003416, allocations: 0 / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-07/0.003417, allocations: 0 / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.47e-06/0.003423, allocations: 4.859 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003423, allocations: 0 / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001008/0.003524, allocations: 15.94 kB / 0.8215 GB, free: 15.62 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.000128/0.003652, allocations: 106.8 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.316e-05/0.003725, allocations: 8.859 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.003729, allocations: 0 / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.00374, allocations: 4.859 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.235e-05/0.003792, allocations: 13.38 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001341/0.003926, allocations: 94.12 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.217e-05/0.003948, allocations: 51.36 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.967e-06/0.003957, allocations: 4 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.003982, allocations: 51.38 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.003983, allocations: 0 / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.001669/0.005652, allocations: 485.3 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1/Buildings_latest_Buildings.Utilities.Math.Functions.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.253730828873813]