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.005207/0.005207, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001375/0.001375, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2263/0.2263, allocations: 16.67 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 65.53 kB / 426.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1022, allocations: 53.57 MB / 480 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001823/0.1041, allocations: 0.6674 MB / 480.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000232/0.1043, allocations: 54.8 kB / 480.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.1044, allocations: 1.125 kB / 480.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.1044, allocations: 4 kB / 480.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.1045, allocations: 9.078 kB / 480.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1047, allocations: 10.97 kB / 480.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.1048, allocations: 21.52 kB / 480.8 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1049, allocations: 10.67 kB / 480.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.1049, allocations: 8.031 kB / 480.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.105, allocations: 15.03 kB / 480.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.105, allocations: 1.938 kB / 480.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.105, allocations: 1.906 kB / 480.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.105, allocations: 9 kB / 480.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1051, allocations: 17.55 kB / 480.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.1052, allocations: 20.36 kB / 480.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1052, allocations: 0 / 480.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1052, allocations: 1.5 kB / 480.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1052, allocations: 0 / 480.9 MB, free: 9.938 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.0003862/0.1056, allocations: 343.6 kB / 481.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1056, allocations: 8.688 kB / 481.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.1057, allocations: 2.375 kB / 481.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1058, allocations: 170.9 kB / 481.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1058, allocations: 5.469 kB / 481.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1059, allocations: 6.656 kB / 481.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1061, allocations: 67.25 kB / 481.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1061, allocations: 1.344 kB / 481.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1061, allocations: 7.875 kB / 481.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1061, allocations: 1.031 kB / 481.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1063, allocations: 36.88 kB / 481.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1066, allocations: 269.4 kB / 481.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1068, allocations: 73.38 kB / 481.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1069, allocations: 30.05 kB / 481.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1069, allocations: 1.125 kB / 481.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.107, allocations: 35.44 kB / 481.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.107, allocations: 1.188 kB / 481.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003643/0.1073, allocations: 93.67 kB / 482 MB, free: 8.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1074, allocations: 104.1 kB / 482.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.1074, allocations: 101.8 kB / 482.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1075, allocations: 27.11 kB / 482.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1075, allocations: 81.73 kB / 482.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.1075, allocations: 21.16 kB / 482.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.1076, allocations: 12.34 kB / 482.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.1076, allocations: 316.5 kB / 482.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.1077, allocations: 22.38 kB / 482.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.1078, allocations: 35.03 kB / 482.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.108, allocations: 46.62 kB / 482.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.108, allocations: 1.125 kB / 482.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/0.1082, allocations: 80.44 kB / 482.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1082, allocations: 8.531 kB / 482.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1082, allocations: 1.031 kB / 482.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1082, allocations: 1.312 kB / 482.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.1084, allocations: 15.66 kB / 482.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1084, allocations: 1.312 kB / 482.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.1084, allocations: 8.578 kB / 482.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1084, allocations: 4.969 kB / 482.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.256e-05/0.1085, allocations: 88.83 kB / 483 MB, free: 7.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.83e-05/0.1086, allocations: 36.91 kB / 483 MB, free: 7.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.694e-05/0.1087, allocations: 28.52 kB / 483 MB, free: 7.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.1087, allocations: 0 / 483 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001167/0.1088, allocations: 53.28 kB / 483.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.1088, allocations: 5.656 kB / 483.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.1088, allocations: 5.344 kB / 483.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.1088, allocations: 0 / 483.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.1089, allocations: 9.906 kB / 483.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.1089, allocations: 3.984 kB / 483.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.1089, allocations: 11.7 kB / 483.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.1089, allocations: 1.094 kB / 483.1 MB, free: 7.699 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 6.509e-05/0.109, allocations: 183 kB / 483.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.109, allocations: 5.266 kB / 483.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.109, allocations: 16.5 kB / 483.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.109, allocations: 1.344 kB / 483.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1091, allocations: 0 / 483.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1091, allocations: 1 kB / 483.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1092, allocations: 163.1 kB / 483.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1092, allocations: 0 / 483.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.188e-05/0.1093, allocations: 13.23 kB / 483.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1093, allocations: 3.938 kB / 483.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1093, allocations: 2.312 kB / 483.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1093, allocations: 0 / 483.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1093, allocations: 4 kB / 483.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1095, allocations: 171.3 kB / 483.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.1096, allocations: 78.73 kB / 483.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1096, allocations: 0 / 483.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.1097, allocations: 13.02 kB / 483.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1097, allocations: 7.719 kB / 483.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1097, allocations: 4 kB / 483.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.1098, allocations: 82.14 kB / 483.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1098, allocations: 2.406 kB / 483.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.11, allocations: 6.156 kB / 483.8 MB, free: 6.934 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 9.213e-05/0.1101, allocations: 100.6 kB / 483.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1104, allocations: 56.02 kB / 484 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1104, allocations: 1.312 kB / 484 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/0.1105, allocations: 21.02 kB / 484 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1108, allocations: 9.375 kB / 484 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.1111, allocations: 127.6 kB / 484.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1112, allocations: 0.6811 MB / 484.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.395e-05/0.1113, allocations: 1.094 kB / 484.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.1113, allocations: 9.75 kB / 484.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1113, allocations: 4 kB / 484.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of Templates: time 0.003024/0.1143, allocations: 0.6199 MB / 485.5 MB, free: 5.637 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