Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.001589/0.001589, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001892/0.001892, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08359/0.08359, allocations: 16.94 MB / 325.8 MB, free: 3.742 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 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.002156/0.002156, allocations: 71.91 kB / 455.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1264, allocations: 57.7 MB / 0.501 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002112/0.1285, allocations: 0.6844 MB / 0.5016 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.1288, allocations: 63.78 kB / 0.5017 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.1288, allocations: 0 / 0.5017 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.1288, allocations: 11.94 kB / 0.5017 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.1289, allocations: 0 / 0.5017 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.1291, allocations: 15.92 kB / 0.5017 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.1292, allocations: 19.98 kB / 0.5018 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.1293, allocations: 11.98 kB / 0.5018 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.1293, allocations: 11.94 kB / 0.5018 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.1294, allocations: 15.92 kB / 0.5018 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1294, allocations: 4 kB / 0.5018 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.1294, allocations: 0 / 0.5018 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1294, allocations: 11.91 kB / 0.5018 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1294, allocations: 12 kB / 0.5018 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.1295, allocations: 23.84 kB / 0.5018 GB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1295, allocations: 0 / 0.5018 GB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1295, allocations: 0 / 0.5018 GB, free: 9.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1295, allocations: 0 / 0.5018 GB, free: 9.68 MB / 382.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.0004779/0.13, allocations: 327.5 kB / 0.5022 GB, free: 9.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1301, allocations: 12.03 kB / 0.5022 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.1301, allocations: 4.891 kB / 0.5022 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1303, allocations: 172.4 kB / 0.5023 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1303, allocations: 4.375 kB / 0.5023 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1303, allocations: 384 / 0.5023 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1305, allocations: 80.73 kB / 0.5024 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1305, allocations: 192 / 0.5024 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1306, allocations: 3.938 kB / 0.5024 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1306, allocations: 4 kB / 0.5024 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1307, allocations: 39.91 kB / 0.5025 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1312, allocations: 269.8 kB / 0.5027 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1314, allocations: 69.12 kB / 0.5028 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1315, allocations: 29.77 kB / 0.5028 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1316, allocations: 3.938 kB / 0.5028 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1316, allocations: 34.56 kB / 0.5028 GB, free: 8.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1316, allocations: 0 / 0.5028 GB, free: 8.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004153/0.132, allocations: 97.53 kB / 0.5029 GB, free: 8.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.1321, allocations: 106.8 kB / 0.503 GB, free: 8.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.1322, allocations: 101.8 kB / 0.5031 GB, free: 8.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1322, allocations: 29.64 kB / 0.5032 GB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.1323, allocations: 84.12 kB / 0.5032 GB, free: 7.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1323, allocations: 12.14 kB / 0.5033 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1323, allocations: 17.72 kB / 0.5033 GB, free: 7.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1325, allocations: 322.8 kB / 0.5036 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.803e-05/0.1326, allocations: 16.84 kB / 0.5036 GB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1327, allocations: 34.75 kB / 0.5036 GB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1329, allocations: 57.64 kB / 0.5037 GB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1329, allocations: 0 / 0.5037 GB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002432/0.1331, allocations: 73.7 kB / 0.5038 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1331, allocations: 4.062 kB / 0.5038 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1331, allocations: 7.984 kB / 0.5038 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1332, allocations: 0 / 0.5038 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.1333, allocations: 15.92 kB / 0.5038 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1333, allocations: 8 kB / 0.5038 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1333, allocations: 7.984 kB / 0.5038 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1333, allocations: 0 / 0.5038 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.978e-05/0.1334, allocations: 88.14 kB / 0.5039 GB, free: 7.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.763e-05/0.1335, allocations: 30.56 kB / 0.5039 GB, free: 7.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.882e-05/0.1336, allocations: 29.7 kB / 0.5039 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/0.1336, allocations: 0 / 0.5039 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001522/0.1337, allocations: 61.52 kB / 0.504 GB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.1337, allocations: 4 kB / 0.504 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.1337, allocations: 96 / 0.504 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/0.1337, allocations: 7.938 kB / 0.504 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.959e-05/0.1338, allocations: 8 kB / 0.504 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.1338, allocations: 0 / 0.504 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.1338, allocations: 7.984 kB / 0.504 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.1338, allocations: 0 / 0.504 GB, free: 7.133 MB / 382.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.0001244/0.134, allocations: 192.1 kB / 0.5042 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.134, allocations: 0 / 0.5042 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.134, allocations: 3.125 kB / 0.5042 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.134, allocations: 8 kB / 0.5042 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.134, allocations: 0 / 0.5042 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.134, allocations: 0 / 0.5042 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1342, allocations: 165.6 kB / 0.5044 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1342, allocations: 4 kB / 0.5044 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.1343, allocations: 11.98 kB / 0.5044 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1343, allocations: 0 / 0.5044 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1343, allocations: 0 / 0.5044 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1343, allocations: 0 / 0.5044 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1343, allocations: 0 / 0.5044 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1346, allocations: 188.1 kB / 0.5046 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1346, allocations: 81.11 kB / 0.5047 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1346, allocations: 0 / 0.5047 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.1347, allocations: 7.984 kB / 0.5047 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1348, allocations: 12 kB / 0.5047 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1348, allocations: 3.984 kB / 0.5047 GB, free: 6.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.1348, allocations: 79.28 kB / 0.5047 GB, free: 6.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1348, allocations: 0 / 0.5047 GB, free: 6.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.1351, allocations: 8 kB / 0.5048 GB, free: 6.289 MB / 382.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.0001155/0.1352, allocations: 95.25 kB / 0.5048 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.1355, allocations: 55.95 kB / 0.5049 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1355, allocations: 0 / 0.5049 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.1356, allocations: 23.98 kB / 0.5049 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1359, allocations: 6.438 kB / 0.5049 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1363, allocations: 138 kB / 0.5051 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.1366, allocations: 0.6729 MB / 0.5057 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.1367, allocations: 3.984 kB / 0.5057 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1367, allocations: 19.38 kB / 0.5057 GB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1367, allocations: 0 / 0.5057 GB, free: 5.215 MB / 382.1 MB Notification: Performance of Templates: time 0.00319/0.1399, allocations: 0.645 MB / 0.5064 GB, free: 4.574 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_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_dev_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: 4.877749098930508]