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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8565/0.8565, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03782/0.03782, allocations: 10.66 MB / 247.1 MB, free: 4.719 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 368.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.186e-05, allocations: 6.281 kB / 368.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001397/0.001419, allocations: 0.6882 MB / 368.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.001658, allocations: 59.8 kB / 368.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.001693, allocations: 3.938 kB / 368.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.001719, allocations: 3.938 kB / 368.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.001821, allocations: 0 / 368.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.002009, allocations: 19.92 kB / 368.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.002124, allocations: 35.86 kB / 368.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.002223, allocations: 7.984 kB / 368.9 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.002263, allocations: 11.98 kB / 368.9 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.002316, allocations: 11.98 kB / 368.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.002337, allocations: 0 / 368.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.002343, allocations: 4 kB / 368.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.002359, allocations: 7.938 kB / 368.9 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.002379, allocations: 7.984 kB / 368.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.045e-05/0.002459, allocations: 15.98 kB / 369 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002461, allocations: 0 / 369 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.002462, allocations: 4 kB / 369 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.002466, allocations: 0 / 369 MB, free: 5.535 MB / 298.7 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.0003233/0.00279, allocations: 258.3 kB / 369.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.002831, allocations: 12.03 kB / 369.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.002865, allocations: 34.75 kB / 369.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.002895, allocations: 4.875 kB / 369.3 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.003035, allocations: 117.8 kB / 369.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.003044, allocations: 384 / 369.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-06/0.003052, allocations: 4.375 kB / 369.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.003238, allocations: 106.5 kB / 369.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.003247, allocations: 192 / 369.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.003261, allocations: 384 / 369.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.003271, allocations: 4.125 kB / 369.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.003373, allocations: 39.95 kB / 369.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.003671, allocations: 232.9 kB / 369.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.003777, allocations: 69.17 kB / 369.8 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.00383, allocations: 29.77 kB / 369.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.003848, allocations: 4 kB / 369.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.00387, allocations: 38.44 kB / 369.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.003871, allocations: 0 / 369.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002313/0.004103, allocations: 105.7 kB / 370 MB, free: 4.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.004152, allocations: 102.8 kB / 370.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.004205, allocations: 97.86 kB / 370.2 MB, free: 4.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.004215, allocations: 25.7 kB / 370.2 MB, free: 4.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.004251, allocations: 88.12 kB / 370.3 MB, free: 3.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.004268, allocations: 11.89 kB / 370.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.004293, allocations: 13.72 kB / 370.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.00437, allocations: 310.8 kB / 370.6 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.004425, allocations: 28.83 kB / 370.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.004481, allocations: 64.33 kB / 370.7 MB, free: 3.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.004564, allocations: 49.62 kB / 370.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.004567, allocations: 0 / 370.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001153/0.004682, allocations: 81.66 kB / 370.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.004694, allocations: 4 kB / 370.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004699, allocations: 4 kB / 370.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.004709, allocations: 0 / 370.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.004773, allocations: 15.92 kB / 370.9 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.004778, allocations: 0 / 370.9 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.004806, allocations: 11.94 kB / 370.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.004812, allocations: 7.938 kB / 370.9 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.426e-05/0.004857, allocations: 90.11 kB / 371 MB, free: 3.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.353e-05/0.00489, allocations: 56.3 kB / 371 MB, free: 3.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.816e-05/0.004928, allocations: 21.72 kB / 371.1 MB, free: 3.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-06/0.004931, allocations: 3.984 kB / 371.1 MB, free: 3.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 6.269e-05/0.004993, allocations: 53.62 kB / 371.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.005001, allocations: 11.94 kB / 371.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.41e-07/0.005001, allocations: 0 / 371.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.005003, allocations: 0 / 371.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.608e-05/0.005019, allocations: 8.094 kB / 371.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.005021, allocations: 4 kB / 371.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.00504, allocations: 7.984 kB / 371.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-06/0.005042, allocations: 4.375 kB / 371.1 MB, free: 3.047 MB / 298.7 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 6.857e-05/0.005111, allocations: 184.2 kB / 371.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.005123, allocations: 7.938 kB / 371.3 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.005142, allocations: 11.27 kB / 371.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005145, allocations: 3.984 kB / 371.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.005151, allocations: 4 kB / 371.4 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.005153, allocations: 0 / 371.4 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.005259, allocations: 128.8 kB / 371.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005261, allocations: 4 kB / 371.5 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.005293, allocations: 7.984 kB / 371.5 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.005296, allocations: 7.938 kB / 371.5 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005302, allocations: 3.938 kB / 371.5 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005303, allocations: 0 / 371.5 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005304, allocations: 0 / 371.5 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.005445, allocations: 176.3 kB / 371.7 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.005459, allocations: 15.94 kB / 371.7 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.00547, allocations: 0 / 371.7 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.005509, allocations: 7.984 kB / 371.7 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.005549, allocations: 4 kB / 371.7 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005551, allocations: 0 / 371.7 MB, free: 2.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.00558, allocations: 87.27 kB / 371.8 MB, free: 2.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00558, allocations: 0 / 371.8 MB, free: 2.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.005752, allocations: 8 kB / 371.8 MB, free: 2.332 MB / 298.7 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.0003061/0.006058, allocations: 0.7015 MB / 372.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.006214, allocations: 55.89 kB / 372.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006215, allocations: 4 kB / 372.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.006262, allocations: 24.23 kB / 372.6 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.00642, allocations: 12.05 kB / 372.6 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008971/0.007317, allocations: 1.276 MB / 373.9 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.007357, allocations: 63.28 kB / 373.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.007391, allocations: 7.984 kB / 373.9 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.007428, allocations: 8.5 kB / 373.9 MB, free: 40 kB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007429, allocations: 8 kB / 374 MB, free: 32 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.02113, allocations: 2.184 MB / 376.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.268/6.289, allocations: 4 kB / 376.1 MB, free: 13.88 MB / 314.7 MB " [Timeout remaining time 654] (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) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable deadBand.smoothed in file PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.csv. Warning: Get data of variable deadBand.smoothed from file PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.106849887408316]