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.002419/0.002419, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.00266/0.00266, allocations: 157.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.042/3.042, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.533e-06/1.533e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.865e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002868/0.002896, allocations: 1.461 MB / 0.8122 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006024/0.003499, allocations: 245.7 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.00352, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.003542, allocations: 4 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.003584, allocations: 0 / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.00393, allocations: 60.94 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.003997, allocations: 23.92 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.004072, allocations: 7.984 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.004139, allocations: 9.844 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.004173, allocations: 7.984 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.004185, allocations: 0 / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.004345, allocations: 71.8 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.004363, allocations: 7.938 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.00438, allocations: 2.531 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004551, allocations: 63.89 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004553, allocations: 0 / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004554, allocations: 0 / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.004558, allocations: 0 / 0.8127 GB, free: 148 kB / 0.7605 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.0005378/0.005096, allocations: 368.2 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005131, allocations: 8.75 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.005173, allocations: 8.891 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.005293, allocations: 109.2 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005308, allocations: 9.969 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.005318, allocations: 4.375 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.005469, allocations: 42.23 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.005478, allocations: 192 / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.005489, allocations: 4.375 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.005493, allocations: 1.031 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.00561, allocations: 24.98 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.005968, allocations: 251.8 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.006084, allocations: 36.25 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.006152, allocations: 23.73 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/0.00667, allocations: 78.42 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.006706, allocations: 33.39 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006707, allocations: 0.7188 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003061/0.007013, allocations: 78.97 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.007056, allocations: 51.41 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.007193, allocations: 169.9 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.007212, allocations: 27.64 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.007289, allocations: 126.9 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007307, allocations: 7.938 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.007354, allocations: 23.38 kB / 0.8141 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.007614, allocations: 496.1 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.00767, allocations: 12.69 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.007716, allocations: 14.39 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.007818, allocations: 27.67 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00782, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001584/0.007978, allocations: 59.5 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007991, allocations: 4 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007997, allocations: 3.938 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.00801, allocations: 0 / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.008076, allocations: 11.98 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.00808, allocations: 0.5 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.008111, allocations: 4.469 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.008116, allocations: 0 / 0.8148 GB, free: 13.88 MB / 0.7761 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 0.0001119/0.008228, allocations: 161.9 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.00825, allocations: 0 / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.00843, allocations: 69.58 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008432, allocations: 3.938 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.008439, allocations: 4.656 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008442, allocations: 3.688 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.008608, allocations: 116.6 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008609, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.008652, allocations: 4 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.008657, allocations: 4 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008664, allocations: 0 / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.00867, allocations: 7.922 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008671, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.008938, allocations: 203.9 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-06/0.008944, allocations: 1.969 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.008957, allocations: 3.938 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.009021, allocations: 11.92 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.009064, allocations: 0 / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.009071, allocations: 4 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.009152, allocations: 128.1 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009152, allocations: 0 / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002318/0.009384, allocations: 15.98 kB / 0.8155 GB, free: 13.09 MB / 0.7761 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.0002116/0.009596, allocations: 113.4 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.009782, allocations: 36.72 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009783, allocations: 0.8438 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.009849, allocations: 24.28 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01006, allocations: 1.406 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.01058, allocations: 122.2 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.378e-05/0.01064, allocations: 59.34 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.01066, allocations: 5.812 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.01069, allocations: 8.5 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01069, allocations: 0 / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.003556/0.01424, allocations: 0.7041 MB / 0.8165 GB, free: 11.97 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.968869845964946]