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.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.367/1.367, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06152/0.06152, allocations: 14.17 MB / 283.9 MB, free: 7.094 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.001583/0.001583, allocations: 75.83 kB / 345.2 MB, free: 19.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08233, allocations: 50.13 MB / 395.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002049/0.08442, allocations: 0.6805 MB / 396 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002335/0.08468, allocations: 58.14 kB / 396 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.08473, allocations: 0 / 396 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.08478, allocations: 3.938 kB / 396 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.08487, allocations: 11.98 kB / 396.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.08503, allocations: 15.92 kB / 396.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.08513, allocations: 27.97 kB / 396.1 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.08524, allocations: 4 kB / 396.1 MB, free: 344 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.08528, allocations: 19.86 kB / 396.1 MB, free: 324 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.08534, allocations: 11.98 kB / 396.1 MB, free: 312 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.08537, allocations: 4 kB / 396.1 MB, free: 308 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.08538, allocations: 3.938 kB / 396.1 MB, free: 304 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.0854, allocations: 7.938 kB / 396.1 MB, free: 296 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.08544, allocations: 11.98 kB / 396.2 MB, free: 284 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.281e-05/0.08552, allocations: 23.91 kB / 396.2 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.08553, allocations: 0 / 396.2 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08553, allocations: 0 / 396.2 MB, free: 260 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.08555, allocations: 0 / 396.2 MB, free: 260 kB / 286.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.0004267/0.08598, allocations: 339.7 kB / 396.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.08602, allocations: 12.03 kB / 396.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.08607, allocations: 30.75 kB / 396.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.0861, allocations: 0.9375 kB / 396.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.08628, allocations: 172.4 kB / 396.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.0863, allocations: 4.375 kB / 396.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.08632, allocations: 4.375 kB / 396.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.08654, allocations: 68.75 kB / 396.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.08656, allocations: 7.938 kB / 396.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.08658, allocations: 4 kB / 396.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.08659, allocations: 0 / 396.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.08677, allocations: 39.95 kB / 396.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.08724, allocations: 265.8 kB / 397.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.08744, allocations: 77.12 kB / 397.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.08755, allocations: 37.62 kB / 397.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.08759, allocations: 0 / 397.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.08762, allocations: 30.56 kB / 397.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.08763, allocations: 0 / 397.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003915/0.08802, allocations: 101.5 kB / 397.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.0881, allocations: 102.8 kB / 397.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.08818, allocations: 97.86 kB / 397.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.0882, allocations: 25.7 kB / 397.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.08825, allocations: 88.38 kB / 397.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.08828, allocations: 11.91 kB / 397.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.08832, allocations: 13.72 kB / 397.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.08845, allocations: 314.8 kB / 398 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.08855, allocations: 20.84 kB / 398 MB, free: 14.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.08865, allocations: 42.55 kB / 398.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.08881, allocations: 45.62 kB / 398.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.08883, allocations: 3.938 kB / 398.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002215/0.08905, allocations: 77.72 kB / 398.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.08908, allocations: 11.94 kB / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.08909, allocations: 0 / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.08911, allocations: 4 kB / 398.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.08922, allocations: 12.27 kB / 398.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.08923, allocations: 7.922 kB / 398.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.0893, allocations: 7.906 kB / 398.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.08932, allocations: 4 kB / 398.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.037e-05/0.0894, allocations: 92.12 kB / 398.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.16e-05/0.08946, allocations: 34.58 kB / 398.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.29e-05/0.08955, allocations: 21.72 kB / 398.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.08956, allocations: 3.938 kB / 398.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001229/0.08969, allocations: 53.62 kB / 398.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.08971, allocations: 16.08 kB / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-06/0.08972, allocations: 0 / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.08973, allocations: 0 / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.08977, allocations: 4 kB / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.08978, allocations: 0 / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.08983, allocations: 11.88 kB / 398.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.08984, allocations: 7.938 kB / 398.5 MB, free: 13.66 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 8.817e-05/0.08993, allocations: 189.3 kB / 398.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.08996, allocations: 4 kB / 398.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.08999, allocations: 7.125 kB / 398.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.09, allocations: 0 / 398.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.09001, allocations: 0 / 398.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.09002, allocations: 4 kB / 398.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.09018, allocations: 165.6 kB / 398.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.09019, allocations: 0 / 398.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.09026, allocations: 8 kB / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.09027, allocations: 0 / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.09028, allocations: 4 kB / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.09029, allocations: 3.984 kB / 398.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0903, allocations: 4 kB / 398.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.09054, allocations: 176.2 kB / 399 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.09059, allocations: 81.02 kB / 399.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.09061, allocations: 0 / 399.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.0907, allocations: 15.98 kB / 399.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.09075, allocations: 4 kB / 399.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.09076, allocations: 4 kB / 399.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.17e-05/0.09081, allocations: 75.28 kB / 399.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09082, allocations: 0 / 399.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.09112, allocations: 8 kB / 399.2 MB, free: 12.82 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 0.0005237/0.09165, allocations: 0.7131 MB / 399.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.09194, allocations: 55.89 kB / 400 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.09195, allocations: 4.25 kB / 400 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.09205, allocations: 23.92 kB / 400 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.09229, allocations: 4 kB / 400 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.0937, allocations: 1.271 MB / 401.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.09396, allocations: 0.6768 MB / 401.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.09401, allocations: 8 kB / 402 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.09405, allocations: 7.438 kB / 402 MB, free: 9.914 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09406, allocations: 4 kB / 402 MB, free: 9.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.1121, allocations: 1.443 MB / 403.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.627, allocations: 7.344 kB / 403.4 MB, free: 8.469 MB / 302.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