Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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.001909/0.001909, allocations: 92.97 kB / 20.22 MB, free: 4.199 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.001958/0.001958, allocations: 169.2 kB / 23.54 MB, free: 0.8828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07558/0.07558, allocations: 10.66 MB / 248.3 MB, free: 4.516 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 317.1 MB, free: 42.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.102e-05, allocations: 3.562 kB / 317.1 MB, free: 42.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002641/0.002672, allocations: 0.6887 MB / 317.8 MB, free: 41.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.003004, allocations: 67.03 kB / 317.8 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.003051, allocations: 0 / 317.8 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.003082, allocations: 0.6094 kB / 317.8 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.003204, allocations: 9.562 kB / 317.8 MB, free: 41.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.003393, allocations: 15.52 kB / 317.9 MB, free: 41.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.003534, allocations: 23.84 kB / 317.9 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.003629, allocations: 9.281 kB / 317.9 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.003703, allocations: 15.09 kB / 317.9 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.003776, allocations: 15.89 kB / 317.9 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.0038, allocations: 0 / 317.9 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.003814, allocations: 4 kB / 317.9 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.003837, allocations: 8.922 kB / 317.9 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.003865, allocations: 5.719 kB / 317.9 MB, free: 41.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.586e-05/0.003961, allocations: 25.42 kB / 318 MB, free: 41.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.003964, allocations: 0 / 318 MB, free: 41.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003965, allocations: 0 / 318 MB, free: 41.51 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003969, allocations: 0 / 318 MB, free: 41.51 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004482/0.004417, allocations: 354.1 kB / 318.3 MB, free: 41.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.004458, allocations: 12.03 kB / 318.3 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.004522, allocations: 12.89 kB / 318.3 MB, free: 41.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004674, allocations: 120.5 kB / 318.4 MB, free: 40.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.00469, allocations: 384 / 318.4 MB, free: 40.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.004706, allocations: 384 / 318.4 MB, free: 40.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.004957, allocations: 114.9 kB / 318.6 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.004972, allocations: 192 / 318.6 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.004987, allocations: 384 / 318.6 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.004993, allocations: 4.375 kB / 318.6 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.005222, allocations: 31.92 kB / 318.6 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.005621, allocations: 271.6 kB / 318.9 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.005865, allocations: 74.11 kB / 318.9 MB, free: 40.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.006012, allocations: 35.42 kB / 319 MB, free: 40.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.006039, allocations: 0 / 319 MB, free: 40.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.006067, allocations: 41.38 kB / 319 MB, free: 40.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.006069, allocations: 3.938 kB / 319 MB, free: 40.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005346/0.006603, allocations: 81.61 kB / 319.1 MB, free: 40.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.006639, allocations: 106.8 kB / 319.2 MB, free: 40.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.006715, allocations: 161.9 kB / 319.4 MB, free: 39.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006726, allocations: 25.7 kB / 319.4 MB, free: 39.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.006764, allocations: 134.8 kB / 319.5 MB, free: 39.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.00679, allocations: 7.953 kB / 319.5 MB, free: 39.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.006844, allocations: 19.38 kB / 319.5 MB, free: 39.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.006906, allocations: 0.4884 MB / 320 MB, free: 39.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.007024, allocations: 19.67 kB / 320 MB, free: 39.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.007156, allocations: 69 kB / 320.1 MB, free: 39.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.007377, allocations: 47.39 kB / 320.2 MB, free: 39.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007379, allocations: 3.938 kB / 320.2 MB, free: 39.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002994/0.007679, allocations: 65.67 kB / 320.2 MB, free: 38.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.007695, allocations: 4 kB / 320.2 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.007703, allocations: 5.891 kB / 320.2 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.007722, allocations: 0 / 320.2 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.00785, allocations: 16.05 kB / 320.3 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.007858, allocations: 3.938 kB / 320.3 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.876e-05/0.007956, allocations: 4 kB / 320.3 MB, free: 38.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.007966, allocations: 0 / 320.3 MB, free: 38.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.481e-05/0.008051, allocations: 138.9 kB / 320.4 MB, free: 38.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.068e-05/0.008122, allocations: 57.05 kB / 320.4 MB, free: 38.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001156/0.008237, allocations: 35.36 kB / 320.5 MB, free: 38.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.008239, allocations: 3.938 kB / 320.5 MB, free: 38.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000191/0.00843, allocations: 57.7 kB / 320.5 MB, free: 38.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.00844, allocations: 9.875 kB / 320.6 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.008444, allocations: 3.984 kB / 320.6 MB, free: 38.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.008447, allocations: 3.938 kB / 320.6 MB, free: 38.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.008511, allocations: 4 kB / 320.6 MB, free: 38.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.008513, allocations: 0 / 320.6 MB, free: 38.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.008585, allocations: 11.98 kB / 320.6 MB, free: 38.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008593, allocations: 4 kB / 320.6 MB, free: 38.56 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.429e-05/0.008667, allocations: 264.1 kB / 320.8 MB, free: 38.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.008723, allocations: 7.938 kB / 320.8 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.008769, allocations: 19.27 kB / 320.9 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.008772, allocations: 0 / 320.9 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.008779, allocations: 4 kB / 320.9 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.008783, allocations: 0 / 320.9 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.008973, allocations: 120.6 kB / 321 MB, free: 38.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008975, allocations: 0 / 321 MB, free: 38.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.009049, allocations: 8 kB / 321 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009051, allocations: 0 / 321 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009063, allocations: 7.984 kB / 321 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.009065, allocations: 7.938 kB / 321 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009067, allocations: 0 / 321 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.009684, allocations: 1.419 MB / 322.4 MB, free: 36.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.009697, allocations: 4 kB / 322.4 MB, free: 36.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.009719, allocations: 3.984 kB / 322.4 MB, free: 36.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.009879, allocations: 4 kB / 322.4 MB, free: 36.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.009941, allocations: 7.984 kB / 322.4 MB, free: 36.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.00995, allocations: 4 kB / 322.5 MB, free: 36.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.512e-05/0.009985, allocations: 123.2 kB / 322.6 MB, free: 36.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.009985, allocations: 0 / 322.6 MB, free: 36.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001114/0.0111, allocations: 11.88 kB / 322.6 MB, free: 36.44 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.0001117/0.01121, allocations: 99.25 kB / 322.7 MB, free: 36.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.01162, allocations: 63.28 kB / 322.7 MB, free: 36.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.01163, allocations: 0 / 322.7 MB, free: 36.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.01176, allocations: 27.67 kB / 322.8 MB, free: 36.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.01221, allocations: 7.938 kB / 322.8 MB, free: 36.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.01272, allocations: 299.4 kB / 323.1 MB, free: 35.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.01277, allocations: 63.28 kB / 323.1 MB, free: 35.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.01284, allocations: 4 kB / 323.1 MB, free: 35.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.01289, allocations: 12.5 kB / 323.1 MB, free: 35.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01289, allocations: 0 / 323.1 MB, free: 35.79 MB / 282.7 MB Notification: Performance of Templates: time 0.005304/0.0182, allocations: 0.6936 MB / 323.8 MB, free: 35.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.535203823004849]