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.002001/0.002001, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002944/0.002944, allocations: 220 kB / 22.24 MB, free: 5.109 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.625/1.625, allocations: 230.6 MB / 256 MB, free: 7.82 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.08264/0.08264, allocations: 16.91 MB / 329.3 MB, free: 2.434 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.002094/0.002094, allocations: 67.91 kB / 460.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.118, allocations: 57.74 MB / 0.506 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002046/0.1201, allocations: 0.6798 MB / 0.5066 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.1203, allocations: 55.75 kB / 0.5067 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.1204, allocations: 0 / 0.5067 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.1204, allocations: 0 / 0.5067 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.1205, allocations: 11.94 kB / 0.5067 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1207, allocations: 19.91 kB / 0.5067 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1208, allocations: 27.92 kB / 0.5067 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1209, allocations: 8 kB / 0.5067 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.1209, allocations: 11.92 kB / 0.5068 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.121, allocations: 11.98 kB / 0.5068 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.121, allocations: 0 / 0.5068 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.121, allocations: 4 kB / 0.5068 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.121, allocations: 7.938 kB / 0.5068 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.1211, allocations: 11.98 kB / 0.5068 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.745e-05/0.1211, allocations: 27.84 kB / 0.5068 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1211, allocations: 0 / 0.5068 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1211, allocations: 0 / 0.5068 GB, free: 7.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1212, allocations: 0 / 0.5068 GB, free: 7.152 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.0004501/0.1216, allocations: 254.4 kB / 0.5071 GB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1216, allocations: 8.031 kB / 0.5071 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1217, allocations: 8.891 kB / 0.5071 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1219, allocations: 114.5 kB / 0.5072 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1219, allocations: 384 / 0.5072 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1219, allocations: 384 / 0.5072 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1221, allocations: 102.5 kB / 0.5073 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1222, allocations: 4.188 kB / 0.5073 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1222, allocations: 7.938 kB / 0.5073 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1222, allocations: 0 / 0.5073 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1223, allocations: 35.91 kB / 0.5073 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1227, allocations: 209.5 kB / 0.5075 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1229, allocations: 77.12 kB / 0.5076 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.123, allocations: 25.77 kB / 0.5076 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1231, allocations: 3.938 kB / 0.5076 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1231, allocations: 42.5 kB / 0.5077 GB, free: 6.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1231, allocations: 0 / 0.5077 GB, free: 6.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003885/0.1235, allocations: 97.53 kB / 0.5078 GB, free: 6.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.1236, allocations: 102.8 kB / 0.5079 GB, free: 5.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.1237, allocations: 101.8 kB / 0.508 GB, free: 5.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1237, allocations: 29.7 kB / 0.508 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1238, allocations: 80.14 kB / 0.5081 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1238, allocations: 7.891 kB / 0.5081 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1238, allocations: 17.72 kB / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.124, allocations: 318.8 kB / 0.5084 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1241, allocations: 25.09 kB / 0.5084 GB, free: 5.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1242, allocations: 68.2 kB / 0.5085 GB, free: 5.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1244, allocations: 45.67 kB / 0.5085 GB, free: 5.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1244, allocations: 0 / 0.5085 GB, free: 5.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002138/0.1246, allocations: 81.52 kB / 0.5086 GB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1246, allocations: 8 kB / 0.5086 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1246, allocations: 0 / 0.5086 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1246, allocations: 0 / 0.5086 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1248, allocations: 11.98 kB / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1248, allocations: 0 / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.1248, allocations: 11.98 kB / 0.5086 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1248, allocations: 8 kB / 0.5086 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.63e-05/0.1249, allocations: 91.05 kB / 0.5087 GB, free: 4.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.725e-05/0.125, allocations: 56.55 kB / 0.5088 GB, free: 4.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.375e-05/0.1251, allocations: 29.64 kB / 0.5088 GB, free: 4.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.1251, allocations: 0 / 0.5088 GB, free: 4.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001416/0.1252, allocations: 57.58 kB / 0.5089 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1252, allocations: 11.94 kB / 0.5089 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.1252, allocations: 0 / 0.5089 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-06/0.1252, allocations: 4.188 kB / 0.5089 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.859e-05/0.1253, allocations: 7.984 kB / 0.5089 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-06/0.1253, allocations: 4 kB / 0.5089 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.1253, allocations: 7.984 kB / 0.5089 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-06/0.1253, allocations: 0 / 0.5089 GB, free: 4.75 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.00013/0.1254, allocations: 176.3 kB / 0.5091 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1255, allocations: 7.938 kB / 0.5091 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.1255, allocations: 11.25 kB / 0.5091 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1255, allocations: 0 / 0.5091 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1255, allocations: 8 kB / 0.5091 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1255, allocations: 0 / 0.5091 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1257, allocations: 105.3 kB / 0.5092 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1257, allocations: 0 / 0.5092 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.1257, allocations: 11.98 kB / 0.5092 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1257, allocations: 7.938 kB / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-06/0.1258, allocations: 0 / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1258, allocations: 0 / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1258, allocations: 0 / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.126, allocations: 180.3 kB / 0.5094 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.1261, allocations: 7.938 kB / 0.5094 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1261, allocations: 0 / 0.5094 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.1261, allocations: 7.984 kB / 0.5094 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1262, allocations: 11.98 kB / 0.5094 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1262, allocations: 0 / 0.5094 GB, free: 4.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.1263, allocations: 79.28 kB / 0.5095 GB, free: 4.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1263, allocations: 0 / 0.5095 GB, free: 4.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1265, allocations: 8 kB / 0.5095 GB, free: 4.082 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.000115/0.1266, allocations: 103.7 kB / 0.5096 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.1269, allocations: 51.89 kB / 0.5096 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1269, allocations: 0 / 0.5096 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.127, allocations: 27.92 kB / 0.5097 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.0002307/0.1273, allocations: 6.797 kB / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.1276, allocations: 130.2 kB / 0.5098 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.332e-05/0.1277, allocations: 63.2 kB / 0.5099 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.1278, allocations: 11.98 kB / 0.5099 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1278, allocations: 7.438 kB / 0.5099 GB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1278, allocations: 0 / 0.5099 GB, free: 3.629 MB / 382.1 MB Notification: Performance of Templates: time 0.003223/0.131, allocations: 0.679 MB / 0.5105 GB, free: 2.965 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.9708422450348735]