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.001121/0.001121, allocations: 93.06 kB / 19.65 MB, free: 276 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.001672/0.001672, allocations: 165 kB / 23.02 MB, free: 1.551 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.9035/0.9035, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.06583/0.06583, 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.323e-06/1.323e-06, allocations: 0 / 317 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.631e-05, allocations: 2.312 kB / 317 MB, free: 41.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001423/0.00145, allocations: 0.7112 MB / 317.7 MB, free: 41.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.001675, allocations: 51.81 kB / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.001709, allocations: 0 / 317.8 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.001739, allocations: 7.922 kB / 317.8 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.001823, allocations: 4 kB / 317.8 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.001971, allocations: 23.92 kB / 317.8 MB, free: 41.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.038e-05/0.002062, allocations: 23.92 kB / 317.8 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.002153, allocations: 4 kB / 317.8 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.002197, allocations: 15.98 kB / 317.9 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.002248, allocations: 11.92 kB / 317.9 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.002272, allocations: 4 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-06/0.00228, allocations: 0 / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.002296, allocations: 7.984 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.002318, allocations: 15.36 kB / 317.9 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.329e-05/0.002402, allocations: 19.86 kB / 317.9 MB, free: 41.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002404, allocations: 0 / 317.9 MB, free: 41.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.002405, allocations: 4 kB / 317.9 MB, free: 41.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.002408, 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.0002887/0.002697, allocations: 354.8 kB / 318.3 MB, free: 40.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.002734, allocations: 8.031 kB / 318.3 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.002772, allocations: 9.234 kB / 318.3 MB, free: 40.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.002882, allocations: 120.5 kB / 318.4 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.002889, allocations: 384 / 318.4 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.0029, allocations: 384 / 318.4 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.003043, allocations: 115.7 kB / 318.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.003051, allocations: 4.188 kB / 318.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.003061, allocations: 384 / 318.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.003068, allocations: 384 / 318.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.0031, allocations: 15.88 kB / 318.5 MB, free: 40.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.003344, allocations: 263.5 kB / 318.8 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.003408, allocations: 66.09 kB / 318.9 MB, free: 40.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.003435, allocations: 23.5 kB / 318.9 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.003457, allocations: 4 kB / 318.9 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.003473, allocations: 41.38 kB / 318.9 MB, free: 39.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003474, allocations: 0 / 318.9 MB, free: 39.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000148/0.003622, allocations: 53.58 kB / 319 MB, free: 39.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.003648, allocations: 106.8 kB / 319.1 MB, free: 39.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.296e-05/0.003691, allocations: 161.9 kB / 319.2 MB, free: 39.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.003697, allocations: 25.7 kB / 319.3 MB, free: 39.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.003721, allocations: 130.8 kB / 319.4 MB, free: 39.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.003737, allocations: 7.938 kB / 319.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.003761, allocations: 23.38 kB / 319.4 MB, free: 39.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.003802, allocations: 0.4925 MB / 319.9 MB, free: 38.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.003822, allocations: 11.69 kB / 319.9 MB, free: 38.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.003847, allocations: 64.88 kB / 320 MB, free: 38.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.003881, allocations: 31.36 kB / 320 MB, free: 38.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.003882, allocations: 0 / 320 MB, free: 38.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.043e-05/0.003943, allocations: 41.64 kB / 320.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.003954, allocations: 11.94 kB / 320.1 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.00396, allocations: 9.047 kB / 320.1 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.003975, allocations: 0 / 320.1 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.004051, allocations: 11.98 kB / 320.1 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.004057, allocations: 0 / 320.1 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.004083, allocations: 8 kB / 320.1 MB, free: 38.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.004088, allocations: 0 / 320.1 MB, free: 38.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.812e-05/0.004117, allocations: 134.9 kB / 320.2 MB, free: 38.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.817e-05/0.004135, allocations: 52.77 kB / 320.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.179e-05/0.004157, allocations: 31.34 kB / 320.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.004158, allocations: 4 kB / 320.3 MB, free: 38.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.503e-05/0.004203, allocations: 49.58 kB / 320.4 MB, free: 38.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.004209, allocations: 10.19 kB / 320.4 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.00421, allocations: 0 / 320.4 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/0.004213, allocations: 7.938 kB / 320.4 MB, free: 38.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.752e-05/0.004231, allocations: 4 kB / 320.4 MB, free: 38.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.004233, allocations: 5.953 kB / 320.4 MB, free: 38.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.004251, allocations: 7.922 kB / 320.4 MB, free: 38.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-06/0.004252, allocations: 4 kB / 320.4 MB, free: 38.31 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.346e-05/0.004295, allocations: 268.1 kB / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.004312, allocations: 4 kB / 320.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.004339, allocations: 11.25 kB / 320.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.004342, allocations: 4 kB / 320.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.004346, allocations: 0 / 320.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004349, allocations: 0 / 320.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.641e-05/0.004425, allocations: 116.6 kB / 320.8 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.004426, allocations: 0 / 320.8 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.004448, allocations: 8 kB / 320.8 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.004449, allocations: 0 / 320.8 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.004456, allocations: 4 kB / 320.8 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.004458, allocations: 11.88 kB / 320.8 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.004459, allocations: 3.984 kB / 320.8 MB, free: 37.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.308e-05/0.004532, allocations: 191.6 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.004542, allocations: 11.94 kB / 321 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.004552, allocations: 0 / 321 MB, free: 37.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.004587, allocations: 11.88 kB / 321 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.004628, allocations: 11.98 kB / 321.1 MB, free: 37.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.004631, allocations: 0 / 321.1 MB, free: 37.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.862e-05/0.00465, allocations: 123.2 kB / 321.2 MB, free: 37.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00465, allocations: 4 kB / 321.2 MB, free: 37.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.004826, allocations: 8 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 6.058e-05/0.004887, allocations: 95.19 kB / 321.3 MB, free: 37.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.811e-05/0.004985, allocations: 39.36 kB / 321.3 MB, free: 37.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004986, allocations: 0 / 321.3 MB, free: 37.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.005005, allocations: 23.61 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.0001716/0.005177, allocations: 4.375 kB / 321.3 MB, free: 37.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.005404, allocations: 134 kB / 321.5 MB, free: 37.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.496e-05/0.005429, allocations: 51.36 kB / 321.5 MB, free: 37.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.005454, allocations: 11.98 kB / 321.5 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.005483, allocations: 8.5 kB / 321.5 MB, free: 37.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.005484, allocations: 0 / 321.5 MB, free: 37.04 MB / 282.7 MB Notification: Performance of Templates: time 0.002067/0.007551, allocations: 0.7003 MB / 322.2 MB, free: 36.35 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: 3.1213291506282985]