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.001487/0.001487, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001722/0.001722, allocations: 200.4 kB / 16.26 MB, free: 6.621 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.254/1.254, 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.05937/0.05937, allocations: 14.16 MB / 283.6 MB, free: 7.262 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.001352/0.001352, allocations: 71.84 kB / 344.7 MB, free: 19.62 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07767/0.07903, allocations: 50.12 MB / 394.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001822/0.08089, allocations: 0.7476 MB / 395.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001892/0.08109, allocations: 63.78 kB / 395.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.08113, allocations: 0 / 395.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.08117, allocations: 7.938 kB / 395.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.08125, allocations: 0 / 395.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.08138, allocations: 15.98 kB / 395.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.08146, allocations: 27.92 kB / 395.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.08154, allocations: 4 kB / 395.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.08157, allocations: 11.94 kB / 395.7 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.08162, allocations: 19.95 kB / 395.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.08164, allocations: 0 / 395.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.08165, allocations: 4 kB / 395.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.08168, allocations: 11.94 kB / 395.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.0817, allocations: 8 kB / 395.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.55e-05/0.08177, allocations: 19.91 kB / 395.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.08178, allocations: 0 / 395.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08179, allocations: 0 / 395.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.0818, allocations: 0 / 395.7 MB, free: 0.5117 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.0003422/0.08214, allocations: 339.7 kB / 396.1 MB, free: 132 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.08218, allocations: 8.031 kB / 396.1 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.08222, allocations: 34.75 kB / 396.1 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.08224, allocations: 4.938 kB / 396.1 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.0824, allocations: 176.3 kB / 396.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-06/0.08241, allocations: 384 / 396.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.08243, allocations: 4.312 kB / 396.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.0826, allocations: 68.81 kB / 396.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.08262, allocations: 3.938 kB / 396.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.08263, allocations: 4 kB / 396.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.08265, allocations: 8 kB / 396.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.08281, allocations: 39.89 kB / 396.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.08314, allocations: 265.8 kB / 396.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.08332, allocations: 73.06 kB / 396.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.08343, allocations: 37.75 kB / 396.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.08345, allocations: 3.984 kB / 396.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.08348, allocations: 34.56 kB / 396.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.08349, allocations: 0 / 396.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003554/0.08385, allocations: 97.48 kB / 396.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.08391, allocations: 102.8 kB / 397 MB, free: 15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.08398, allocations: 97.86 kB / 397.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.084, allocations: 29.95 kB / 397.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.08404, allocations: 80.14 kB / 397.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.08406, allocations: 15.89 kB / 397.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.0841, allocations: 13.72 kB / 397.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.08419, allocations: 314.8 kB / 397.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.08428, allocations: 16.84 kB / 397.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.08438, allocations: 50.67 kB / 397.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.08455, allocations: 41.69 kB / 397.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.08456, allocations: 7.938 kB / 397.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002011/0.08477, allocations: 81.72 kB / 397.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.08479, allocations: 4 kB / 397.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.0848, allocations: 4 kB / 397.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.08482, allocations: 3.984 kB / 397.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.08491, allocations: 8 kB / 397.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.08492, allocations: 3.984 kB / 397.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.08498, allocations: 7.906 kB / 397.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.085, allocations: 4 kB / 397.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.277e-05/0.08507, allocations: 96.19 kB / 397.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.315e-05/0.08512, allocations: 18.58 kB / 397.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.625e-05/0.08521, allocations: 33.64 kB / 397.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.08521, allocations: 0 / 397.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001207/0.08534, allocations: 57.66 kB / 398 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.08535, allocations: 4 kB / 398 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.08536, allocations: 4 kB / 398 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-06/0.08537, allocations: 0 / 398 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.08541, allocations: 11.92 kB / 398 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.08542, allocations: 0 / 398 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.08547, allocations: 15.81 kB / 398 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-06/0.08548, allocations: 0 / 398 MB, free: 13.91 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.978e-05/0.08557, allocations: 197.3 kB / 398.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.0856, allocations: 0 / 398.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.08563, allocations: 11.11 kB / 398.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.08563, allocations: 0 / 398.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.08564, allocations: 0 / 398.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.08565, allocations: 0 / 398.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.0858, allocations: 165.6 kB / 398.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08581, allocations: 0 / 398.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.08588, allocations: 11.98 kB / 398.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.08588, allocations: 0 / 398.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.0859, allocations: 4 kB / 398.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0859, allocations: 0 / 398.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.08591, allocations: 4 kB / 398.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.08615, allocations: 172.2 kB / 398.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.08621, allocations: 89 kB / 398.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.08623, allocations: 4 kB / 398.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.08632, allocations: 4 kB / 398.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.08637, allocations: 7.984 kB / 398.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.08639, allocations: 8 kB / 398.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.08642, allocations: 79.28 kB / 398.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08643, allocations: 0 / 398.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.0867, allocations: 8 kB / 398.8 MB, free: 13.07 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.000474/0.08718, allocations: 0.7131 MB / 399.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.08745, allocations: 55.95 kB / 399.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.08746, allocations: 0 / 399.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.08756, allocations: 23.98 kB / 399.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.08778, allocations: 7.797 kB / 399.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.08903, allocations: 1.272 MB / 400.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.08925, allocations: 0.6806 MB / 401.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.08931, allocations: 4.375 kB / 401.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.08935, allocations: 15.44 kB / 401.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08936, allocations: 0 / 401.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009827/0.09919, allocations: 1.293 MB / 402.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.09937, allocations: 180.9 kB / 403 MB, free: 8.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.9, allocations: 7.562 kB / 403 MB, free: 8.652 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 & /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","../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches