Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.0007647/0.0007647, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001769, 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.000708/0.000708, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009054/0.001613, 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 1.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09184/1.127, allocations: 53.65 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.926/1.926, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5434/2.469, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.854e-05, allocations: 3.344 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00196/0.001978, allocations: 1.545 MB / 0.7309 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.0023, allocations: 247.8 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.002329, allocations: 0 / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.002352, allocations: 0 / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.002378, allocations: 10.33 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.002591, allocations: 60.91 kB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.002649, allocations: 21.78 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.002729, allocations: 4.859 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.002795, allocations: 16.88 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.002832, allocations: 10.47 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.002843, allocations: 0 / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.002983, allocations: 69.45 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.002996, allocations: 1.641 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.294e-05/0.003009, allocations: 5.094 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003135, allocations: 62.2 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.00315, allocations: 0 / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003151, allocations: 0 / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.003163, allocations: 0.5625 kB / 0.7313 GB, free: 2.492 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.0003371/0.0035, allocations: 238.5 kB / 0.7316 GB, free: 2.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.00353, allocations: 8.031 kB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.003555, allocations: 4.938 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.003633, allocations: 110.5 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.00364, allocations: 384 / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.003652, allocations: 0.9062 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.003752, allocations: 59.88 kB / 0.7317 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.003758, allocations: 0.7344 kB / 0.7317 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.003765, allocations: 1.25 kB / 0.7317 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.00377, allocations: 384 / 0.7317 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.003793, allocations: 11.88 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.003993, allocations: 149.7 kB / 0.7319 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.231e-05/0.004036, allocations: 23.45 kB / 0.7319 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.004051, allocations: 8.922 kB / 0.7319 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.004361, allocations: 71.09 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.004386, allocations: 38.5 kB / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.004388, allocations: 0 / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001106/0.004499, allocations: 34.52 kB / 0.7321 GB, free: 1.656 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.004529, allocations: 59.33 kB / 0.7321 GB, free: 1.586 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.004739, allocations: 111.6 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.004749, allocations: 26.69 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.004777, allocations: 84.95 kB / 0.7323 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.004793, allocations: 3.953 kB / 0.7323 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.004818, allocations: 18.42 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.004887, allocations: 318.8 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.004896, allocations: 4.594 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.004903, allocations: 1.812 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.004924, allocations: 12.8 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004926, allocations: 3.984 kB / 0.7327 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.884e-05/0.004965, allocations: 34.69 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.004979, allocations: 4.688 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.004985, allocations: 7.984 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.004992, allocations: 0.8438 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.005048, allocations: 11.92 kB / 0.7327 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.005051, allocations: 0.5 kB / 0.7327 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.005065, allocations: 4.875 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.005069, allocations: 0 / 0.7327 GB, free: 0.9102 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 4.63e-05/0.005115, allocations: 106.7 kB / 0.7329 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.005127, allocations: 8.703 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.005196, allocations: 41.59 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005198, allocations: 0.6562 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.0052, allocations: 3.938 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.005206, allocations: 9.141 kB / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.727e-05/0.005283, allocations: 61.91 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005284, allocations: 4 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.005305, allocations: 5.688 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.005314, allocations: 7.938 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005315, allocations: 0.5312 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.005319, allocations: 0 / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.00532, allocations: 5.781 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.005322, allocations: 3.938 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.912e-05/0.005391, allocations: 132.1 kB / 0.7331 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.0054, allocations: 0 / 0.7331 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.005428, allocations: 5.219 kB / 0.7331 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.005457, allocations: 4 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.005459, allocations: 0 / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.439e-05/0.005474, allocations: 21.52 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005474, allocations: 1.094 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001419/0.005615, allocations: 16.47 kB / 0.7332 GB, free: 444 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.0001564/0.005772, allocations: 98.5 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.005831, allocations: 9.703 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.005835, allocations: 4 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.005851, allocations: 17.81 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.005983, allocations: 8.969 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.00637, allocations: 106 kB / 0.7334 GB, free: 160 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.006403, allocations: 55.3 kB / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.00642, allocations: 0 / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.006509, allocations: 62.09 kB / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.006509, allocations: 0 / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of Templates: time 0.002542/0.009051, allocations: 0.7156 MB / 0.7342 GB, free: 15.33 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.079935614019632]