Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.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.001335/0.001335, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001593/0.001593, allocations: 173 kB / 23.49 MB, free: 1.055 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.05495/0.05495, allocations: 12.74 MB / 273 MB, free: 0.7812 MB / 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.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 4 kB / 346.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.007e-05, allocations: 8.219 kB / 346.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001258/0.001288, allocations: 0.7012 MB / 347.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.001508, allocations: 51.81 kB / 347.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.001544, allocations: 0 / 347.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.001571, allocations: 3.938 kB / 347.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.001654, allocations: 3.938 kB / 347.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.001791, allocations: 23.91 kB / 347.5 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.001887, allocations: 23.98 kB / 347.5 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.001979, allocations: 4 kB / 347.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.002022, allocations: 23.92 kB / 347.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.002071, allocations: 7.984 kB / 347.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.00209, allocations: 0 / 347.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.002097, allocations: 4 kB / 347.6 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.002113, allocations: 7.938 kB / 347.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.002135, allocations: 11.98 kB / 347.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.5e-05/0.00222, allocations: 19.91 kB / 347.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.002223, allocations: 0 / 347.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.002224, allocations: 0 / 347.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.002228, allocations: 0 / 347.6 MB, free: 1.391 MB / 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.0002961/0.002524, allocations: 356.4 kB / 348 MB, free: 1.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.002562, allocations: 8.031 kB / 348 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.002602, allocations: 9.234 kB / 348 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.002716, allocations: 112.6 kB / 348.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.002725, allocations: 8.312 kB / 348.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.002734, allocations: 384 / 348.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.002882, allocations: 111.7 kB / 348.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.002889, allocations: 8.125 kB / 348.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.002898, allocations: 384 / 348.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.002906, allocations: 384 / 348.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.002939, allocations: 19.86 kB / 348.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.003179, allocations: 263.5 kB / 348.5 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.003243, allocations: 66.16 kB / 348.6 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.00327, allocations: 23.44 kB / 348.6 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.003287, allocations: 3.984 kB / 348.6 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.003304, allocations: 37.39 kB / 348.6 MB, free: 216 kB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.003305, allocations: 0 / 348.6 MB, free: 216 kB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001481/0.003453, allocations: 57.58 kB / 348.7 MB, free: 152 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.003481, allocations: 106.8 kB / 348.8 MB, free: 20 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.003579, allocations: 157.9 kB / 348.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.003592, allocations: 25.7 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.003635, allocations: 134.8 kB / 349.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.003652, allocations: 3.953 kB / 349.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.003683, allocations: 27.36 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.003789, allocations: 492.1 kB / 349.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.003815, allocations: 11.69 kB / 349.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.003858, allocations: 69.17 kB / 349.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.003897, allocations: 35.34 kB / 349.7 MB, free: 15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.003899, allocations: 0 / 349.7 MB, free: 15 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.496e-05/0.003964, allocations: 45.64 kB / 349.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.003977, allocations: 8 kB / 349.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.003983, allocations: 3.938 kB / 349.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.003996, allocations: 0 / 349.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.00411, allocations: 11.98 kB / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.004115, allocations: 4.062 kB / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.004142, allocations: 8 kB / 349.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.004148, allocations: 0 / 349.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.588e-05/0.004194, allocations: 134.9 kB / 349.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.77e-05/0.004221, allocations: 52.77 kB / 350 MB, free: 14.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.397e-05/0.004245, allocations: 27.31 kB / 350 MB, free: 14.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.81e-07/0.004246, allocations: 0 / 350 MB, free: 14.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.946e-05/0.004295, allocations: 57.64 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.004302, allocations: 8 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.004303, allocations: 3.938 kB / 350.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.004306, allocations: 3.938 kB / 350.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-05/0.004323, allocations: 4 kB / 350.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.42e-07/0.004324, allocations: 0 / 350.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.004343, allocations: 11.92 kB / 350.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.004346, allocations: 4 kB / 350.1 MB, free: 14.58 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 7.674e-05/0.004423, allocations: 264.1 kB / 350.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.004436, allocations: 4 kB / 350.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.004458, allocations: 15.28 kB / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00446, allocations: 0 / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.004464, allocations: 4 kB / 350.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004467, allocations: 0 / 350.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.00456, allocations: 116.6 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004561, allocations: 0 / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.004585, allocations: 8 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.004586, allocations: 0 / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.004592, allocations: 0 / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.004595, allocations: 7.922 kB / 350.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.004596, allocations: 0 / 350.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.58e-05/0.004692, allocations: 207.6 kB / 350.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.004701, allocations: 3.953 kB / 350.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.004711, allocations: 4 kB / 350.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.483e-05/0.004746, allocations: 11.94 kB / 350.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.004786, allocations: 3.984 kB / 350.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.00479, allocations: 8 kB / 350.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.004824, allocations: 119.2 kB / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.004824, allocations: 0 / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.004996, allocations: 12 kB / 350.9 MB, free: 13.74 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.667e-05/0.005073, allocations: 95.25 kB / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.005178, allocations: 43.3 kB / 351 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00518, allocations: 0 / 351 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.005203, allocations: 23.61 kB / 351 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.005362, allocations: 4 kB / 351 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.005627, allocations: 138.3 kB / 351.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.005663, allocations: 51.36 kB / 351.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.005692, allocations: 7.984 kB / 351.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.005724, allocations: 8.5 kB / 351.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.005724, allocations: 4 kB / 351.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of Templates: time 0.002368/0.008092, allocations: 0.6945 MB / 351.9 MB, free: 12.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_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.859869330190122]