Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 105.1 kB / 16.41 MB, free: 6.469 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.001886/0.001886, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1104/0.1104, allocations: 16.79 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 427.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 53.56 MB / 480.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002175/0.1074, allocations: 0.666 MB / 481.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.1077, allocations: 68.12 kB / 481.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.1078, allocations: 0 / 481.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.1078, allocations: 7.875 kB / 481.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.1079, allocations: 0 / 481.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.1081, allocations: 23.92 kB / 481.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1082, allocations: 15.98 kB / 481.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1083, allocations: 8 kB / 481.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.1083, allocations: 7.984 kB / 481.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.1084, allocations: 15.92 kB / 481.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1084, allocations: 0 / 481.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.1084, allocations: 8 kB / 481.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1085, allocations: 11.92 kB / 481.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1085, allocations: 7.938 kB / 481.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/0.1086, allocations: 19.91 kB / 481.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1086, allocations: 4 kB / 481.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1086, allocations: 0 / 481.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1086, allocations: 0 / 481.7 MB, free: 4.105 MB / 350.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.0004674/0.1091, allocations: 331.5 kB / 482 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1091, allocations: 8.031 kB / 482 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1092, allocations: 12.84 kB / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1094, allocations: 164.4 kB / 482.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1094, allocations: 384 / 482.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1094, allocations: 8.375 kB / 482.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1097, allocations: 72.75 kB / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1097, allocations: 192 / 482.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1097, allocations: 7.922 kB / 482.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1097, allocations: 4 kB / 482.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1099, allocations: 31.97 kB / 482.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1103, allocations: 261.9 kB / 482.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1105, allocations: 73.06 kB / 482.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1106, allocations: 33.75 kB / 482.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1106, allocations: 4 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.1107, allocations: 38.5 kB / 482.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1107, allocations: 3.938 kB / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.1111, allocations: 85.64 kB / 482.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.1112, allocations: 106.8 kB / 482.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.1113, allocations: 101.9 kB / 483 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1113, allocations: 25.95 kB / 483 MB, free: 2.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1113, allocations: 88.12 kB / 483.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1114, allocations: 15.8 kB / 483.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1114, allocations: 13.72 kB / 483.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1115, allocations: 310.8 kB / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.1116, allocations: 24.84 kB / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.1117, allocations: 46.72 kB / 483.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1119, allocations: 49.56 kB / 483.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1119, allocations: 0 / 483.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000211/0.1121, allocations: 77.62 kB / 483.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1122, allocations: 10.66 kB / 483.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1122, allocations: 0 / 483.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1122, allocations: 0 / 483.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.1123, allocations: 11.98 kB / 483.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1123, allocations: 3.938 kB / 483.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1124, allocations: 7.938 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1124, allocations: 4 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.842e-05/0.1125, allocations: 96.19 kB / 483.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.046e-05/0.1125, allocations: 26.56 kB / 483.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.759e-05/0.1126, allocations: 29.72 kB / 483.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.1126, allocations: 3.984 kB / 483.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001286/0.1128, allocations: 57.62 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.1128, allocations: 7.984 kB / 483.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.1128, allocations: 4 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-06/0.1128, allocations: 0 / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.1128, allocations: 8 kB / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-06/0.1128, allocations: 0 / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.1129, allocations: 4 kB / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.1129, allocations: 0 / 483.9 MB, free: 1.574 MB / 350.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.0001113/0.113, allocations: 188.2 kB / 484.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.113, allocations: 7.938 kB / 484.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.1131, allocations: 11.12 kB / 484.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1131, allocations: 3.938 kB / 484.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1131, allocations: 3.938 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1131, allocations: 0 / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1133, allocations: 165.6 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1133, allocations: 0 / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.1133, allocations: 8 kB / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1134, allocations: 0 / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1134, allocations: 0 / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1134, allocations: 4 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1134, allocations: 4 kB / 484.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1136, allocations: 168.3 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1137, allocations: 85.09 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1137, allocations: 0 / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.1138, allocations: 8 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.1139, allocations: 15.92 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1139, allocations: 0 / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.423e-05/0.1139, allocations: 79.28 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1139, allocations: 3.938 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1142, allocations: 8 kB / 484.6 MB, free: 0.7305 MB / 350.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.0001058/0.1143, allocations: 95.25 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1146, allocations: 59.88 kB / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1146, allocations: 0 / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.1147, allocations: 23.98 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1149, allocations: 7.938 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.1153, allocations: 151.7 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1156, allocations: 0.6768 MB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1156, allocations: 11.44 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1157, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.002133/0.1178, allocations: 0.6318 MB / 486.3 MB, free: 15 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches