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.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.0009413/0.0009413, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009187/0.0009187, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04832/0.04832, allocations: 12.99 MB / 273.2 MB, free: 324 kB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_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_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 347.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.378e-05, allocations: 2.312 kB / 347.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001584/0.001598, allocations: 0.6933 MB / 348.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.00182, allocations: 55.8 kB / 348.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.00186, allocations: 0 / 348.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.001887, allocations: 0 / 348.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.001972, allocations: 11.88 kB / 348.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.002099, allocations: 15.98 kB / 348.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.002181, allocations: 19.98 kB / 348.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.002258, allocations: 4 kB / 348.3 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.002308, allocations: 19.92 kB / 348.3 MB, free: 484 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.002355, allocations: 3.984 kB / 348.3 MB, free: 480 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.002372, allocations: 4 kB / 348.3 MB, free: 476 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-06/0.002379, allocations: 0 / 348.3 MB, free: 476 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.002396, allocations: 11.98 kB / 348.4 MB, free: 464 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.002413, allocations: 7.938 kB / 348.4 MB, free: 456 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.17e-05/0.002484, allocations: 23.86 kB / 348.4 MB, free: 432 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.002486, allocations: 0 / 348.4 MB, free: 432 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002487, allocations: 0 / 348.4 MB, free: 432 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.00249, allocations: 0 / 348.4 MB, free: 432 kB / 266.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.0002605/0.002751, allocations: 352.4 kB / 348.7 MB, free: 40 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.002789, allocations: 8.031 kB / 348.7 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.002817, allocations: 13.22 kB / 348.8 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.002939, allocations: 112.6 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.002953, allocations: 384 / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.002963, allocations: 4.375 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.003127, allocations: 119.6 kB / 349 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003135, allocations: 192 / 349 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.003142, allocations: 384 / 349 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.003147, allocations: 384 / 349 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.003177, allocations: 11.92 kB / 349 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.003434, allocations: 248.1 kB / 349.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.003517, allocations: 66.08 kB / 349.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.003546, allocations: 23.5 kB / 349.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.003567, allocations: 7.984 kB / 349.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.003599, allocations: 45.38 kB / 349.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.0036, allocations: 4 kB / 349.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001476/0.003748, allocations: 45.58 kB / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.003795, allocations: 106.8 kB / 349.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.003869, allocations: 157.9 kB / 349.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.003883, allocations: 33.7 kB / 349.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.003929, allocations: 130.8 kB / 349.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.003947, allocations: 8.188 kB / 349.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.003977, allocations: 23.38 kB / 349.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.004115, allocations: 496.1 kB / 350.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.004135, allocations: 11.69 kB / 350.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.004179, allocations: 60.77 kB / 350.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.004215, allocations: 23.36 kB / 350.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004217, allocations: 0 / 350.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.607e-05/0.004293, allocations: 53.62 kB / 350.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004304, allocations: 8.094 kB / 350.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004308, allocations: 0 / 350.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.004321, allocations: 3.938 kB / 350.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.004378, allocations: 11.98 kB / 350.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.004381, allocations: 0 / 350.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.004411, allocations: 4 kB / 350.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004415, allocations: 3.938 kB / 350.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.764e-05/0.004463, allocations: 130.9 kB / 350.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.139e-05/0.004494, allocations: 56.75 kB / 350.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.705e-05/0.004521, allocations: 27.41 kB / 350.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.004522, allocations: 0 / 350.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.856e-05/0.00458, allocations: 49.58 kB / 350.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.004588, allocations: 8 kB / 350.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.004589, allocations: 0 / 350.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.004591, allocations: 0 / 350.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.075e-05/0.004612, allocations: 4 kB / 350.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.004614, allocations: 7.875 kB / 350.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.004641, allocations: 12 kB / 350.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.004644, allocations: 4 kB / 350.8 MB, free: 13.66 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 9.141e-05/0.004735, allocations: 272.1 kB / 351.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.004759, allocations: 4 kB / 351.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.004777, allocations: 7.25 kB / 351.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.004781, allocations: 3.938 kB / 351.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.004783, allocations: 0 / 351.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.004787, allocations: 4 kB / 351.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.004913, allocations: 97.27 kB / 351.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004913, allocations: 0 / 351.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.004944, allocations: 11.98 kB / 351.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.004945, allocations: 4 kB / 351.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.004949, allocations: 0 / 351.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00495, allocations: 0 / 351.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004951, allocations: 0 / 351.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.005071, allocations: 211.5 kB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.005078, allocations: 3.953 kB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.005087, allocations: 3.938 kB / 351.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.005149, allocations: 7.984 kB / 351.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.00518, allocations: 7.938 kB / 351.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005183, allocations: 4.422 kB / 351.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.005226, allocations: 131.2 kB / 351.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005226, allocations: 0 / 351.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.005532, allocations: 12 kB / 351.6 MB, free: 12.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 7.364e-05/0.005605, allocations: 91.25 kB / 351.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.005699, allocations: 39.3 kB / 351.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005701, allocations: 0 / 351.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.005724, allocations: 15.94 kB / 351.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.005966, allocations: 10.16 kB / 351.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.006192, allocations: 129.9 kB / 351.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.006228, allocations: 55.34 kB / 351.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.006262, allocations: 8 kB / 351.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.006319, allocations: 74.2 kB / 352 MB, free: 12.34 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00632, allocations: 0 / 352 MB, free: 12.34 MB / 282.7 MB Notification: Performance of Templates: time 0.002491/0.008811, allocations: 0.7427 MB / 352.8 MB, free: 11.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.6242461521178484]