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.001209/0.001209, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001958/0.003167, 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.001197/0.001197, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002864, 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.9445/0.9445, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08541/1.03, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.842/1.842, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4821/2.324, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.583e-06/1.583e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.558e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002222/0.002237, allocations: 0.6663 MB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.002481, allocations: 194.2 kB / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.002491, allocations: 0 / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.418e-06/0.002496, allocations: 0 / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.72e-07/0.002497, allocations: 3.672 kB / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.0027, allocations: 48.88 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.002741, allocations: 4 kB / 0.7306 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.002779, allocations: 7.969 kB / 0.7306 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.002813, allocations: 12.53 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.864e-05/0.002842, allocations: 0.7656 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.00285, allocations: 0 / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.003008, allocations: 66.12 kB / 0.7307 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.00302, allocations: 0 / 0.7307 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.749e-06/0.00303, allocations: 1.406 kB / 0.7307 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.003131, allocations: 32.94 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.003141, allocations: 0 / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003142, allocations: 0.6562 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.003153, allocations: 0.625 kB / 0.7307 GB, free: 3.375 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.0002422/0.003395, allocations: 229.5 kB / 0.7309 GB, free: 3.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.003429, allocations: 8.031 kB / 0.7309 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.003453, allocations: 0.9375 kB / 0.7309 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.392e-05/0.003507, allocations: 107.2 kB / 0.731 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.003515, allocations: 1.312 kB / 0.731 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.003522, allocations: 384 / 0.731 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.556e-05/0.003588, allocations: 34.78 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.003593, allocations: 4.188 kB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.003598, allocations: 1.094 kB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003602, allocations: 384 / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-06/0.003611, allocations: 4.531 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.2e-05/0.003673, allocations: 59.27 kB / 0.7311 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.929e-05/0.003703, allocations: 14.58 kB / 0.7311 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.044e-05/0.003713, allocations: 4.859 kB / 0.7312 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.004053, allocations: 86.62 kB / 0.7312 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.004072, allocations: 30.56 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.004073, allocations: 0.8125 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.446e-05/0.004147, allocations: 30.2 kB / 0.7313 GB, free: 2.684 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.00417, allocations: 57.05 kB / 0.7313 GB, free: 2.617 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.468e-05/0.004194, allocations: 89.86 kB / 0.7314 GB, free: 2.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.004202, allocations: 25.7 kB / 0.7315 GB, free: 2.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.004221, allocations: 84.69 kB / 0.7315 GB, free: 2.402 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.004248, allocations: 4 kB / 0.7315 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.004265, allocations: 10.59 kB / 0.7316 GB, free: 2.383 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.004333, allocations: 318.8 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/0.004338, allocations: 1.031 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.004347, allocations: 5.359 kB / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.00437, allocations: 10.61 kB / 0.7319 GB, free: 2.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.004373, allocations: 4 kB / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.062e-05/0.004403, allocations: 33.69 kB / 0.7319 GB, free: 2.004 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.004413, allocations: 4 kB / 0.7319 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.004416, allocations: 1.156 kB / 0.7319 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.004427, allocations: 0 / 0.7319 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-05/0.00446, allocations: 4 kB / 0.7319 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.004462, allocations: 0.6562 kB / 0.7319 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-06/0.004469, allocations: 0 / 0.7319 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004473, allocations: 1.125 kB / 0.7319 GB, free: 1.996 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.477e-05/0.004518, allocations: 117.7 kB / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-06/0.00452, allocations: 0.5938 kB / 0.732 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.004567, allocations: 38.59 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.004568, allocations: 0 / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.00457, allocations: 0 / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.004572, allocations: 0.5312 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4e-05/0.004612, allocations: 67.41 kB / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004612, allocations: 0 / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-06/0.004617, allocations: 4 kB / 0.7321 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-06/0.004621, allocations: 3.984 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.004622, allocations: 0.7656 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-06/0.004624, allocations: 1.219 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.004626, allocations: 4 kB / 0.7321 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.004626, allocations: 0 / 0.7321 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.765e-05/0.004664, allocations: 62.16 kB / 0.7322 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-06/0.00467, allocations: 3.984 kB / 0.7322 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-06/0.004673, allocations: 0.9062 kB / 0.7322 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-06/0.004681, allocations: 4.656 kB / 0.7322 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-07/0.004682, allocations: 0 / 0.7322 GB, free: 1.648 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.324e-06/0.004689, allocations: 9.359 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.004689, allocations: 0.75 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 9.861e-05/0.004788, allocations: 15.94 kB / 0.7322 GB, free: 1.621 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.0001298/0.004918, allocations: 100 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.474e-05/0.004963, allocations: 4.859 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.004967, allocations: 6.125 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.004977, allocations: 8.844 kB / 0.7324 GB, free: 1.492 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.694e-05/0.005024, allocations: 14.53 kB / 0.7324 GB, free: 1.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001247/0.005149, allocations: 78.38 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.005173, allocations: 56 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.955e-06/0.005181, allocations: 1.25 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.005204, allocations: 47.38 kB / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.005205, allocations: 4 kB / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of Templates: time 0.001671/0.006876, allocations: 491.1 kB / 0.733 GB, free: 0.7891 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.715063245035708]