Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.001448/0.001448, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00184/0.00184, allocations: 169.3 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9812/0.9812, allocations: 158.6 MB / 184.9 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04184/0.04184, allocations: 10.65 MB / 247.9 MB, free: 4.465 MB / 234.7 MB " [Timeout remaining time 180] 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.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 317 MB, free: 41.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.121e-05, allocations: 3.406 kB / 317 MB, free: 41.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001952/0.001983, allocations: 0.7094 MB / 317.7 MB, free: 41.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.002222, allocations: 55.8 kB / 317.8 MB, free: 41.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.002256, allocations: 0 / 317.8 MB, free: 41.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.002285, allocations: 4 kB / 317.8 MB, free: 41.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.002368, allocations: 3.938 kB / 317.8 MB, free: 41.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.00251, allocations: 15.98 kB / 317.8 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.002598, allocations: 23.94 kB / 317.8 MB, free: 41.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.002693, allocations: 11.92 kB / 317.8 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.002734, allocations: 8 kB / 317.9 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.002782, allocations: 15.92 kB / 317.9 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.002802, allocations: 0 / 317.9 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.00281, allocations: 4 kB / 317.9 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.002828, allocations: 7.984 kB / 317.9 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.00285, allocations: 7.359 kB / 317.9 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.069e-05/0.00294, allocations: 19.86 kB / 317.9 MB, free: 41.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.002944, allocations: 4 kB / 317.9 MB, free: 41.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.002946, allocations: 4 kB / 317.9 MB, free: 41.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.002958, allocations: 0 / 317.9 MB, free: 41.15 MB / 282.7 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.0003238/0.003282, allocations: 354.8 kB / 318.3 MB, free: 40.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.003321, allocations: 12.03 kB / 318.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.003359, allocations: 5.234 kB / 318.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.003472, allocations: 112.6 kB / 318.4 MB, free: 40.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.003492, allocations: 384 / 318.4 MB, free: 40.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.003505, allocations: 4.375 kB / 318.4 MB, free: 40.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.003653, allocations: 115.6 kB / 318.5 MB, free: 40.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.003661, allocations: 192 / 318.5 MB, free: 40.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.003671, allocations: 8.375 kB / 318.5 MB, free: 40.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.003679, allocations: 4.375 kB / 318.5 MB, free: 40.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.00371, allocations: 7.938 kB / 318.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.003958, allocations: 263.5 kB / 318.8 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.004025, allocations: 62.11 kB / 318.8 MB, free: 40.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.004053, allocations: 27.5 kB / 318.9 MB, free: 40.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.004075, allocations: 0 / 318.9 MB, free: 40.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.004093, allocations: 37.33 kB / 318.9 MB, free: 39.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.004094, allocations: 4 kB / 318.9 MB, free: 39.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.004244, allocations: 57.56 kB / 319 MB, free: 39.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.00427, allocations: 106.8 kB / 319.1 MB, free: 39.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.004316, allocations: 161.9 kB / 319.2 MB, free: 39.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.004324, allocations: 25.7 kB / 319.3 MB, free: 39.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.004353, allocations: 130.8 kB / 319.4 MB, free: 39.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.004373, allocations: 15.94 kB / 319.4 MB, free: 39.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.004398, allocations: 15.38 kB / 319.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.004445, allocations: 496.4 kB / 319.9 MB, free: 38.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.004465, allocations: 23.67 kB / 319.9 MB, free: 38.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.00449, allocations: 52.77 kB / 320 MB, free: 38.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.004519, allocations: 31.31 kB / 320 MB, free: 38.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.004522, allocations: 0 / 320 MB, free: 38.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.26e-05/0.004575, allocations: 53.62 kB / 320.1 MB, free: 38.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004587, allocations: 4 kB / 320.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.004592, allocations: 3.938 kB / 320.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.004607, allocations: 4.375 kB / 320.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.004708, allocations: 11.94 kB / 320.1 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.004717, allocations: 3.984 kB / 320.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.004746, allocations: 4 kB / 320.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004752, allocations: 0 / 320.1 MB, free: 38.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.495e-05/0.004787, allocations: 130.9 kB / 320.2 MB, free: 38.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.939e-05/0.004816, allocations: 64.73 kB / 320.3 MB, free: 38.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.306e-05/0.004839, allocations: 23.38 kB / 320.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.004841, allocations: 5.984 kB / 320.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.735e-05/0.004888, allocations: 49.59 kB / 320.4 MB, free: 38.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.004896, allocations: 6.188 kB / 320.4 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.004897, allocations: 0 / 320.4 MB, free: 38.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.0049, allocations: 7.922 kB / 320.4 MB, free: 38.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.952e-05/0.00492, allocations: 8 kB / 320.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.51e-07/0.00492, allocations: 0 / 320.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.004937, allocations: 11.94 kB / 320.4 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-06/0.004938, allocations: 3.938 kB / 320.4 MB, free: 38.35 MB / 282.7 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 4.598e-05/0.004984, allocations: 276.1 kB / 320.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.004998, allocations: 0 / 320.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.005027, allocations: 11.23 kB / 320.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.005029, allocations: 4 kB / 320.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.005033, allocations: 0 / 320.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005035, allocations: 0 / 320.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.664e-05/0.005112, allocations: 112.6 kB / 320.8 MB, free: 37.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.005113, allocations: 0 / 320.8 MB, free: 37.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.00513, allocations: 11.98 kB / 320.8 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.005131, allocations: 0 / 320.8 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.005137, allocations: 4 kB / 320.8 MB, free: 37.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.005138, allocations: 7.938 kB / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005139, allocations: 0 / 320.8 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.005207, allocations: 199.6 kB / 321 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.005216, allocations: 7.953 kB / 321 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.005228, allocations: 7.938 kB / 321 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.005263, allocations: 11.92 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.005301, allocations: 4 kB / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.005303, allocations: 0 / 321 MB, free: 37.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.919e-05/0.005322, allocations: 127.2 kB / 321.2 MB, free: 37.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005322, allocations: 4 kB / 321.2 MB, free: 37.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.005493, allocations: 8 kB / 321.2 MB, free: 37.5 MB / 282.7 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 6.444e-05/0.005557, allocations: 96.45 kB / 321.3 MB, free: 37.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.782e-05/0.005655, allocations: 43.3 kB / 321.3 MB, free: 37.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005657, allocations: 0 / 321.3 MB, free: 37.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.005675, allocations: 15.62 kB / 321.3 MB, free: 37.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.005839, allocations: 4.375 kB / 321.3 MB, free: 37.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.00606, allocations: 134 kB / 321.5 MB, free: 37.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.552e-05/0.006085, allocations: 59.34 kB / 321.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.095e-05/0.006106, allocations: 0 / 321.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.006137, allocations: 12.5 kB / 321.5 MB, free: 37.07 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006137, allocations: 4 kB / 321.5 MB, free: 37.07 MB / 282.7 MB Notification: Performance of Templates: time 0.002122/0.008259, allocations: 0.6688 MB / 322.2 MB, free: 36.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.165384900290519]