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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.00134, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06241/0.06241, allocations: 14.16 MB / 284.5 MB, free: 7.141 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005259, allocations: 20 kB / 346.2 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 51.11 MB / 397.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001134/0.1135, allocations: 402.5 kB / 397.7 MB, free: 364 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.1138, allocations: 55.83 kB / 397.7 MB, free: 308 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.1138, allocations: 4 kB / 397.7 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.1139, allocations: 3.938 kB / 397.7 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.114, allocations: 3.984 kB / 397.7 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1142, allocations: 8 kB / 397.7 MB, free: 288 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1143, allocations: 27.92 kB / 397.8 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1144, allocations: 3.984 kB / 397.8 MB, free: 256 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.1145, allocations: 11.94 kB / 397.8 MB, free: 244 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.1145, allocations: 15.91 kB / 397.8 MB, free: 228 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1146, allocations: 4 kB / 397.8 MB, free: 224 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.1146, allocations: 0 / 397.8 MB, free: 224 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.1146, allocations: 7.984 kB / 397.8 MB, free: 216 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1146, allocations: 25.7 kB / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.388e-05/0.1147, allocations: 19.92 kB / 397.8 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1147, allocations: 0 / 397.8 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1147, allocations: 4 kB / 397.9 MB, free: 160 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1147, allocations: 4 kB / 397.9 MB, free: 156 kB / 286.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.0004481/0.1152, allocations: 335.5 kB / 398.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1152, allocations: 12.02 kB / 398.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.1153, allocations: 7.938 kB / 398.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1155, allocations: 167.1 kB / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1155, allocations: 4 kB / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1155, allocations: 7.984 kB / 398.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.1157, allocations: 76.2 kB / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1157, allocations: 0 / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1158, allocations: 7.938 kB / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1158, allocations: 0 / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.1159, allocations: 47.95 kB / 398.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1163, allocations: 269.8 kB / 398.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1165, allocations: 77.06 kB / 398.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.1166, allocations: 45.81 kB / 398.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1167, allocations: 0 / 398.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1167, allocations: 30.56 kB / 398.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1167, allocations: 0 / 398.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003729/0.1171, allocations: 105.6 kB / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.1171, allocations: 106.8 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.1172, allocations: 97.86 kB / 399.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1172, allocations: 25.7 kB / 399.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.1173, allocations: 88.3 kB / 399.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.1173, allocations: 23.81 kB / 399.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.1173, allocations: 0 / 399.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1175, allocations: 314.8 kB / 399.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.1175, allocations: 19.98 kB / 399.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.1176, allocations: 50.55 kB / 399.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.1177, allocations: 15.98 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1177, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/0.1179, allocations: 89.59 kB / 399.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/0.118, allocations: 101.8 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.118, allocations: 0 / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.118, allocations: 0 / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.1181, allocations: 12.06 kB / 399.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1181, allocations: 4 kB / 400 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.1182, allocations: 15.98 kB / 400 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1182, allocations: 0 / 400 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.1182, allocations: 4 kB / 400 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.206e-05/0.1183, allocations: 23.92 kB / 400 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-06/0.1183, allocations: 64 / 400 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.1183, allocations: 11.95 kB / 400 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.3e-05/0.1184, allocations: 4 kB / 400 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1184, allocations: 3.984 kB / 400 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.1184, allocations: 8 kB / 400 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-06/0.1184, allocations: 3.938 kB / 400 MB, free: 13.71 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.1185, allocations: 189.1 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1186, allocations: 3.906 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.1186, allocations: 11.08 kB / 400.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1186, allocations: 8 kB / 400.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1186, allocations: 0 / 400.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1186, allocations: 3.984 kB / 400.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1188, allocations: 157.7 kB / 400.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1188, allocations: 0 / 400.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.1189, allocations: 15.92 kB / 400.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1189, allocations: 288 / 400.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1189, allocations: 4 kB / 400.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1189, allocations: 3.953 kB / 400.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1189, allocations: 4 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1191, allocations: 184.4 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.1192, allocations: 81.05 kB / 400.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1192, allocations: 4 kB / 400.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.1193, allocations: 11.98 kB / 400.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1193, allocations: 11.94 kB / 400.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1193, allocations: 0 / 400.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.1194, allocations: 87.22 kB / 400.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1194, allocations: 0 / 400.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1197, allocations: 4 kB / 400.8 MB, free: 12.84 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001038/0.1198, allocations: 99.25 kB / 400.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1201, allocations: 63.89 kB / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1201, allocations: 0 / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.1202, allocations: 24.23 kB / 401 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.1204, allocations: 19.3 kB / 401 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.1208, allocations: 119.6 kB / 401.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.121, allocations: 0.6809 MB / 401.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.1211, allocations: 0 / 401.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1211, allocations: 15.44 kB / 401.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1211, allocations: 0 / 401.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Templates: time 0.002725/0.1239, allocations: 0.5194 MB / 402.3 MB, free: 11.24 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (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 & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches