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.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001359/0.001359, allocations: 188.7 kB / 16.25 MB, free: 6.629 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.273/1.273, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05696/0.05696, allocations: 14.16 MB / 283.6 MB, free: 7.234 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.00136/0.00136, allocations: 71.89 kB / 344.7 MB, free: 19.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0748/0.07618, allocations: 50.13 MB / 394.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001751/0.07797, allocations: 0.7547 MB / 395.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.07816, allocations: 59.78 kB / 395.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.07819, allocations: 0 / 395.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.07824, allocations: 3.938 kB / 395.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.07831, allocations: 4 kB / 395.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.07844, allocations: 12 kB / 395.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.07852, allocations: 27.92 kB / 395.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.0786, allocations: 4 kB / 395.7 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.07864, allocations: 19.91 kB / 395.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.07868, allocations: 11.98 kB / 395.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.0787, allocations: 4 kB / 395.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.07871, allocations: 0 / 395.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.07873, allocations: 3.938 kB / 395.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.07876, allocations: 8 kB / 395.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.036e-05/0.07882, allocations: 23.91 kB / 395.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.07883, allocations: 0 / 395.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.07884, allocations: 0 / 395.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.07884, allocations: 0 / 395.7 MB, free: 0.5469 MB / 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.0003555/0.0792, allocations: 335.7 kB / 396.1 MB, free: 172 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.07924, allocations: 8.031 kB / 396.1 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.07928, allocations: 42.73 kB / 396.1 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.07931, allocations: 0.9375 kB / 396.1 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.07946, allocations: 168.3 kB / 396.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.07948, allocations: 8.359 kB / 396.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.07949, allocations: 384 / 396.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.07966, allocations: 72.81 kB / 396.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.07968, allocations: 3.938 kB / 396.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.07969, allocations: 0 / 396.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.0797, allocations: 4 kB / 396.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.07986, allocations: 39.91 kB / 396.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.08018, allocations: 269.8 kB / 396.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.08035, allocations: 73.06 kB / 396.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.08045, allocations: 37.64 kB / 396.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.08047, allocations: 0 / 396.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.0805, allocations: 34.56 kB / 396.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.0805, allocations: 0 / 396.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003227/0.08083, allocations: 97.48 kB / 396.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.08089, allocations: 102.8 kB / 397 MB, free: 15.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.08096, allocations: 97.98 kB / 397.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.08098, allocations: 29.7 kB / 397.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.08102, allocations: 84.14 kB / 397.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.08104, allocations: 8.156 kB / 397.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.08107, allocations: 17.72 kB / 397.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.08117, allocations: 314.8 kB / 397.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.08126, allocations: 24.84 kB / 397.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.08135, allocations: 38.53 kB / 397.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.0815, allocations: 53.72 kB / 397.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.08151, allocations: 3.938 kB / 397.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001898/0.08171, allocations: 73.59 kB / 397.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.08173, allocations: 8.062 kB / 397.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.08174, allocations: 0 / 397.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.08175, allocations: 0 / 397.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.08184, allocations: 11.98 kB / 397.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.08185, allocations: 4 kB / 397.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.08191, allocations: 11.89 kB / 397.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.08192, allocations: 0 / 397.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.654e-05/0.08199, allocations: 89.23 kB / 397.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.432e-05/0.08205, allocations: 30.56 kB / 397.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.879e-05/0.08213, allocations: 33.64 kB / 397.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.62e-07/0.08214, allocations: 0 / 397.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001112/0.08225, allocations: 53.62 kB / 398 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.08227, allocations: 4 kB / 398 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.08227, allocations: 4.094 kB / 398 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.08228, allocations: 0 / 398 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.463e-05/0.08232, allocations: 11.94 kB / 398 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-06/0.08233, allocations: 0 / 398 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.08237, allocations: 11.92 kB / 398 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.08238, allocations: 0 / 398 MB, free: 13.96 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.953e-05/0.08247, allocations: 196.1 kB / 398.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.08249, allocations: 0 / 398.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.08251, allocations: 3.125 kB / 398.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.08252, allocations: 8 kB / 398.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.08253, allocations: 0 / 398.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.08254, allocations: 0 / 398.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.08269, allocations: 169.5 kB / 398.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0827, allocations: 0 / 398.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.08275, allocations: 11.98 kB / 398.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.08276, allocations: 4 kB / 398.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.08278, allocations: 0 / 398.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.08278, allocations: 0 / 398.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.08279, allocations: 0 / 398.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.08301, allocations: 180.2 kB / 398.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.08305, allocations: 81.02 kB / 398.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.08307, allocations: 4 kB / 398.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.08315, allocations: 11.98 kB / 398.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.08319, allocations: 4 kB / 398.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.0832, allocations: 4 kB / 398.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.08323, allocations: 83.27 kB / 398.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08324, allocations: 0 / 398.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.08351, allocations: 8 kB / 398.7 MB, free: 13.12 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.0004383/0.08395, allocations: 0.7053 MB / 399.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.0842, allocations: 59.89 kB / 399.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.08421, allocations: 0 / 399.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.0843, allocations: 24.23 kB / 399.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.08451, allocations: 4 kB / 399.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.08573, allocations: 1.264 MB / 400.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.08595, allocations: 0.6806 MB / 401.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.08601, allocations: 12.03 kB / 401.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.08604, allocations: 11.44 kB / 401.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08605, allocations: 0 / 401.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009317/0.09537, allocations: 1.271 MB / 402.8 MB, free: 9 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.09555, allocations: 193.8 kB / 403 MB, free: 8.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.749, allocations: 0 / 403 MB, free: 8.746 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","../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches