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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,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=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006665/0.006665, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1694/0.1694, allocations: 16.75 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002707, allocations: 8 kB / 373.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2301, allocations: 54.56 MB / 428.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0006182/0.2308, allocations: 406 kB / 428.5 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.2309, allocations: 58.19 kB / 428.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.231, allocations: 0.9375 kB / 428.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.231, allocations: 0 / 428.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.2311, allocations: 15.23 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.2312, allocations: 6.844 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.2313, allocations: 23.58 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.2313, allocations: 8.562 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.2314, allocations: 13.78 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.2314, allocations: 7.016 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2314, allocations: 0.875 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.2314, allocations: 3.781 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.2315, allocations: 8.188 kB / 428.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.2315, allocations: 35.89 kB / 428.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.935e-05/0.2315, allocations: 14.5 kB / 428.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2316, allocations: 0.6562 kB / 428.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2316, allocations: 1.062 kB / 428.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.2316, allocations: 0 / 428.7 MB, free: 37.82 MB / 350.1 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.0002669/0.2318, allocations: 334.8 kB / 429 MB, free: 37.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2319, allocations: 8.969 kB / 429 MB, free: 37.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.2319, allocations: 9.578 kB / 429 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.232, allocations: 166.6 kB / 429.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.232, allocations: 3.281 kB / 429.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.232, allocations: 384 / 429.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2322, allocations: 82.55 kB / 429.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2322, allocations: 192 / 429.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2322, allocations: 5.031 kB / 429.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2323, allocations: 0 / 429.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.2324, allocations: 51.3 kB / 429.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.2327, allocations: 266.6 kB / 429.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2329, allocations: 82.38 kB / 429.7 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.233, allocations: 39.89 kB / 429.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.233, allocations: 3.938 kB / 429.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.233, allocations: 36.5 kB / 429.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.233, allocations: 0 / 429.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003329/0.2333, allocations: 102.5 kB / 429.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2334, allocations: 106.8 kB / 429.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.2334, allocations: 99.16 kB / 430 MB, free: 36.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.2334, allocations: 28.8 kB / 430.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.2335, allocations: 92.23 kB / 430.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.2335, allocations: 7.406 kB / 430.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.2335, allocations: 13.67 kB / 430.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.2335, allocations: 311.5 kB / 430.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.2336, allocations: 24.06 kB / 430.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.2337, allocations: 44.14 kB / 430.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.2339, allocations: 54.62 kB / 430.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2339, allocations: 11.47 kB / 430.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001934/0.2341, allocations: 82.16 kB / 430.7 MB, free: 36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.2341, allocations: 101.4 kB / 430.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2341, allocations: 6.781 kB / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.2341, allocations: 0 / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.2342, allocations: 12.03 kB / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2342, allocations: 0 / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.2343, allocations: 12.53 kB / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2343, allocations: 0.875 kB / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.2343, allocations: 5.5 kB / 430.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.786e-05/0.2344, allocations: 33.5 kB / 430.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/0.2344, allocations: 0 / 430.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-06/0.2344, allocations: 0 / 430.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-05/0.2345, allocations: 8.922 kB / 430.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-06/0.2345, allocations: 0 / 430.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.2345, allocations: 2.938 kB / 430.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.2345, allocations: 10.78 kB / 430.9 MB, free: 35.88 MB / 350.1 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.694e-05/0.2346, allocations: 191.3 kB / 431.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.2346, allocations: 7.844 kB / 431.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.2346, allocations: 12.62 kB / 431.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2346, allocations: 0 / 431.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2347, allocations: 0 / 431.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2347, allocations: 2.719 kB / 431.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2348, allocations: 156.9 kB / 431.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2348, allocations: 0 / 431.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.2348, allocations: 15.41 kB / 431.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2349, allocations: 6.844 kB / 431.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.2349, allocations: 0 / 431.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2349, allocations: 0 / 431.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2349, allocations: 5.875 kB / 431.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2351, allocations: 177.8 kB / 431.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.2351, allocations: 87.14 kB / 431.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.2351, allocations: 0 / 431.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.2352, allocations: 12.56 kB / 431.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.2352, allocations: 0 / 431.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2353, allocations: 2.562 kB / 431.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.875e-05/0.2353, allocations: 84.73 kB / 431.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2353, allocations: 4 kB / 431.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.2356, allocations: 7.625 kB / 431.6 MB, free: 35.16 MB / 350.1 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.259e-05/0.2356, allocations: 97.73 kB / 431.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.2359, allocations: 68.05 kB / 431.8 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2359, allocations: 0 / 431.8 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.236, allocations: 31 kB / 431.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2362, allocations: 12.11 kB / 431.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.2365, allocations: 135.3 kB / 432 MB, free: 34.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.125e-05/0.2365, allocations: 0.6782 MB / 432.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.2366, allocations: 9.094 kB / 432.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.2366, allocations: 7.438 kB / 432.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2366, allocations: 0 / 432.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of Templates: time 0.002139/0.2388, allocations: 0.5152 MB / 433.2 MB, free: 34.17 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches