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.001008/0.001008, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001789/0.001789, allocations: 173 kB / 23.49 MB, free: 1.062 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.8791/0.8791, allocations: 158.6 MB / 185.3 MB, free: 2.926 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.04269/0.04269, allocations: 10.66 MB / 248.2 MB, free: 4.527 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.884e-06/1.884e-06, allocations: 0 / 317 MB, free: 42.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.086e-05, allocations: 6.25 kB / 317 MB, free: 42.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001166/0.001187, allocations: 0.7037 MB / 317.7 MB, free: 41.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.001381, allocations: 55.8 kB / 317.8 MB, free: 41.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.001416, allocations: 0 / 317.8 MB, free: 41.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.00144, allocations: 3.938 kB / 317.8 MB, free: 41.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.001516, allocations: 0 / 317.8 MB, free: 41.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.001642, allocations: 15.92 kB / 317.8 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.001731, allocations: 27.94 kB / 317.8 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.001822, allocations: 3.984 kB / 317.9 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.001864, allocations: 15.98 kB / 317.9 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.001905, allocations: 11.92 kB / 317.9 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.001926, allocations: 4 kB / 317.9 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-06/0.001933, allocations: 0 / 317.9 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.001947, allocations: 4 kB / 317.9 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.001969, allocations: 15.36 kB / 317.9 MB, free: 41.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.002039, allocations: 19.86 kB / 317.9 MB, free: 41.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002041, allocations: 0 / 317.9 MB, free: 41.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002041, allocations: 0 / 317.9 MB, free: 41.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002045, allocations: 4 kB / 317.9 MB, free: 41.48 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.0002608/0.002306, allocations: 354.8 kB / 318.3 MB, free: 41.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.002338, allocations: 8.031 kB / 318.3 MB, free: 41.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.002376, allocations: 9.234 kB / 318.3 MB, free: 41.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.002491, allocations: 112.6 kB / 318.4 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.00251, allocations: 4.375 kB / 318.4 MB, free: 40.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.002519, allocations: 8.312 kB / 318.4 MB, free: 40.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.002659, allocations: 115.7 kB / 318.5 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.002666, allocations: 192 / 318.5 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.002676, allocations: 4.375 kB / 318.5 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.002684, allocations: 384 / 318.5 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.002715, allocations: 11.88 kB / 318.5 MB, free: 40.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.002942, allocations: 267.5 kB / 318.8 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.003003, allocations: 66.17 kB / 318.9 MB, free: 40.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.003029, allocations: 23.38 kB / 318.9 MB, free: 40.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.003044, allocations: 0 / 318.9 MB, free: 40.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.003062, allocations: 41.39 kB / 318.9 MB, free: 40.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.003063, allocations: 4 kB / 318.9 MB, free: 40.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.003205, allocations: 57.56 kB / 319 MB, free: 40.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.003232, allocations: 102.8 kB / 319.1 MB, free: 40.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.003281, allocations: 161.9 kB / 319.2 MB, free: 39.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.003287, allocations: 25.7 kB / 319.3 MB, free: 39.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.003312, allocations: 138.8 kB / 319.4 MB, free: 39.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.003326, allocations: 3.953 kB / 319.4 MB, free: 39.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.003348, allocations: 19.38 kB / 319.4 MB, free: 39.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.003385, allocations: 496.1 kB / 319.9 MB, free: 39.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.003403, allocations: 19.92 kB / 319.9 MB, free: 39.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.003424, allocations: 56.77 kB / 320 MB, free: 39.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.003452, allocations: 27.31 kB / 320 MB, free: 39.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.003454, allocations: 4 kB / 320 MB, free: 39.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.563e-05/0.003499, allocations: 49.62 kB / 320.1 MB, free: 39.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.003511, allocations: 7.938 kB / 320.1 MB, free: 39.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.003517, allocations: 7.938 kB / 320.1 MB, free: 39.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.003531, allocations: 4.094 kB / 320.1 MB, free: 39.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.003588, allocations: 4 kB / 320.1 MB, free: 39.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.003595, allocations: 7.984 kB / 320.1 MB, free: 39.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.003617, allocations: 4 kB / 320.1 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.003622, allocations: 0 / 320.1 MB, free: 39.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.172e-05/0.003643, allocations: 130.9 kB / 320.2 MB, free: 38.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.531e-05/0.003659, allocations: 56.75 kB / 320.3 MB, free: 38.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.619e-05/0.003675, allocations: 31.31 kB / 320.3 MB, free: 38.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.003675, allocations: 5.984 kB / 320.3 MB, free: 38.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.674e-05/0.003712, allocations: 41.66 kB / 320.4 MB, free: 38.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-06/0.003717, allocations: 5.719 kB / 320.4 MB, free: 38.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.81e-07/0.003718, allocations: 4 kB / 320.4 MB, free: 38.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.00372, allocations: 7.922 kB / 320.4 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.003734, allocations: 7.938 kB / 320.4 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.11e-07/0.003734, allocations: 0 / 320.4 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.003749, allocations: 11.94 kB / 320.4 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-07/0.00375, allocations: 0 / 320.4 MB, free: 38.68 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.692e-05/0.003797, allocations: 272.1 kB / 320.7 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.003809, allocations: 4 kB / 320.7 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.003828, allocations: 15.23 kB / 320.7 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00383, allocations: 0 / 320.7 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.003833, allocations: 0 / 320.7 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.003836, allocations: 4 kB / 320.7 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.047e-05/0.003907, allocations: 108.6 kB / 320.8 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003907, allocations: 0 / 320.8 MB, free: 38.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.003924, allocations: 11.98 kB / 320.8 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.003925, allocations: 4 kB / 320.8 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.003931, allocations: 0 / 320.8 MB, free: 38.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.003932, allocations: 7.938 kB / 320.8 MB, free: 38.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.003933, allocations: 0 / 320.8 MB, free: 38.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.76e-05/0.003991, allocations: 207.6 kB / 321 MB, free: 38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.003996, allocations: 3.953 kB / 321 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.004004, allocations: 4 kB / 321 MB, free: 37.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.004037, allocations: 15.86 kB / 321 MB, free: 37.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.004071, allocations: 0 / 321 MB, free: 37.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.004072, allocations: 0 / 321 MB, free: 37.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.876e-05/0.004091, allocations: 131.2 kB / 321.2 MB, free: 37.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004091, allocations: 0 / 321.2 MB, free: 37.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.004274, allocations: 12 kB / 321.2 MB, free: 37.83 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 4.967e-05/0.004324, allocations: 91.81 kB / 321.3 MB, free: 37.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.3e-05/0.004407, allocations: 43.3 kB / 321.3 MB, free: 37.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004408, allocations: 0 / 321.3 MB, free: 37.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.004425, allocations: 19.62 kB / 321.3 MB, free: 37.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.00457, allocations: 8 kB / 321.3 MB, free: 37.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.004761, allocations: 127.9 kB / 321.5 MB, free: 37.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.209e-05/0.004783, allocations: 59.34 kB / 321.5 MB, free: 37.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.004804, allocations: 3.984 kB / 321.5 MB, free: 37.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.004826, allocations: 12.5 kB / 321.5 MB, free: 37.4 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.004827, allocations: 4 kB / 321.5 MB, free: 37.4 MB / 282.7 MB Notification: Performance of Templates: time 0.001922/0.006748, allocations: 0.6649 MB / 322.2 MB, free: 36.74 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: 2.884552584029734]