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.004478/0.004478, allocations: 99.11 kB / 15.73 MB, free: 6.008 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.001038/0.001038, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07228/0.07228, allocations: 16.77 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 68.08 kB / 426.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1001, allocations: 53.55 MB / 480.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001965/0.1021, allocations: 0.6815 MB / 480.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.1024, allocations: 56.14 kB / 480.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.1024, allocations: 4 kB / 480.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.1025, allocations: 3.938 kB / 480.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.1026, allocations: 3.984 kB / 480.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.1027, allocations: 23.92 kB / 480.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.1028, allocations: 12 kB / 480.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1029, allocations: 11.98 kB / 480.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.103, allocations: 15.92 kB / 480.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.103, allocations: 7.984 kB / 480.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.103, allocations: 3.938 kB / 480.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.1031, allocations: 4 kB / 480.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1031, allocations: 4 kB / 480.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.1031, allocations: 11.92 kB / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.445e-05/0.1032, allocations: 19.86 kB / 481 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1032, allocations: 4 kB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1032, allocations: 4 kB / 481 MB, free: 4.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1032, allocations: 0 / 481 MB, free: 4.098 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.0004463/0.1037, allocations: 335.5 kB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1037, allocations: 8.031 kB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1037, allocations: 0.9375 kB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1039, allocations: 172.3 kB / 481.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1039, allocations: 4.375 kB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1039, allocations: 4.375 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1041, allocations: 76.75 kB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1042, allocations: 192 / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1042, allocations: 3.938 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1042, allocations: 0 / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1043, allocations: 31.97 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1047, allocations: 277.8 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1048, allocations: 69.06 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.1049, allocations: 33.77 kB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.105, allocations: 4 kB / 482 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.105, allocations: 38.44 kB / 482 MB, free: 2.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.105, allocations: 0 / 482 MB, free: 2.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003305/0.1053, allocations: 93.67 kB / 482.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1054, allocations: 102.8 kB / 482.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.1055, allocations: 105.8 kB / 482.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1055, allocations: 29.7 kB / 482.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.1055, allocations: 80.14 kB / 482.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1056, allocations: 11.91 kB / 482.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1056, allocations: 13.72 kB / 482.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1057, allocations: 323 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.1058, allocations: 20.84 kB / 482.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.1059, allocations: 34.56 kB / 482.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1061, allocations: 53.64 kB / 482.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1061, allocations: 0 / 482.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001768/0.1062, allocations: 69.61 kB / 482.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1063, allocations: 6.5 kB / 482.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1063, allocations: 4 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.585e-06/0.1063, allocations: 64 / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.1064, allocations: 19.92 kB / 483 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.1064, allocations: 0 / 483 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.1064, allocations: 15.92 kB / 483 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1065, allocations: 4 kB / 483 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.321e-05/0.1065, allocations: 84.14 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.482e-05/0.1066, allocations: 26.56 kB / 483.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.912e-05/0.1066, allocations: 33.73 kB / 483.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.1067, allocations: 0 / 483.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001177/0.1068, allocations: 57.56 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.1068, allocations: 4 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-06/0.1068, allocations: 4 kB / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-06/0.1068, allocations: 0 / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.222e-05/0.1068, allocations: 8.062 kB / 483.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.1068, allocations: 4 kB / 483.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.1069, allocations: 11.94 kB / 483.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-06/0.1069, allocations: 0 / 483.2 MB, free: 1.562 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 7.26e-05/0.107, allocations: 188.1 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.107, allocations: 0 / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.107, allocations: 15.06 kB / 483.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.107, allocations: 0 / 483.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.107, allocations: 0 / 483.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1071, allocations: 7.938 kB / 483.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1072, allocations: 165.6 kB / 483.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1072, allocations: 0 / 483.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.1073, allocations: 11.98 kB / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1073, allocations: 0 / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.1073, allocations: 0 / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1073, allocations: 0 / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1073, allocations: 4 kB / 483.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1075, allocations: 172.3 kB / 483.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1076, allocations: 85.05 kB / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1076, allocations: 0 / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1077, allocations: 7.984 kB / 483.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1077, allocations: 8 kB / 483.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1077, allocations: 0 / 483.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.1077, allocations: 87.27 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1077, allocations: 0 / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.108, allocations: 11.95 kB / 484 MB, free: 0.7188 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 8.98e-05/0.1081, allocations: 95.81 kB / 484.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1083, allocations: 51.89 kB / 484.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1083, allocations: 4.25 kB / 484.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1084, allocations: 23.98 kB / 484.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1086, allocations: 3.938 kB / 484.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.109, allocations: 125.7 kB / 484.3 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1093, allocations: 0.6768 MB / 484.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.1093, allocations: 4.125 kB / 484.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.1093, allocations: 11.44 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1093, allocations: 0 / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.002436/0.1118, allocations: 0.6235 MB / 485.6 MB, free: 15.04 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches