Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001236/0.001236, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.00295, 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.001228/0.001228, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002838, 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 0.9808/0.9808, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09681/1.078, allocations: 53.65 MB / 243.3 MB, free: 15.56 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.87/1.87, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4922/2.362, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.659e-05, allocations: 4.984 kB / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002036/0.002062, allocations: 0.6499 MB / 0.73 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003489/0.002411, allocations: 204 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.002424, allocations: 0 / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.61e-06/0.00243, allocations: 0.6562 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.014e-06/0.002432, allocations: 0 / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.002697, allocations: 50.83 kB / 0.7303 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.002744, allocations: 0.7656 kB / 0.7303 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.002788, allocations: 4 kB / 0.7303 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.002821, allocations: 0.9844 kB / 0.7303 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.002854, allocations: 0 / 0.7303 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.002865, allocations: 0.6562 kB / 0.7303 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.003081, allocations: 64.91 kB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.003093, allocations: 1.922 kB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.056e-05/0.003103, allocations: 5.406 kB / 0.7303 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.00323, allocations: 31.91 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.909e-05/0.003249, allocations: 0.9844 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003251, allocations: 0 / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.855e-05/0.003269, allocations: 1.719 kB / 0.7304 GB, free: 3.488 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.0003229/0.003592, allocations: 232.6 kB / 0.7306 GB, free: 3.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.003637, allocations: 12.03 kB / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.00367, allocations: 0.9375 kB / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/0.003751, allocations: 106.6 kB / 0.7307 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.003761, allocations: 384 / 0.7307 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.00377, allocations: 1.359 kB / 0.7307 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.003849, allocations: 31.39 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.003857, allocations: 192 / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.003863, allocations: 1.094 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003869, allocations: 384 / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.003886, allocations: 8.406 kB / 0.7308 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.364e-05/0.003969, allocations: 57.98 kB / 0.7308 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.004007, allocations: 22.61 kB / 0.7308 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.00402, allocations: 4.859 kB / 0.7308 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/0.004476, allocations: 72.02 kB / 0.7309 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.004502, allocations: 30.56 kB / 0.7309 GB, free: 2.836 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.004504, allocations: 0 / 0.7309 GB, free: 2.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.004618, allocations: 38.47 kB / 0.731 GB, free: 2.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.004654, allocations: 59.94 kB / 0.731 GB, free: 2.723 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.093e-05/0.004685, allocations: 89.86 kB / 0.7311 GB, free: 2.625 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.004696, allocations: 26.98 kB / 0.7311 GB, free: 2.594 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.004726, allocations: 80.14 kB / 0.7312 GB, free: 2.512 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.004758, allocations: 4.859 kB / 0.7312 GB, free: 2.508 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.004787, allocations: 14.5 kB / 0.7312 GB, free: 2.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.004878, allocations: 314.8 kB / 0.7315 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.004884, allocations: 1.531 kB / 0.7315 GB, free: 2.172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.004889, allocations: 0 / 0.7315 GB, free: 2.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.004917, allocations: 16.78 kB / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004919, allocations: 0.875 kB / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.68e-05/0.004966, allocations: 33.7 kB / 0.7316 GB, free: 2.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.00498, allocations: 5.672 kB / 0.7316 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004985, allocations: 4 kB / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.004994, allocations: 1.75 kB / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.005038, allocations: 0 / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.005041, allocations: 0 / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.005051, allocations: 0 / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.005057, allocations: 4 kB / 0.7316 GB, free: 2.102 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 6.286e-05/0.00512, allocations: 114.9 kB / 0.7317 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.005126, allocations: 1.094 kB / 0.7317 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.005193, allocations: 40.64 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005194, allocations: 0.625 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.005197, allocations: 3.984 kB / 0.7318 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.0052, allocations: 1.25 kB / 0.7318 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.277e-05/0.005263, allocations: 66.72 kB / 0.7318 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.005265, allocations: 3.984 kB / 0.7318 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.005275, allocations: 1.156 kB / 0.7318 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.005281, allocations: 4 kB / 0.7318 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.005282, allocations: 0 / 0.7318 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.005286, allocations: 1.25 kB / 0.7318 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005286, allocations: 0 / 0.7318 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005287, allocations: 0 / 0.7318 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.302e-05/0.00534, allocations: 62.64 kB / 0.7319 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.005349, allocations: 3.938 kB / 0.7319 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-06/0.005354, allocations: 0 / 0.7319 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.005364, allocations: 0.5312 kB / 0.7319 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.005365, allocations: 0 / 0.7319 GB, free: 1.754 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.302e-06/0.005372, allocations: 7.547 kB / 0.7319 GB, free: 1.746 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.005372, allocations: 0 / 0.7319 GB, free: 1.746 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001992/0.005571, allocations: 15.94 kB / 0.7319 GB, free: 1.73 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.0001824/0.005753, allocations: 106.2 kB / 0.732 GB, free: 1.617 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.005814, allocations: 13.61 kB / 0.732 GB, free: 1.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.005819, allocations: 4.734 kB / 0.732 GB, free: 1.598 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.005826, allocations: 5.672 kB / 0.732 GB, free: 1.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.849e-05/0.005884, allocations: 7.938 kB / 0.7321 GB, free: 1.582 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001558/0.00604, allocations: 79.75 kB / 0.7321 GB, free: 1.477 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.006072, allocations: 52.45 kB / 0.7322 GB, free: 1.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.006083, allocations: 3.984 kB / 0.7322 GB, free: 1.402 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.006111, allocations: 48.41 kB / 0.7322 GB, free: 1.355 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.006111, allocations: 0 / 0.7322 GB, free: 1.355 MB / 0.698 GB Notification: Performance of Templates: time 0.002224/0.008335, allocations: 480.7 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1/Buildings_12_Buildings.Utilities.Math.Functions.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: 4.716039176099002]