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.006733/0.006733, allocations: 108 kB / 15.74 MB, free: 6.02 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.001616/0.001616, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08083/0.08083, allocations: 16.67 MB / 307.2 MB, free: 14.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 426.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 53.53 MB / 480 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002628/0.1351, allocations: 0.6767 MB / 480.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.1355, allocations: 60.14 kB / 480.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.1355, allocations: 0 / 480.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.1356, allocations: 3.938 kB / 480.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.1357, allocations: 3.984 kB / 480.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1359, allocations: 19.92 kB / 480.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.136, allocations: 20 kB / 480.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1361, allocations: 7.984 kB / 480.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.1362, allocations: 15.86 kB / 480.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.1362, allocations: 11.98 kB / 480.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1363, allocations: 4 kB / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.1363, allocations: 0 / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.1363, allocations: 7.938 kB / 480.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1364, allocations: 11.92 kB / 480.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1365, allocations: 23.86 kB / 480.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1365, allocations: 4 kB / 480.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1365, allocations: 0 / 480.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1365, allocations: 0 / 480.9 MB, free: 4.219 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.0005477/0.1371, allocations: 335.5 kB / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1371, allocations: 12.03 kB / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.1372, allocations: 0.9375 kB / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1374, allocations: 176.3 kB / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1374, allocations: 384 / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1375, allocations: 384 / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1377, allocations: 80.75 kB / 481.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1378, allocations: 192 / 481.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1378, allocations: 7.922 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1378, allocations: 0 / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.138, allocations: 35.97 kB / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.1386, allocations: 269.8 kB / 481.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1389, allocations: 69.12 kB / 481.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1391, allocations: 37.7 kB / 481.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1391, allocations: 3.938 kB / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1392, allocations: 30.56 kB / 481.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1392, allocations: 0 / 481.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005043/0.1397, allocations: 97.67 kB / 482 MB, free: 2.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1398, allocations: 102.8 kB / 482.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1399, allocations: 101.8 kB / 482.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.14, allocations: 25.7 kB / 482.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.14, allocations: 80.14 kB / 482.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1401, allocations: 11.91 kB / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1401, allocations: 17.72 kB / 482.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1403, allocations: 319 kB / 482.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1405, allocations: 20.84 kB / 482.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1406, allocations: 34.56 kB / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1409, allocations: 57.64 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1409, allocations: 0 / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002901/0.1412, allocations: 73.61 kB / 482.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1412, allocations: 4 kB / 482.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1412, allocations: 0 / 482.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1413, allocations: 4 kB / 482.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1414, allocations: 15.98 kB / 482.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1414, allocations: 0 / 482.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.1415, allocations: 15.92 kB / 482.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1415, allocations: 3.938 kB / 482.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001221/0.1416, allocations: 88.14 kB / 483 MB, free: 1.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.577e-05/0.1417, allocations: 30.55 kB / 483 MB, free: 1.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001134/0.1419, allocations: 29.73 kB / 483 MB, free: 1.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1419, allocations: 4 kB / 483 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001761/0.1421, allocations: 53.56 kB / 483.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1421, allocations: 10.66 kB / 483.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.1421, allocations: 0 / 483.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.1421, allocations: 0 / 483.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.1422, allocations: 8.062 kB / 483.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.1422, allocations: 4 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.1422, allocations: 11.94 kB / 483.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1423, allocations: 4 kB / 483.1 MB, free: 1.676 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.0001389/0.1424, allocations: 188.1 kB / 483.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1425, allocations: 4 kB / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.1425, allocations: 3.125 kB / 483.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1425, allocations: 0 / 483.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1425, allocations: 4 kB / 483.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1425, allocations: 4 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.1428, allocations: 165.6 kB / 483.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1428, allocations: 0 / 483.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.1429, allocations: 11.98 kB / 483.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1429, allocations: 0 / 483.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.143, allocations: 4 kB / 483.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.143, allocations: 0 / 483.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.143, allocations: 0 / 483.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.1434, allocations: 184.6 kB / 483.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1434, allocations: 77.11 kB / 483.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1435, allocations: 0 / 483.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1436, allocations: 11.98 kB / 483.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.1437, allocations: 0 / 483.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.1437, allocations: 4 kB / 483.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.158e-05/0.1437, allocations: 91.27 kB / 483.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1438, allocations: 0 / 483.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.1442, allocations: 11.95 kB / 483.9 MB, free: 0.832 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.0001322/0.1443, allocations: 95.25 kB / 483.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.1447, allocations: 55.89 kB / 484 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1447, allocations: 4.25 kB / 484 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1448, allocations: 19.98 kB / 484 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1452, allocations: 7.938 kB / 484 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.1456, allocations: 121.7 kB / 484.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.146, allocations: 0.6806 MB / 484.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.399e-05/0.1461, allocations: 8.125 kB / 484.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1461, allocations: 7.438 kB / 484.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1462, allocations: 0 / 484.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Templates: time 0.00346/0.1496, allocations: 0.6112 MB / 485.5 MB, free: 15.16 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=50 -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