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.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.002155/0.002155, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002649/0.002649, allocations: 219.6 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.52/1.52, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.06964/0.06964, allocations: 14.38 MB / 300.5 MB, free: 7.34 MB / 238.1 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.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 78.86 kB / 421.4 MB, free: 39.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1115, allocations: 52.89 MB / 474.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0027/0.1142, allocations: 0.6831 MB / 475 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.1145, allocations: 55.81 kB / 475 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.1145, allocations: 0 / 475 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.1146, allocations: 0 / 475 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1147, allocations: 3.938 kB / 475 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1149, allocations: 19.98 kB / 475 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.115, allocations: 27.86 kB / 475.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1151, allocations: 4 kB / 475.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.1151, allocations: 11.98 kB / 475.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.1152, allocations: 15.92 kB / 475.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1152, allocations: 0 / 475.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.1153, allocations: 4 kB / 475.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.1153, allocations: 7.984 kB / 475.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1153, allocations: 7.938 kB / 475.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1154, allocations: 23.86 kB / 475.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1154, allocations: 7.938 kB / 475.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1154, allocations: 0 / 475.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1154, allocations: 3.938 kB / 475.2 MB, free: 1.242 MB / 334.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.0004793/0.1159, allocations: 258.3 kB / 475.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1159, allocations: 12.03 kB / 475.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.399e-05/0.116, allocations: 192 / 475.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.116, allocations: 30.75 kB / 475.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.116, allocations: 0.9375 kB / 475.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1162, allocations: 114.5 kB / 475.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1162, allocations: 8.375 kB / 475.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1162, allocations: 4.375 kB / 475.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1165, allocations: 106.2 kB / 475.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1165, allocations: 0 / 475.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1165, allocations: 0 / 475.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1165, allocations: 0 / 475.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1167, allocations: 39.95 kB / 475.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1171, allocations: 228.9 kB / 475.9 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1172, allocations: 73.12 kB / 476 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.1173, allocations: 28 kB / 476 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1174, allocations: 3.984 kB / 476 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1174, allocations: 42.5 kB / 476.1 MB, free: 152 kB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1174, allocations: 0 / 476.1 MB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003784/0.1178, allocations: 89.59 kB / 476.2 MB, free: 56 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.1179, allocations: 110.8 kB / 476.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.118, allocations: 93.86 kB / 476.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.118, allocations: 29.7 kB / 476.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.118, allocations: 84.14 kB / 476.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1181, allocations: 15.86 kB / 476.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1181, allocations: 13.72 kB / 476.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1183, allocations: 314.8 kB / 476.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.1184, allocations: 25.09 kB / 476.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1185, allocations: 64.44 kB / 476.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1186, allocations: 49.62 kB / 477 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1186, allocations: 3.938 kB / 477 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002168/0.1188, allocations: 77.78 kB / 477 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1189, allocations: 4 kB / 477 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1189, allocations: 3.938 kB / 477 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1189, allocations: 3.984 kB / 477.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.119, allocations: 8 kB / 477.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.119, allocations: 3.984 kB / 477.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.1191, allocations: 15.89 kB / 477.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1191, allocations: 0 / 477.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.712e-05/0.1192, allocations: 96.12 kB / 477.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.81e-05/0.1192, allocations: 52.28 kB / 477.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.103e-05/0.1193, allocations: 29.7 kB / 477.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.1193, allocations: 0 / 477.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001348/0.1195, allocations: 57.56 kB / 477.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.1195, allocations: 4 kB / 477.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.1195, allocations: 4.094 kB / 477.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-06/0.1195, allocations: 0 / 477.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.1195, allocations: 11.98 kB / 477.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-06/0.1195, allocations: 0 / 477.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.1196, allocations: 4 kB / 477.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-06/0.1196, allocations: 0 / 477.3 MB, free: 14.78 MB / 350.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.0001333/0.1197, allocations: 184.2 kB / 477.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1197, allocations: 0 / 477.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1198, allocations: 15.25 kB / 477.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1198, allocations: 4 kB / 477.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1198, allocations: 4 kB / 477.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1198, allocations: 3.938 kB / 477.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.12, allocations: 132.7 kB / 477.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.12, allocations: 4 kB / 477.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.12, allocations: 8 kB / 477.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.12, allocations: 0 / 477.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.12, allocations: 0 / 477.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.12, allocations: 3.984 kB / 477.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.12, allocations: 0 / 477.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1203, allocations: 180.3 kB / 477.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.1203, allocations: 4 kB / 477.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1203, allocations: 0 / 477.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.1204, allocations: 15.98 kB / 477.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.1205, allocations: 7.875 kB / 477.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1205, allocations: 0 / 477.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.1205, allocations: 79.28 kB / 478 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1205, allocations: 0 / 478 MB, free: 14.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1208, allocations: 12 kB / 478 MB, free: 14.06 MB / 350.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.0005954/0.1214, allocations: 0.7015 MB / 478.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1217, allocations: 51.89 kB / 478.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1217, allocations: 0 / 478.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.1218, allocations: 32.23 kB / 478.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.122, allocations: 0 / 478.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1237, allocations: 1.283 MB / 480 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.1237, allocations: 59.34 kB / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.1238, allocations: 4 kB / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1238, allocations: 11.48 kB / 480.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1238, allocations: 0 / 480.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.1488, allocations: 1.683 MB / 481.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.33, allocations: 4.062 kB / 481.8 MB, free: 10.13 MB / 350.1 MB " [Timeout remaining time 648] (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 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.245557285961695] Failed to read output from testmodel.py, exit status != 0: 12.485759015078656 12.501238516999999 12.38272489 Calling exit ...