Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001014/0.001014, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002651, allocations: 449.8 kB / 10.44 MB, free: 252 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.001066/0.001066, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.00266, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9523/0.9523, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08512/1.037, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.864/1.864, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4668/2.331, allocations: 123.3 MB / 0.7283 GB, free: 5.742 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.648e-05, allocations: 4.094 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001015/0.001031, allocations: 0.6565 MB / 0.7303 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000216/0.001247, allocations: 188.1 kB / 0.7305 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-06/0.001256, allocations: 3.938 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-06/0.001259, allocations: 0 / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-07/0.00126, allocations: 0 / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.001426, allocations: 32.56 kB / 0.7306 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.731e-05/0.001463, allocations: 10.5 kB / 0.7306 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.05e-05/0.001493, allocations: 7.938 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.001525, allocations: 3.984 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.00155, allocations: 5.25 kB / 0.7306 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.001558, allocations: 1.219 kB / 0.7306 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.001708, allocations: 57.27 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.001721, allocations: 0.7656 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.003e-05/0.001731, allocations: 0.7812 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.001824, allocations: 40.86 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.001834, allocations: 0.625 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.82e-07/0.001835, allocations: 0 / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.001845, allocations: 0.9062 kB / 0.7307 GB, free: 3.402 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002404/0.002085, allocations: 229.3 kB / 0.7309 GB, free: 3.152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.002112, allocations: 8.844 kB / 0.7309 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.002134, allocations: 0.9375 kB / 0.7309 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.562e-05/0.002189, allocations: 105.8 kB / 0.731 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.002198, allocations: 1.781 kB / 0.731 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.002207, allocations: 384 / 0.731 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.61e-05/0.002273, allocations: 31.25 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.002279, allocations: 0.7188 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.002283, allocations: 1.656 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.002287, allocations: 384 / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-06/0.002296, allocations: 3.938 kB / 0.7311 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.271e-05/0.002359, allocations: 61.03 kB / 0.7311 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.847e-05/0.002387, allocations: 19.77 kB / 0.7311 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.049e-05/0.002398, allocations: 8.953 kB / 0.7311 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.002701, allocations: 66.16 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.002721, allocations: 31.98 kB / 0.7312 GB, free: 2.762 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.002722, allocations: 1.594 kB / 0.7312 GB, free: 2.762 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.579e-05/0.002798, allocations: 37.62 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.002821, allocations: 51.41 kB / 0.7313 GB, free: 2.656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.002848, allocations: 94.52 kB / 0.7314 GB, free: 2.555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.002856, allocations: 25.7 kB / 0.7314 GB, free: 2.523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.002876, allocations: 85.44 kB / 0.7315 GB, free: 2.438 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.002903, allocations: 7.938 kB / 0.7315 GB, free: 2.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.002926, allocations: 13.72 kB / 0.7315 GB, free: 2.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.003003, allocations: 314.8 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.003007, allocations: 1.438 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.003011, allocations: 0 / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.003034, allocations: 13.41 kB / 0.7318 GB, free: 2.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.003035, allocations: 0.9844 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.09e-05/0.003066, allocations: 34.98 kB / 0.7319 GB, free: 2.039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.003078, allocations: 4 kB / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.003085, allocations: 8 kB / 0.7319 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.003096, allocations: 0.6562 kB / 0.7319 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.45e-05/0.003131, allocations: 1.125 kB / 0.7319 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.003133, allocations: 0 / 0.7319 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-06/0.00314, allocations: 0 / 0.7319 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-06/0.003144, allocations: 0 / 0.7319 GB, free: 2.027 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 (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 4.511e-05/0.003189, allocations: 119.7 kB / 0.732 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-06/0.003191, allocations: 0 / 0.732 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.003238, allocations: 33.95 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.00324, allocations: 3.984 kB / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.003242, allocations: 0 / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.003244, allocations: 0.75 kB / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.293e-05/0.003287, allocations: 65.84 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.003288, allocations: 4.516 kB / 0.7321 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-06/0.003294, allocations: 8.812 kB / 0.7321 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-06/0.003298, allocations: 4.875 kB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.003299, allocations: 1.062 kB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.003302, allocations: 0 / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003303, allocations: 0 / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.003303, allocations: 1.219 kB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.95e-05/0.003343, allocations: 61.06 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-06/0.003349, allocations: 0 / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-06/0.003352, allocations: 0.6562 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.00336, allocations: 0.875 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-07/0.003361, allocations: 0.75 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.182e-06/0.003367, allocations: 4.859 kB / 0.7322 GB, free: 1.676 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.003367, allocations: 0.75 kB / 0.7322 GB, free: 1.676 MB / 0.698 GB Notification: Performance of remove unused functions: time 9.798e-05/0.003465, allocations: 12 kB / 0.7322 GB, free: 1.664 MB / 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 (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.0001263/0.003591, allocations: 111.8 kB / 0.7323 GB, free: 1.547 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.45e-05/0.003636, allocations: 17.55 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.003638, allocations: 0 / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.003647, allocations: 10.77 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.589e-05/0.003693, allocations: 8.875 kB / 0.7324 GB, free: 1.508 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001229/0.003816, allocations: 76.03 kB / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.614e-05/0.003842, allocations: 55.34 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.944e-06/0.00385, allocations: 0.875 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.003873, allocations: 51.38 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.003873, allocations: 3.25 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of Templates: time 0.001647/0.00552, allocations: 487.5 kB / 0.733 GB, free: 0.8203 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0/Buildings_12_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.825528105720878]