Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006932/0.006931, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001338/0.001338, allocations: 186.2 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07228/0.07228, allocations: 14.17 MB / 284.1 MB, free: 6.984 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.89 kB / 396 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 50.13 MB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001955/0.3008, allocations: 0.6807 MB / 446.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.3011, allocations: 59.33 kB / 446.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.3011, allocations: 0.9375 kB / 446.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3012, allocations: 3.938 kB / 446.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.3013, allocations: 13.12 kB / 446.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.3014, allocations: 15.14 kB / 446.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.3015, allocations: 26.55 kB / 446.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3016, allocations: 6.969 kB / 446.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.3017, allocations: 8.953 kB / 446.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.3017, allocations: 15.11 kB / 446.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3018, allocations: 2.281 kB / 446.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.3018, allocations: 3.219 kB / 446.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.3018, allocations: 11.92 kB / 447 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3018, allocations: 13.94 kB / 447 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.975e-05/0.3019, allocations: 20.12 kB / 447 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3019, allocations: 1.188 kB / 447 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3019, allocations: 4 kB / 447 MB, free: 1.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.3019, allocations: 0 / 447 MB, free: 1.273 MB / 318.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.0003784/0.3023, allocations: 335.6 kB / 447.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3024, allocations: 10.16 kB / 447.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.3024, allocations: 34.75 kB / 447.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.3024, allocations: 3.156 kB / 447.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3026, allocations: 167.6 kB / 447.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3026, allocations: 1.5 kB / 447.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3026, allocations: 5.438 kB / 447.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3028, allocations: 84.33 kB / 447.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3029, allocations: 3.938 kB / 447.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3029, allocations: 0 / 447.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.3029, allocations: 3.188 kB / 447.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3031, allocations: 36.23 kB / 447.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.3034, allocations: 271.3 kB / 447.9 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3035, allocations: 67.03 kB / 448 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3037, allocations: 38.47 kB / 448 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3037, allocations: 1.375 kB / 448 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3037, allocations: 39.84 kB / 448.1 MB, free: 128 kB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3037, allocations: 0 / 448.1 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003419/0.3041, allocations: 99.22 kB / 448.2 MB, free: 60 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.3042, allocations: 104.1 kB / 448.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.3043, allocations: 101.8 kB / 448.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3043, allocations: 26.64 kB / 448.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.3044, allocations: 85.08 kB / 448.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3044, allocations: 13.33 kB / 448.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3044, allocations: 16.56 kB / 448.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3046, allocations: 320.2 kB / 448.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.3047, allocations: 23.53 kB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.3048, allocations: 35.39 kB / 448.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.305, allocations: 55.06 kB / 448.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.305, allocations: 5.031 kB / 448.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002132/0.3052, allocations: 68.72 kB / 449 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3052, allocations: 5.562 kB / 449 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3053, allocations: 0 / 449 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3053, allocations: 5.031 kB / 449 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.3054, allocations: 16.02 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3054, allocations: 0.8438 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.3055, allocations: 9.422 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3055, allocations: 1.219 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.382e-05/0.3056, allocations: 92.31 kB / 449.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.278e-05/0.3056, allocations: 25.19 kB / 449.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.234e-05/0.3057, allocations: 29.47 kB / 449.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.3057, allocations: 0 / 449.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001383/0.3059, allocations: 57.06 kB / 449.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.3059, allocations: 5.094 kB / 449.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3059, allocations: 5.516 kB / 449.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-06/0.3059, allocations: 0 / 449.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.306, allocations: 9.469 kB / 449.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.306, allocations: 1.5 kB / 449.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.306, allocations: 6.875 kB / 449.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.306, allocations: 5.5 kB / 449.3 MB, free: 15 MB / 334.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 0.0001217/0.3061, allocations: 185.6 kB / 449.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.3062, allocations: 6.922 kB / 449.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.3062, allocations: 7.125 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3062, allocations: 1.594 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3062, allocations: 4 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3062, allocations: 1.375 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3064, allocations: 170.8 kB / 449.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3065, allocations: 1.281 kB / 449.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.3065, allocations: 6.781 kB / 449.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3065, allocations: 1.812 kB / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3065, allocations: 0 / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3066, allocations: 1.719 kB / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3066, allocations: 3.984 kB / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3068, allocations: 183.4 kB / 449.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.3069, allocations: 78.89 kB / 449.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3069, allocations: 1.781 kB / 449.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.307, allocations: 13.33 kB / 449.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3071, allocations: 5.75 kB / 449.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3071, allocations: 5.781 kB / 449.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.3071, allocations: 77.06 kB / 450 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3071, allocations: 0 / 450 MB, free: 14.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3074, allocations: 11.19 kB / 450 MB, free: 14.23 MB / 334.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.0006564/0.3081, allocations: 0.7067 MB / 450.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.3084, allocations: 58.52 kB / 450.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3084, allocations: 0 / 450.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.3085, allocations: 28.02 kB / 450.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3087, allocations: 4 kB / 450.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3103, allocations: 1.27 MB / 452.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3107, allocations: 0.6769 MB / 452.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.395e-05/0.3107, allocations: 9.266 kB / 452.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3108, allocations: 13.69 kB / 452.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3108, allocations: 1.781 kB / 452.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3328, allocations: 1.469 MB / 454.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.201, allocations: 2.062 kB / 454.3 MB, free: 10.61 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches