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.007786/0.007786, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001714/0.001714, allocations: 194.1 kB / 16.68 MB, free: 6.352 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.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07631/0.07631, allocations: 14.17 MB / 284.1 MB, free: 6.941 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.002661/0.002662, allocations: 68.12 kB / 396 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3469, allocations: 50.14 MB / 446.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001864/0.3488, allocations: 0.6764 MB / 446.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.3491, allocations: 63.81 kB / 446.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.3492, allocations: 0 / 446.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.3492, allocations: 9.094 kB / 446.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.3493, allocations: 4 kB / 446.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.3495, allocations: 16.39 kB / 446.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3496, allocations: 26.03 kB / 446.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3497, allocations: 7.219 kB / 446.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.3498, allocations: 11.55 kB / 446.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.3498, allocations: 16.45 kB / 446.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3498, allocations: 2.406 kB / 446.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.3499, allocations: 2.156 kB / 446.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.3499, allocations: 17.14 kB / 447 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.3499, allocations: 13.03 kB / 447 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.35, allocations: 24.39 kB / 447 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.35, allocations: 0.9688 kB / 447 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.35, allocations: 0 / 447 MB, free: 1.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3501, allocations: 0 / 447 MB, free: 1.258 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.000396/0.3505, allocations: 331.9 kB / 447.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3505, allocations: 9.875 kB / 447.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.3505, allocations: 31.81 kB / 447.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3506, allocations: 6.312 kB / 447.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3507, allocations: 171.5 kB / 447.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.3508, allocations: 1.375 kB / 447.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3508, allocations: 6.375 kB / 447.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.351, allocations: 83.59 kB / 447.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.351, allocations: 3.938 kB / 447.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.351, allocations: 0 / 447.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.351, allocations: 5.375 kB / 447.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3512, allocations: 36.16 kB / 447.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.3515, allocations: 269.3 kB / 447.9 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3517, allocations: 71.59 kB / 448 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.3518, allocations: 39.78 kB / 448 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3518, allocations: 0 / 448 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3519, allocations: 34.56 kB / 448.1 MB, free: 112 kB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3519, allocations: 3.938 kB / 448.1 MB, free: 112 kB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003693/0.3522, allocations: 91.59 kB / 448.2 MB, free: 48 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.3524, allocations: 112.1 kB / 448.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.3525, allocations: 97.59 kB / 448.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3525, allocations: 27.27 kB / 448.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.3526, allocations: 89.48 kB / 448.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3526, allocations: 5.172 kB / 448.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3526, allocations: 13.56 kB / 448.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3528, allocations: 318.8 kB / 448.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.3529, allocations: 19.38 kB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.353, allocations: 39.28 kB / 448.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3532, allocations: 56.17 kB / 448.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3532, allocations: 7.938 kB / 448.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002265/0.3535, allocations: 72.67 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3535, allocations: 5.375 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3535, allocations: 1.344 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3535, allocations: 1.219 kB / 449 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3536, allocations: 11.08 kB / 449 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3537, allocations: 1.344 kB / 449 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.3537, allocations: 17.22 kB / 449 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3538, allocations: 1.844 kB / 449 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.127e-05/0.3539, allocations: 91.89 kB / 449.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.813e-05/0.3539, allocations: 25.16 kB / 449.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.025e-05/0.354, allocations: 31.64 kB / 449.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.354, allocations: 1.156 kB / 449.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001367/0.3542, allocations: 56.97 kB / 449.2 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.3542, allocations: 5.375 kB / 449.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.3542, allocations: 1.156 kB / 449.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.3542, allocations: 0 / 449.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.3543, allocations: 5.375 kB / 449.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.3543, allocations: 5.094 kB / 449.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.3543, allocations: 7.734 kB / 449.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.3543, allocations: 1.25 kB / 449.3 MB, free: 14.99 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.0001324/0.3545, allocations: 190.4 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3545, allocations: 1.938 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.3545, allocations: 4.75 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3545, allocations: 0 / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.3545, allocations: 1.5 kB / 449.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3546, allocations: 3.938 kB / 449.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3548, allocations: 171.7 kB / 449.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3548, allocations: 0 / 449.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.3548, allocations: 12.27 kB / 449.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3549, allocations: 0 / 449.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3549, allocations: 5.25 kB / 449.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3549, allocations: 1.094 kB / 449.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3549, allocations: 0 / 449.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3552, allocations: 180.7 kB / 449.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.3553, allocations: 78.55 kB / 449.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3553, allocations: 4 kB / 449.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.3554, allocations: 9.578 kB / 449.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3554, allocations: 7.109 kB / 449.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3554, allocations: 9.359 kB / 449.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.3555, allocations: 81.7 kB / 450 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3555, allocations: 0 / 450 MB, free: 14.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3558, allocations: 7.75 kB / 450 MB, free: 14.21 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.0006162/0.3564, allocations: 0.7089 MB / 450.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3567, allocations: 62.05 kB / 450.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3567, allocations: 0 / 450.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.3569, allocations: 19.48 kB / 450.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3571, allocations: 15.08 kB / 450.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3588, allocations: 1.272 MB / 452.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3592, allocations: 0.6733 MB / 452.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.3592, allocations: 9.297 kB / 452.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.3593, allocations: 10.41 kB / 452.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3593, allocations: 0 / 452.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3846, allocations: 1.464 MB / 454.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.401, allocations: 9.719 kB / 454.3 MB, free: 10.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/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