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.002412/0.002412, allocations: 106.4 kB / 15.99 MB, free: 5.887 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.002574/0.002574, allocations: 193.7 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.095/2.095, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.4473/0.4473, allocations: 16.69 MB / 307.4 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 59.91 kB / 371.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7545, allocations: 53.55 MB / 425.4 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.003395/0.7579, allocations: 0.7343 MB / 426.1 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003992/0.7584, allocations: 60.97 kB / 426.1 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.7584, allocations: 0 / 426.1 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.104e-05/0.7585, allocations: 0 / 426.1 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.7587, allocations: 3.844 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.759, allocations: 17.45 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.7592, allocations: 18.64 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.7594, allocations: 15.36 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.7594, allocations: 11.02 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.7595, allocations: 11.56 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.7596, allocations: 2.906 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.7596, allocations: 7 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.7596, allocations: 7.734 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.7597, allocations: 7.625 kB / 426.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.7598, allocations: 19.47 kB / 426.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.7598, allocations: 0 / 426.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.7598, allocations: 0 / 426.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.7599, allocations: 1.688 kB / 426.3 MB, free: 38.57 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.0007075/0.7606, allocations: 335.4 kB / 426.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.7606, allocations: 8.844 kB / 426.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.7607, allocations: 6.938 kB / 426.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.7609, allocations: 166.5 kB / 426.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7609, allocations: 4.312 kB / 426.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.761, allocations: 4.125 kB / 426.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.7612, allocations: 77.39 kB / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7612, allocations: 192 / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.7613, allocations: 7.438 kB / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.7613, allocations: 0 / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.7615, allocations: 36.44 kB / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.762, allocations: 267.8 kB / 427.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.7622, allocations: 74.95 kB / 427.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.7623, allocations: 29.97 kB / 427.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.7623, allocations: 0.7812 kB / 427.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.7624, allocations: 39.5 kB / 427.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.7624, allocations: 0 / 427.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003834/0.7628, allocations: 93.36 kB / 427.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.7628, allocations: 105.7 kB / 427.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7629, allocations: 100.7 kB / 427.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.763, allocations: 28.58 kB / 427.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.763, allocations: 84.08 kB / 427.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.7631, allocations: 3.906 kB / 427.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.7631, allocations: 22.97 kB / 427.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.7632, allocations: 314.9 kB / 428 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.7633, allocations: 33.67 kB / 428.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.7634, allocations: 33.34 kB / 428.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.7636, allocations: 47.12 kB / 428.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7636, allocations: 0 / 428.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001939/0.7638, allocations: 78.47 kB / 428.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7638, allocations: 7.156 kB / 428.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7638, allocations: 0 / 428.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.7638, allocations: 0 / 428.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.764, allocations: 16.34 kB / 428.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.764, allocations: 0 / 428.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.764, allocations: 12.05 kB / 428.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.7641, allocations: 0 / 428.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.273e-05/0.7641, allocations: 88.25 kB / 428.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.592e-05/0.7642, allocations: 28.58 kB / 428.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.757e-05/0.7643, allocations: 38.31 kB / 428.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.01e-07/0.7643, allocations: 0 / 428.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001141/0.7644, allocations: 57.08 kB / 428.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.7644, allocations: 6.156 kB / 428.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.7644, allocations: 0 / 428.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-06/0.7644, allocations: 0 / 428.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-05/0.7645, allocations: 7.75 kB / 428.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-06/0.7645, allocations: 8 kB / 428.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.7645, allocations: 7.219 kB / 428.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-06/0.7645, allocations: 0 / 428.5 MB, free: 36.59 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 9.883e-05/0.7647, allocations: 182.8 kB / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.7647, allocations: 6.781 kB / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.7647, allocations: 6.453 kB / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7647, allocations: 0 / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7647, allocations: 2.562 kB / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7647, allocations: 0 / 428.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.7649, allocations: 165.5 kB / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7649, allocations: 1.078 kB / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.765, allocations: 13.89 kB / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.765, allocations: 0 / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.765, allocations: 6.375 kB / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.765, allocations: 0 / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.765, allocations: 0 / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.7653, allocations: 181.1 kB / 429.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.7653, allocations: 81.02 kB / 429.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.7653, allocations: 7.469 kB / 429.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.7654, allocations: 6.438 kB / 429.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.7655, allocations: 2.688 kB / 429.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7655, allocations: 6.984 kB / 429.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.355e-05/0.7655, allocations: 88.81 kB / 429.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7655, allocations: 0 / 429.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.7658, allocations: 6.562 kB / 429.2 MB, free: 35.89 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 0.000129/0.7659, allocations: 98.48 kB / 429.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.7662, allocations: 55.55 kB / 429.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7662, allocations: 256 / 429.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.7663, allocations: 29.8 kB / 429.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.7666, allocations: 7.875 kB / 429.4 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.7671, allocations: 162 kB / 429.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.7674, allocations: 0.6749 MB / 430.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.7674, allocations: 15.31 kB / 430.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.7674, allocations: 0 / 430.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of Templates: time 0.003447/0.7709, allocations: 0.617 MB / 430.9 MB, free: 34.91 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=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