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.001363/0.001363, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002173/0.002173, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.0835/0.0835, allocations: 16.95 MB / 330.2 MB, free: 2.566 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.002042/0.002042, allocations: 64.19 kB / 461.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1192, allocations: 57.74 MB / 0.5069 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002164/0.1213, allocations: 0.6954 MB / 0.5075 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000262/0.1216, allocations: 55.8 kB / 0.5076 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1216, allocations: 0 / 0.5076 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.1217, allocations: 3.938 kB / 0.5076 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.1217, allocations: 4 kB / 0.5076 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1219, allocations: 19.91 kB / 0.5076 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.122, allocations: 23.98 kB / 0.5076 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1221, allocations: 7.984 kB / 0.5076 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.1222, allocations: 11.94 kB / 0.5077 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.1223, allocations: 15.92 kB / 0.5077 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1223, allocations: 8 kB / 0.5077 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.1223, allocations: 0 / 0.5077 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1223, allocations: 7.938 kB / 0.5077 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.1223, allocations: 7.984 kB / 0.5077 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.697e-05/0.1224, allocations: 27.84 kB / 0.5077 GB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1224, allocations: 0 / 0.5077 GB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1224, allocations: 0 / 0.5077 GB, free: 7.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1224, allocations: 4 kB / 0.5077 GB, free: 7.219 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.0004664/0.1229, allocations: 254.4 kB / 0.508 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1229, allocations: 12.03 kB / 0.508 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.123, allocations: 4.891 kB / 0.508 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1232, allocations: 110.5 kB / 0.5081 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1232, allocations: 8.375 kB / 0.5081 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1232, allocations: 4.312 kB / 0.5081 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1234, allocations: 72.75 kB / 0.5082 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1234, allocations: 4.125 kB / 0.5082 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1234, allocations: 7.938 kB / 0.5082 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1234, allocations: 0 / 0.5082 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1236, allocations: 39.95 kB / 0.5082 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.124, allocations: 236.9 kB / 0.5084 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1242, allocations: 73.12 kB / 0.5085 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1243, allocations: 29.77 kB / 0.5085 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1243, allocations: 3.984 kB / 0.5085 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1244, allocations: 42.5 kB / 0.5086 GB, free: 6.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1244, allocations: 0 / 0.5086 GB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003939/0.1248, allocations: 89.55 kB / 0.5087 GB, free: 6.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.1249, allocations: 106.8 kB / 0.5088 GB, free: 5.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.1249, allocations: 102.1 kB / 0.5089 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.125, allocations: 29.7 kB / 0.5089 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.125, allocations: 84.14 kB / 0.509 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.125, allocations: 7.891 kB / 0.509 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1251, allocations: 21.7 kB / 0.509 GB, free: 5.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1252, allocations: 310.8 kB / 0.5093 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.1253, allocations: 24.84 kB / 0.5093 GB, free: 5.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1254, allocations: 42.55 kB / 0.5094 GB, free: 5.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1256, allocations: 45.62 kB / 0.5094 GB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1256, allocations: 4 kB / 0.5094 GB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002319/0.1258, allocations: 69.64 kB / 0.5095 GB, free: 5.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1259, allocations: 11.98 kB / 0.5095 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1259, allocations: 0 / 0.5095 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1259, allocations: 0 / 0.5095 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.126, allocations: 11.94 kB / 0.5095 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.126, allocations: 0 / 0.5095 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.1261, allocations: 15.98 kB / 0.5095 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1261, allocations: 0 / 0.5095 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.552e-05/0.1261, allocations: 92.19 kB / 0.5096 GB, free: 5.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.547e-05/0.1262, allocations: 26.58 kB / 0.5096 GB, free: 5.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.157e-05/0.1263, allocations: 25.7 kB / 0.5097 GB, free: 4.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.31e-07/0.1263, allocations: 0 / 0.5097 GB, free: 4.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001367/0.1264, allocations: 69.48 kB / 0.5097 GB, free: 4.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.1264, allocations: 8 kB / 0.5097 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.1264, allocations: 0 / 0.5097 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-06/0.1264, allocations: 0 / 0.5097 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.1265, allocations: 7.984 kB / 0.5097 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-06/0.1265, allocations: 4 kB / 0.5097 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.1265, allocations: 7.938 kB / 0.5098 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1265, allocations: 4 kB / 0.5098 GB, free: 4.871 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.0001192/0.1266, allocations: 188.7 kB / 0.5099 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1267, allocations: 4 kB / 0.5099 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1267, allocations: 11.3 kB / 0.51 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1267, allocations: 0 / 0.51 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1267, allocations: 4 kB / 0.51 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1267, allocations: 0 / 0.51 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1269, allocations: 132.7 kB / 0.5101 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1269, allocations: 0 / 0.5101 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.127, allocations: 11.98 kB / 0.5101 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.127, allocations: 4 kB / 0.5101 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.127, allocations: 4 kB / 0.5101 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.127, allocations: 0 / 0.5101 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.127, allocations: 0 / 0.5101 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1272, allocations: 184.2 kB / 0.5103 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.1273, allocations: 0 / 0.5103 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1273, allocations: 11.98 kB / 0.5103 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.1274, allocations: 4 kB / 0.5103 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1274, allocations: 7.984 kB / 0.5103 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1274, allocations: 0 / 0.5103 GB, free: 4.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.1274, allocations: 83.28 kB / 0.5104 GB, free: 4.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1274, allocations: 0 / 0.5104 GB, free: 4.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1277, allocations: 4 kB / 0.5104 GB, free: 4.16 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.0001135/0.1278, allocations: 95.25 kB / 0.5105 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1281, allocations: 59.89 kB / 0.5105 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1281, allocations: 0 / 0.5105 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.1282, allocations: 23.97 kB / 0.5106 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1285, allocations: 7.938 kB / 0.5106 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1289, allocations: 138.5 kB / 0.5107 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1292, allocations: 0.6768 MB / 0.5114 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.1292, allocations: 8 kB / 0.5114 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.1293, allocations: 7.438 kB / 0.5114 GB, free: 3.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1293, allocations: 4 kB / 0.5114 GB, free: 3.078 MB / 382.1 MB Notification: Performance of Templates: time 0.003247/0.1325, allocations: 0.6527 MB / 0.512 GB, free: 2.426 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.816429126018193]