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.00174/0.00174, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00228/0.00228, allocations: 222.2 kB / 23 MB, free: 4.914 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.828 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.08123/0.08123, allocations: 16.92 MB / 330.1 MB, free: 2.445 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.00212/0.00212, allocations: 71.88 kB / 461.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.119, allocations: 57.73 MB / 0.5067 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002393/0.1214, allocations: 0.6806 MB / 0.5074 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002719/0.1216, allocations: 63.73 kB / 0.5074 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1217, allocations: 0 / 0.5074 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.1217, allocations: 3.938 kB / 0.5074 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.1218, allocations: 4 kB / 0.5074 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.122, allocations: 23.92 kB / 0.5074 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1221, allocations: 23.92 kB / 0.5075 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1222, allocations: 7.984 kB / 0.5075 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.1222, allocations: 8 kB / 0.5075 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.1223, allocations: 15.92 kB / 0.5075 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1223, allocations: 0 / 0.5075 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.1223, allocations: 4 kB / 0.5075 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1223, allocations: 3.984 kB / 0.5075 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.1224, allocations: 15.92 kB / 0.5075 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.461e-05/0.1225, allocations: 19.86 kB / 0.5075 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1225, allocations: 0 / 0.5075 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1225, allocations: 4 kB / 0.5075 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1225, allocations: 0 / 0.5075 GB, free: 7.164 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.0004456/0.1229, allocations: 254.4 kB / 0.5078 GB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.123, allocations: 12.03 kB / 0.5078 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.123, allocations: 8.891 kB / 0.5078 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1232, allocations: 110.5 kB / 0.5079 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1232, allocations: 4.312 kB / 0.5079 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1232, allocations: 4.375 kB / 0.5079 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1234, allocations: 98.52 kB / 0.508 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1235, allocations: 4.188 kB / 0.508 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1235, allocations: 3.938 kB / 0.508 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1235, allocations: 0 / 0.508 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1237, allocations: 43.89 kB / 0.5081 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.124, allocations: 209.5 kB / 0.5083 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1242, allocations: 69.12 kB / 0.5083 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1243, allocations: 33.7 kB / 0.5084 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1243, allocations: 3.938 kB / 0.5084 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1244, allocations: 38.55 kB / 0.5084 GB, free: 6.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.045e-06/0.1244, allocations: 3.984 kB / 0.5084 GB, free: 6.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004021/0.1248, allocations: 93.73 kB / 0.5085 GB, free: 6.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.1248, allocations: 106.8 kB / 0.5086 GB, free: 5.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.1249, allocations: 101.8 kB / 0.5087 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.125, allocations: 25.7 kB / 0.5087 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.125, allocations: 80.14 kB / 0.5088 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.125, allocations: 19.88 kB / 0.5088 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1251, allocations: 17.7 kB / 0.5088 GB, free: 5.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1252, allocations: 310.8 kB / 0.5091 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.1253, allocations: 24.84 kB / 0.5092 GB, free: 5.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1254, allocations: 72.25 kB / 0.5092 GB, free: 5.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1256, allocations: 49.62 kB / 0.5093 GB, free: 5.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1256, allocations: 0 / 0.5093 GB, free: 5.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/0.1258, allocations: 77.64 kB / 0.5093 GB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1258, allocations: 8 kB / 0.5093 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1258, allocations: 3.984 kB / 0.5094 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1259, allocations: 0 / 0.5094 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.126, allocations: 8 kB / 0.5094 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.126, allocations: 0 / 0.5094 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.126, allocations: 11.98 kB / 0.5094 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.126, allocations: 0 / 0.5094 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.633e-05/0.1261, allocations: 88.12 kB / 0.5095 GB, free: 4.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.331e-05/0.1262, allocations: 52.28 kB / 0.5095 GB, free: 4.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.866e-05/0.1263, allocations: 37.67 kB / 0.5095 GB, free: 4.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.1263, allocations: 0 / 0.5095 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001305/0.1264, allocations: 53.64 kB / 0.5096 GB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1264, allocations: 10.44 kB / 0.5096 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.1264, allocations: 0 / 0.5096 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.1264, allocations: 4 kB / 0.5096 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.1265, allocations: 15.98 kB / 0.5096 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.1265, allocations: 0 / 0.5096 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.1265, allocations: 8 kB / 0.5096 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-06/0.1265, allocations: 0 / 0.5096 GB, free: 4.758 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.0001122/0.1266, allocations: 180.3 kB / 0.5098 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1267, allocations: 7.938 kB / 0.5098 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.1267, allocations: 11.3 kB / 0.5098 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1267, allocations: 0 / 0.5098 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1267, allocations: 0 / 0.5098 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1267, allocations: 3.938 kB / 0.5098 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1268, allocations: 109.3 kB / 0.5099 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1268, allocations: 0 / 0.5099 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.1269, allocations: 11.98 kB / 0.5099 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1269, allocations: 3.938 kB / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1269, allocations: 0 / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1269, allocations: 0 / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1269, allocations: 7.922 kB / 0.51 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1272, allocations: 180.3 kB / 0.5101 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.1272, allocations: 7.938 kB / 0.5101 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1272, allocations: 7.984 kB / 0.5101 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.1273, allocations: 8 kB / 0.5101 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1273, allocations: 3.984 kB / 0.5101 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1274, allocations: 4 kB / 0.5102 GB, free: 4.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.1274, allocations: 75.7 kB / 0.5102 GB, free: 4.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1274, allocations: 0 / 0.5102 GB, free: 4.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1277, allocations: 12 kB / 0.5102 GB, free: 4.078 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.0001088/0.1278, allocations: 91.78 kB / 0.5103 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.1281, allocations: 59.89 kB / 0.5104 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1281, allocations: 4 kB / 0.5104 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.1282, allocations: 23.91 kB / 0.5104 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1284, allocations: 8 kB / 0.5104 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.1288, allocations: 152 kB / 0.5106 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.1289, allocations: 67.2 kB / 0.5106 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.1289, allocations: 7.438 kB / 0.5106 GB, free: 3.605 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1289, allocations: 0 / 0.5106 GB, free: 3.605 MB / 382.1 MB Notification: Performance of Templates: time 0.002211/0.1311, allocations: 0.652 MB / 0.5113 GB, free: 2.953 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] 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: 7.111267623025924]