Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 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.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",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.001758/0.001758, allocations: 108 kB / 15.6 MB, free: 132 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.002022/0.002022, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 205.1 MB / 222.4 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06107/0.06107, allocations: 14.16 MB / 283.9 MB, free: 7.059 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.001494/0.001494, allocations: 76.45 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.0917, allocations: 50.13 MB / 395.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002079/0.09382, allocations: 0.6805 MB / 396 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.09408, allocations: 58.16 kB / 396 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.09413, allocations: 0 / 396 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.09418, allocations: 3.938 kB / 396 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/0.09426, allocations: 7.969 kB / 396.1 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.0944, allocations: 15.92 kB / 396.1 MB, free: 364 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.09448, allocations: 20 kB / 396.1 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.09459, allocations: 3.984 kB / 396.1 MB, free: 340 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.09463, allocations: 19.81 kB / 396.1 MB, free: 320 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.09468, allocations: 11.98 kB / 396.1 MB, free: 308 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.0947, allocations: 0 / 396.1 MB, free: 308 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.09472, allocations: 8 kB / 396.1 MB, free: 300 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.09474, allocations: 3.938 kB / 396.1 MB, free: 296 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.09477, allocations: 15.97 kB / 396.1 MB, free: 280 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.14e-05/0.09485, allocations: 15.92 kB / 396.2 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09486, allocations: 0 / 396.2 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09486, allocations: 0 / 396.2 MB, free: 264 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.09487, allocations: 0 / 396.2 MB, free: 264 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.0004147/0.09529, allocations: 339.7 kB / 396.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.09534, allocations: 8.031 kB / 396.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.09538, allocations: 42.75 kB / 396.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.09541, allocations: 0.9375 kB / 396.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.09557, allocations: 168.4 kB / 396.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.09558, allocations: 384 / 396.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.0956, allocations: 384 / 396.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.09579, allocations: 76.75 kB / 396.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.09581, allocations: 3.938 kB / 396.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.09582, allocations: 4 kB / 396.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.09583, allocations: 4 kB / 396.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.096, allocations: 31.97 kB / 396.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.09636, allocations: 269.8 kB / 397.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.09655, allocations: 69.12 kB / 397.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.09665, allocations: 33.7 kB / 397.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.09668, allocations: 3.938 kB / 397.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.0967, allocations: 34.56 kB / 397.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.073e-06/0.09671, allocations: 4 kB / 397.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.09707, allocations: 93.48 kB / 397.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.09714, allocations: 102.8 kB / 397.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.09721, allocations: 102.1 kB / 397.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.09723, allocations: 29.7 kB / 397.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.09728, allocations: 80.14 kB / 397.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.0973, allocations: 7.906 kB / 397.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.09734, allocations: 17.72 kB / 397.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.09744, allocations: 314.8 kB / 398 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.09754, allocations: 20.84 kB / 398 MB, free: 14.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/0.09764, allocations: 42.56 kB / 398 MB, free: 14.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.0978, allocations: 49.61 kB / 398.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.09781, allocations: 3.938 kB / 398.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002097/0.09803, allocations: 69.7 kB / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.09805, allocations: 4 kB / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.09806, allocations: 3.938 kB / 398.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.09808, allocations: 8.219 kB / 398.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.09817, allocations: 11.98 kB / 398.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.09819, allocations: 4 kB / 398.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.09825, allocations: 11.89 kB / 398.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.09826, allocations: 4.062 kB / 398.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.531e-05/0.09834, allocations: 89.23 kB / 398.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.269e-05/0.0984, allocations: 34.53 kB / 398.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.831e-05/0.09849, allocations: 29.7 kB / 398.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.09849, allocations: 0 / 398.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001198/0.09862, allocations: 61.59 kB / 398.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/0.09864, allocations: 4 kB / 398.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.09864, allocations: 0 / 398.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.09865, allocations: 0 / 398.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.09869, allocations: 8 kB / 398.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.0987, allocations: 0 / 398.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.09875, allocations: 15.92 kB / 398.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.09876, allocations: 0 / 398.4 MB, free: 13.68 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 7.868e-05/0.09885, allocations: 192.1 kB / 398.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.09888, allocations: 4 kB / 398.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.0989, allocations: 7.125 kB / 398.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.09891, allocations: 0 / 398.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.09891, allocations: 4 kB / 398.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09892, allocations: 0 / 398.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.09907, allocations: 165.6 kB / 398.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.09908, allocations: 0 / 398.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.09915, allocations: 11.98 kB / 398.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.09915, allocations: 0 / 398.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.09917, allocations: 8 kB / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.09917, allocations: 0 / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.09918, allocations: 0 / 398.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.09941, allocations: 176.2 kB / 399 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.09945, allocations: 81.02 kB / 399.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.09947, allocations: 4 kB / 399.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.09956, allocations: 11.98 kB / 399.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.0996, allocations: 4 kB / 399.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.09961, allocations: 4 kB / 399.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.09964, allocations: 79.27 kB / 399.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09965, allocations: 0 / 399.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.09992, allocations: 8 kB / 399.2 MB, free: 12.84 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.0004842/0.1004, allocations: 0.7131 MB / 399.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1007, allocations: 52.02 kB / 399.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1007, allocations: 4 kB / 399.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.1008, allocations: 23.92 kB / 400 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.101, allocations: 10.44 kB / 400 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1026, allocations: 1.264 MB / 401.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1028, allocations: 0.6807 MB / 401.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.1029, allocations: 4 kB / 401.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1029, allocations: 11.44 kB / 401.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1029, allocations: 0 / 401.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.1202, allocations: 1.42 MB / 403.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.26, allocations: 8.266 kB / 403.4 MB, free: 8.523 MB / 302.1 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches