Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001798/0.001798, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002251/0.002251, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.903/2.903, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.696e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002712/0.002739, allocations: 1.46 MB / 1.002 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.003303, allocations: 247.1 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.00333, allocations: 0 / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.003356, allocations: 3.938 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.003397, allocations: 3.938 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.003776, allocations: 59.81 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.003843, allocations: 23.92 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.003925, allocations: 8 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.003977, allocations: 11.98 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.004009, allocations: 4 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.004019, allocations: 0 / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.004178, allocations: 67.8 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.004193, allocations: 4 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.004216, allocations: 11.92 kB / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.004375, allocations: 63.84 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004378, allocations: 0 / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004379, allocations: 0 / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004382, allocations: 4 kB / 1.002 GB, free: 5.301 MB / 0.9512 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.0004634/0.004846, allocations: 270.2 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.004879, allocations: 8.031 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.004908, allocations: 4.938 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.005018, allocations: 105.8 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.005033, allocations: 4.375 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.005045, allocations: 4.375 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.00523, allocations: 50.23 kB / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005239, allocations: 192 / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.005247, allocations: 4.375 kB / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005251, allocations: 384 / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.005437, allocations: 39.84 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.005735, allocations: 196.6 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.005884, allocations: 30.56 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.005977, allocations: 20.91 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.006526, allocations: 87.89 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.006565, allocations: 38.5 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.006567, allocations: 0 / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003946/0.006961, allocations: 89.62 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.006999, allocations: 55.41 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.007084, allocations: 97.84 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.0071, allocations: 25.7 kB / 1.003 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.007161, allocations: 84.14 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.007181, allocations: 7.953 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.007213, allocations: 9.719 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.007378, allocations: 318.8 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.00747, allocations: 15.97 kB / 1.004 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.007553, allocations: 20.02 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.007728, allocations: 40.77 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00773, allocations: 0 / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002138/0.007943, allocations: 69.59 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.007957, allocations: 4 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.007963, allocations: 4.031 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.007977, allocations: 4 kB / 1.004 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.008064, allocations: 11.98 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008069, allocations: 0 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.008119, allocations: 7.938 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.008129, allocations: 7.984 kB / 1.004 GB, free: 3.422 MB / 0.9512 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 9.467e-05/0.008224, allocations: 114.4 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.008249, allocations: 0 / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.008496, allocations: 76.84 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008498, allocations: 0 / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.008502, allocations: 4 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.008504, allocations: 0 / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.008649, allocations: 109.3 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00865, allocations: 0 / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.008714, allocations: 7.984 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008716, allocations: 0 / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.008722, allocations: 4 kB / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.008727, allocations: 3.938 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.008729, allocations: 4.031 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.008997, allocations: 163.5 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.009003, allocations: 0 / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.009017, allocations: 4 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.009096, allocations: 11.86 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.009138, allocations: 4 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009141, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.009194, allocations: 79.28 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.009194, allocations: 4.031 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002494/0.009443, allocations: 16 kB / 1.004 GB, free: 2.762 MB / 0.9512 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.0002269/0.00967, allocations: 119.2 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.0099, allocations: 39.95 kB / 1.004 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009902, allocations: 4.062 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.009992, allocations: 19.92 kB / 1.004 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01023, allocations: 6.031 kB / 1.004 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.01052, allocations: 112.8 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.01059, allocations: 59.34 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.01061, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.01063, allocations: 12.5 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.01063, allocations: 4.062 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.003451/0.01408, allocations: 0.69 MB / 1.005 GB, free: 1.656 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.990912150591612]