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.001339/0.001339, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001196/0.001196, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08112/0.08112, allocations: 16.67 MB / 307.7 MB, free: 14.56 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.14 kB / 372.3 MB, free: 48.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.09004, allocations: 53.57 MB / 425.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001931/0.09201, allocations: 0.6656 MB / 426.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.09224, allocations: 63.67 kB / 426.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.09229, allocations: 4 kB / 426.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.09234, allocations: 0 / 426.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.09243, allocations: 7.922 kB / 426.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.09258, allocations: 8 kB / 426.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.09267, allocations: 27.92 kB / 426.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.09277, allocations: 11.98 kB / 426.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.09281, allocations: 7.984 kB / 426.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.09286, allocations: 19.86 kB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.09288, allocations: 0 / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.0929, allocations: 4 kB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.09292, allocations: 4 kB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.09295, allocations: 7.938 kB / 426.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.879e-05/0.09302, allocations: 19.91 kB / 426.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09303, allocations: 0 / 426.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09304, allocations: 4 kB / 426.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09305, allocations: 4 kB / 426.7 MB, free: 11.98 MB / 302.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.0003374/0.09339, allocations: 332.6 kB / 427 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.09343, allocations: 8.031 kB / 427 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.09347, allocations: 0.9375 kB / 427 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.09364, allocations: 172.6 kB / 427.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.09366, allocations: 384 / 427.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.09368, allocations: 8.312 kB / 427.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.09388, allocations: 76.8 kB / 427.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.0939, allocations: 4.188 kB / 427.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.09392, allocations: 3.938 kB / 427.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.09393, allocations: 0 / 427.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.09409, allocations: 35.91 kB / 427.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.09445, allocations: 273.8 kB / 427.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.09462, allocations: 69.25 kB / 427.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.09472, allocations: 41.69 kB / 427.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.09475, allocations: 4 kB / 427.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.09477, allocations: 30.56 kB / 427.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.09478, allocations: 0 / 427.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.09514, allocations: 97.67 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.09519, allocations: 102.8 kB / 427.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.09526, allocations: 97.86 kB / 428 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.09528, allocations: 29.7 kB / 428.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.09531, allocations: 84.12 kB / 428.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.09534, allocations: 3.906 kB / 428.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.09538, allocations: 17.72 kB / 428.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.09544, allocations: 318.8 kB / 428.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.09553, allocations: 28.83 kB / 428.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.09561, allocations: 38.56 kB / 428.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.09577, allocations: 49.66 kB / 428.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.09578, allocations: 0 / 428.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001932/0.09597, allocations: 77.53 kB / 428.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.096, allocations: 4 kB / 428.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.09601, allocations: 4 kB / 428.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.09603, allocations: 0 / 428.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.09613, allocations: 19.98 kB / 428.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.09615, allocations: 0 / 428.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.09621, allocations: 4 kB / 428.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.09622, allocations: 4 kB / 428.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.244e-05/0.09629, allocations: 93 kB / 428.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.428e-05/0.09634, allocations: 22.56 kB / 428.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.004e-05/0.09642, allocations: 33.69 kB / 428.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/0.09643, allocations: 0 / 428.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001106/0.09654, allocations: 61.52 kB / 428.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.09656, allocations: 4 kB / 428.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.09657, allocations: 0 / 428.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/0.09657, allocations: 4 kB / 428.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.568e-05/0.09661, allocations: 4 kB / 428.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.09662, allocations: 8 kB / 428.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.09667, allocations: 8 kB / 428.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-06/0.09668, allocations: 0 / 428.9 MB, free: 9.445 MB / 302.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 6.206e-05/0.09674, allocations: 188.2 kB / 429.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.09677, allocations: 0 / 429.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.09681, allocations: 7.125 kB / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.09682, allocations: 0 / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.09683, allocations: 0 / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.09683, allocations: 0 / 429.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.09698, allocations: 173.6 kB / 429.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.09699, allocations: 0 / 429.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.09705, allocations: 8 kB / 429.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.09706, allocations: 0 / 429.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.09708, allocations: 3.938 kB / 429.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.09708, allocations: 0 / 429.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.09709, allocations: 3.984 kB / 429.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.0973, allocations: 180.2 kB / 429.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.09734, allocations: 81.44 kB / 429.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.09736, allocations: 8 kB / 429.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.09744, allocations: 7.984 kB / 429.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.09749, allocations: 8 kB / 429.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.0975, allocations: 0 / 429.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.576e-05/0.09753, allocations: 87.27 kB / 429.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09754, allocations: 0 / 429.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.09782, allocations: 7.938 kB / 429.7 MB, free: 8.602 MB / 302.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 9.711e-05/0.09792, allocations: 99.23 kB / 429.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.0982, allocations: 55.89 kB / 429.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.09821, allocations: 256 / 429.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.93e-05/0.0983, allocations: 31.92 kB / 429.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.09854, allocations: 7.875 kB / 429.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.09889, allocations: 143.6 kB / 430 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.09902, allocations: 0.6769 MB / 430.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.09906, allocations: 15.44 kB / 430.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.09907, allocations: 0 / 430.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of Templates: time 0.002031/0.1011, allocations: 0.6305 MB / 431.3 MB, free: 6.875 MB / 302.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=480 -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