Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.0008716/0.0008716, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00099/0.00099, allocations: 169.3 kB / 23.02 MB, free: 1.547 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 0.9861/0.9861, allocations: 158.6 MB / 184.9 MB, free: 2.93 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.06033/0.06033, allocations: 10.65 MB / 247.9 MB, free: 4.465 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_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_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 317 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.746e-05, allocations: 3.406 kB / 317 MB, free: 41.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001747/0.001774, allocations: 0.7069 MB / 317.7 MB, free: 41.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002741/0.002048, allocations: 55.75 kB / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.002084, allocations: 0 / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.002118, allocations: 0 / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.002224, allocations: 15.92 kB / 317.8 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.002382, allocations: 15.98 kB / 317.8 MB, free: 41.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.002486, allocations: 23.92 kB / 317.8 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.002588, allocations: 8 kB / 317.8 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.002634, allocations: 15.97 kB / 317.9 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.002689, allocations: 15.92 kB / 317.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.002713, allocations: 4 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.00272, allocations: 0 / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.002738, allocations: 4 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.002762, allocations: 7.375 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.002854, allocations: 27.84 kB / 317.9 MB, free: 41.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002856, allocations: 4 kB / 317.9 MB, free: 41.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002857, allocations: 3.938 kB / 317.9 MB, free: 41.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.002862, allocations: 0 / 317.9 MB, free: 41.12 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.0002898/0.003152, allocations: 354.8 kB / 318.3 MB, free: 40.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003186, allocations: 8.031 kB / 318.3 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.003225, allocations: 9.234 kB / 318.3 MB, free: 40.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.003325, allocations: 112.6 kB / 318.4 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.003333, allocations: 384 / 318.4 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003343, allocations: 8.375 kB / 318.4 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.003488, allocations: 111.7 kB / 318.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.003494, allocations: 4.188 kB / 318.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003505, allocations: 4.375 kB / 318.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.003512, allocations: 4.312 kB / 318.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.003544, allocations: 11.94 kB / 318.5 MB, free: 40.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.003784, allocations: 263.5 kB / 318.8 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.003851, allocations: 70.05 kB / 318.9 MB, free: 40.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.003881, allocations: 19.5 kB / 318.9 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.0039, allocations: 8 kB / 318.9 MB, free: 39.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.003919, allocations: 33.39 kB / 318.9 MB, free: 39.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.003921, allocations: 0 / 318.9 MB, free: 39.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.004075, allocations: 57.56 kB / 319 MB, free: 39.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.004106, allocations: 106.8 kB / 319.1 MB, free: 39.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.004157, allocations: 161.9 kB / 319.2 MB, free: 39.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.004166, allocations: 25.7 kB / 319.3 MB, free: 39.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.004196, allocations: 134.8 kB / 319.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.004214, allocations: 7.953 kB / 319.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.004239, allocations: 19.62 kB / 319.4 MB, free: 39.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.004283, allocations: 0.4962 MB / 319.9 MB, free: 38.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.004301, allocations: 11.69 kB / 319.9 MB, free: 38.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.004323, allocations: 52.77 kB / 320 MB, free: 38.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.004354, allocations: 27.38 kB / 320 MB, free: 38.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.004357, allocations: 0 / 320 MB, free: 38.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.935e-05/0.004416, allocations: 53.56 kB / 320.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004428, allocations: 8 kB / 320.1 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.004435, allocations: 9.984 kB / 320.1 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.004448, allocations: 0 / 320.1 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.004523, allocations: 11.98 kB / 320.1 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.004529, allocations: 0 / 320.1 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.004564, allocations: 4 kB / 320.1 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.004571, allocations: 0 / 320.1 MB, free: 38.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.328e-05/0.004604, allocations: 130.9 kB / 320.2 MB, free: 38.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.567e-05/0.00463, allocations: 64.69 kB / 320.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.839e-05/0.004649, allocations: 23.41 kB / 320.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.81e-07/0.004649, allocations: 4 kB / 320.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.978e-05/0.004689, allocations: 53.58 kB / 320.4 MB, free: 38.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.004695, allocations: 6.188 kB / 320.4 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.61e-07/0.004695, allocations: 0 / 320.4 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-06/0.004698, allocations: 7.938 kB / 320.4 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.004716, allocations: 4 kB / 320.4 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.004718, allocations: 4 kB / 320.4 MB, free: 38.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.004735, allocations: 7.938 kB / 320.4 MB, free: 38.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-06/0.004736, allocations: 4.062 kB / 320.4 MB, free: 38.32 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 4.731e-05/0.004783, allocations: 272.1 kB / 320.7 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.004796, allocations: 4 kB / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.004817, allocations: 7.25 kB / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.004819, allocations: 4 kB / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.004823, allocations: 384 / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.004827, allocations: 0 / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.782e-05/0.004904, allocations: 116.6 kB / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004905, allocations: 3.938 kB / 320.8 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.004924, allocations: 8 kB / 320.8 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004925, allocations: 7.984 kB / 320.8 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.004931, allocations: 0 / 320.8 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.004932, allocations: 7.938 kB / 320.8 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004933, allocations: 0 / 320.8 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.783e-05/0.005001, allocations: 199.6 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.00501, allocations: 7.953 kB / 321 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.005019, allocations: 7.922 kB / 321 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.005052, allocations: 7.938 kB / 321 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.005091, allocations: 11.92 kB / 321.1 MB, free: 37.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005092, allocations: 0 / 321.1 MB, free: 37.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.797e-05/0.00511, allocations: 131.2 kB / 321.2 MB, free: 37.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00511, allocations: 0 / 321.2 MB, free: 37.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.005283, allocations: 4 kB / 321.2 MB, free: 37.47 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 5.402e-05/0.005337, allocations: 91.25 kB / 321.3 MB, free: 37.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.005442, allocations: 43.3 kB / 321.3 MB, free: 37.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005444, allocations: 0 / 321.3 MB, free: 37.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.005469, allocations: 15.69 kB / 321.3 MB, free: 37.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.005658, allocations: 16.36 kB / 321.4 MB, free: 37.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.005884, allocations: 126 kB / 321.5 MB, free: 37.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.393e-05/0.005908, allocations: 55.3 kB / 321.5 MB, free: 37.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.443e-05/0.005933, allocations: 8 kB / 321.5 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.005961, allocations: 8.5 kB / 321.5 MB, free: 37.04 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005961, allocations: 4 kB / 321.5 MB, free: 37.04 MB / 282.7 MB Notification: Performance of Templates: time 0.002152/0.008113, allocations: 0.7427 MB / 322.3 MB, free: 36.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9860256239771843]