Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.0009928/0.0009928, allocations: 92.22 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.001106/0.001106, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9785/0.9785, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05717/0.05717, allocations: 12.97 MB / 272.9 MB, free: 488 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 3.938 kB / 347 MB, free: 1.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.324e-05, allocations: 2.312 kB / 347.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001276/0.001299, allocations: 0.6955 MB / 347.7 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.001584, allocations: 51.81 kB / 347.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.001637, allocations: 0 / 347.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.001675, allocations: 3.938 kB / 347.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.793e-05/0.001773, allocations: 0 / 347.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.00193, allocations: 19.91 kB / 347.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.002042, allocations: 27.92 kB / 347.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.002148, allocations: 8 kB / 347.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.0022, allocations: 15.92 kB / 347.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.00225, allocations: 4 kB / 347.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.002273, allocations: 0 / 347.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.002282, allocations: 4 kB / 347.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.002299, allocations: 7.984 kB / 347.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.002319, allocations: 15.92 kB / 347.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.002397, allocations: 11.92 kB / 347.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002399, allocations: 4 kB / 347.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.0024, allocations: 0 / 347.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.002404, allocations: 4 kB / 347.9 MB, free: 0.7148 MB / 266.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.0003498/0.002754, allocations: 348.4 kB / 348.3 MB, free: 344 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.002797, allocations: 12.03 kB / 348.3 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.002838, allocations: 5.234 kB / 348.3 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.002953, allocations: 120.6 kB / 348.4 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.002974, allocations: 8.312 kB / 348.4 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.002983, allocations: 384 / 348.4 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.003141, allocations: 111.7 kB / 348.5 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.003149, allocations: 192 / 348.5 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.003161, allocations: 8.375 kB / 348.5 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.003169, allocations: 384 / 348.5 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.003201, allocations: 11.88 kB / 348.5 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.003577, allocations: 263.6 kB / 348.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.003655, allocations: 66.17 kB / 348.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.003685, allocations: 23.38 kB / 348.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.0037, allocations: 0 / 348.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.003727, allocations: 41.39 kB / 348.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.003728, allocations: 7.938 kB / 348.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.00388, allocations: 57.56 kB / 349 MB, free: 15.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.00392, allocations: 102.8 kB / 349.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.003988, allocations: 157.9 kB / 349.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.004, allocations: 25.7 kB / 349.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.004047, allocations: 134.8 kB / 349.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.004064, allocations: 7.953 kB / 349.4 MB, free: 15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.004092, allocations: 23.38 kB / 349.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004203, allocations: 496.4 kB / 349.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.004227, allocations: 19.69 kB / 349.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.00426, allocations: 56.77 kB / 350 MB, free: 14.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.004296, allocations: 27.31 kB / 350 MB, free: 14.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004298, allocations: 0 / 350 MB, free: 14.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.119e-05/0.004359, allocations: 53.62 kB / 350.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.004371, allocations: 4 kB / 350.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.004377, allocations: 3.938 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.00439, allocations: 8.094 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.004452, allocations: 7.984 kB / 350.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.004457, allocations: 0 / 350.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.004478, allocations: 4 kB / 350.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.004484, allocations: 4 kB / 350.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.503e-05/0.00453, allocations: 130.9 kB / 350.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.834e-05/0.004558, allocations: 56.75 kB / 350.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.335e-05/0.004581, allocations: 31.31 kB / 350.3 MB, free: 14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-07/0.004582, allocations: 4.031 kB / 350.3 MB, free: 14 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.122e-05/0.004623, allocations: 41.66 kB / 350.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.004633, allocations: 7.984 kB / 350.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.004634, allocations: 0 / 350.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-06/0.004637, allocations: 12.25 kB / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.657e-05/0.004653, allocations: 8 kB / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.51e-07/0.004654, allocations: 0 / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.00467, allocations: 7.938 kB / 350.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-06/0.004671, allocations: 0 / 350.4 MB, free: 13.92 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 8.555e-05/0.004757, allocations: 272.1 kB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.004771, allocations: 3.984 kB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.004795, allocations: 19.23 kB / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.004796, allocations: 3.938 kB / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.004801, allocations: 0 / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004805, allocations: 0 / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.004917, allocations: 124.6 kB / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.004918, allocations: 0 / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.004936, allocations: 4 kB / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.004938, allocations: 4 kB / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.004946, allocations: 0 / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.004949, allocations: 7.938 kB / 350.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004949, allocations: 0 / 350.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.005056, allocations: 203.6 kB / 351 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.005065, allocations: 3.953 kB / 351 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.005075, allocations: 4 kB / 351 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.005108, allocations: 11.92 kB / 351 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.005144, allocations: 11.98 kB / 351 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.005146, allocations: 0 / 351 MB, free: 13.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.987e-05/0.005176, allocations: 123.2 kB / 351.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005176, allocations: 0 / 351.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.005342, allocations: 12 kB / 351.2 MB, free: 13.06 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.971e-05/0.005411, allocations: 91.25 kB / 351.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.005517, allocations: 43.3 kB / 351.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.005518, allocations: 0 / 351.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.00554, allocations: 23.62 kB / 351.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.005689, allocations: 4 kB / 351.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.005924, allocations: 130.3 kB / 351.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.005956, allocations: 55.36 kB / 351.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.085e-05/0.005977, allocations: 0 / 351.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.006005, allocations: 12.5 kB / 351.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006006, allocations: 4 kB / 351.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of Templates: time 0.002246/0.008251, allocations: 0.726 MB / 352.3 MB, free: 11.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_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.765054620336741]