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.001802/0.001802, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002252/0.002252, allocations: 217.2 kB / 22.25 MB, free: 5.125 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.492/1.492, allocations: 207.6 MB / 233 MB, free: 9.977 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.07514/0.07514, allocations: 14.39 MB / 299.7 MB, free: 7.43 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.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: 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.00231/0.00231, allocations: 79.88 kB / 420.6 MB, free: 39.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1137, allocations: 52.91 MB / 473.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.003227/0.1169, allocations: 0.686 MB / 474.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.1173, allocations: 67.67 kB / 474.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.1174, allocations: 0 / 474.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.1174, allocations: 0 / 474.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1175, allocations: 7.922 kB / 474.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1177, allocations: 19.98 kB / 474.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1179, allocations: 31.92 kB / 474.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.118, allocations: 0 / 474.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.118, allocations: 15.98 kB / 474.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1181, allocations: 11.92 kB / 474.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1182, allocations: 4 kB / 474.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.1182, allocations: 4 kB / 474.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.1182, allocations: 7.984 kB / 474.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1183, allocations: 11.92 kB / 474.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1184, allocations: 19.86 kB / 474.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.1184, allocations: 8 kB / 474.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1184, allocations: 0 / 474.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1184, allocations: 7.938 kB / 474.4 MB, free: 1.379 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.00069/0.1191, allocations: 258.3 kB / 474.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.1192, allocations: 8.031 kB / 474.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.1192, allocations: 34.75 kB / 474.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.1193, allocations: 4.938 kB / 474.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1195, allocations: 110.5 kB / 474.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1195, allocations: 4.375 kB / 474.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1195, allocations: 384 / 474.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1199, allocations: 72.81 kB / 474.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1199, allocations: 7.875 kB / 474.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1199, allocations: 4 kB / 474.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1199, allocations: 0 / 474.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.1202, allocations: 35.95 kB / 475 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.1208, allocations: 236.9 kB / 475.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.1211, allocations: 73.06 kB / 475.3 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1213, allocations: 33.77 kB / 475.3 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1214, allocations: 4 kB / 475.3 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1214, allocations: 34.55 kB / 475.3 MB, free: 324 kB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.1214, allocations: 0 / 475.3 MB, free: 324 kB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007315/0.1221, allocations: 97.67 kB / 475.4 MB, free: 220 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1223, allocations: 110.8 kB / 475.5 MB, free: 84 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1224, allocations: 97.86 kB / 475.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1225, allocations: 25.7 kB / 475.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1225, allocations: 84.08 kB / 475.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.1226, allocations: 15.88 kB / 475.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.1227, allocations: 17.7 kB / 475.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.1229, allocations: 322.8 kB / 476.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.1231, allocations: 20.84 kB / 476.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1233, allocations: 38.55 kB / 476.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.1236, allocations: 49.72 kB / 476.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1236, allocations: 3.938 kB / 476.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000486/0.1241, allocations: 69.61 kB / 476.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1241, allocations: 7.984 kB / 476.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1241, allocations: 0 / 476.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.1242, allocations: 4 kB / 476.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1243, allocations: 16.06 kB / 476.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1244, allocations: 0 / 476.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1245, allocations: 11.94 kB / 476.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1245, allocations: 0 / 476.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001656/0.1247, allocations: 92.12 kB / 476.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001079/0.1248, allocations: 26.8 kB / 476.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001548/0.1249, allocations: 33.73 kB / 476.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.1249, allocations: 0 / 476.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0002808/0.1252, allocations: 57.66 kB / 476.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1252, allocations: 4 kB / 476.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1252, allocations: 3.984 kB / 476.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.1252, allocations: 4 kB / 476.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.1253, allocations: 7.984 kB / 476.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1253, allocations: 4.062 kB / 476.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.1254, allocations: 4 kB / 476.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1254, allocations: 0 / 476.5 MB, free: 15 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.0001755/0.1256, allocations: 184.2 kB / 476.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.1256, allocations: 0 / 476.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.1257, allocations: 19.25 kB / 476.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1257, allocations: 0 / 476.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1257, allocations: 3.938 kB / 476.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1257, allocations: 0 / 476.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.126, allocations: 136.7 kB / 476.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.126, allocations: 4 kB / 476.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1261, allocations: 15.92 kB / 476.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1261, allocations: 0 / 476.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1262, allocations: 4 kB / 476.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1262, allocations: 0 / 476.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1262, allocations: 4 kB / 476.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.1267, allocations: 176.3 kB / 477.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.1267, allocations: 4 kB / 477.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1267, allocations: 3.984 kB / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1269, allocations: 8 kB / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.1269, allocations: 7.922 kB / 477.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1269, allocations: 0 / 477.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.127, allocations: 87.28 kB / 477.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.127, allocations: 0 / 477.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.1276, allocations: 8 kB / 477.2 MB, free: 14.27 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.001042/0.1286, allocations: 0.7015 MB / 477.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.1292, allocations: 59.88 kB / 477.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1292, allocations: 0 / 477.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.1294, allocations: 19.98 kB / 478 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1298, allocations: 4.375 kB / 478 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1327, allocations: 1.287 MB / 479.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.1332, allocations: 0.6768 MB / 479.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.1333, allocations: 4 kB / 479.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.1333, allocations: 11.44 kB / 479.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1333, allocations: 0 / 479.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.1747, allocations: 1.602 MB / 481.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.83, allocations: 0 / 481.5 MB, free: 9.789 MB / 350.1 MB " [Timeout remaining time 648] (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 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.614352802047506]