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.0009173/0.0009173, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009089/0.0009089, allocations: 165 kB / 23.02 MB, free: 1.547 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.1 MB / 203.4 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.05715/0.05715, allocations: 12.94 MB / 272.9 MB, free: 0.5 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 3.396e-06/3.396e-06, allocations: 4 kB / 347 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.371e-05, allocations: 2.312 kB / 347 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00196/0.001994, allocations: 0.6922 MB / 347.7 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.002262, allocations: 59.73 kB / 347.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.0023, allocations: 0 / 347.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.002333, allocations: 4 kB / 347.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.002449, allocations: 11.92 kB / 347.8 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.00264, allocations: 8 kB / 347.8 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.002766, allocations: 31.91 kB / 347.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.002896, allocations: 8 kB / 347.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.002962, allocations: 15.92 kB / 347.8 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.003036, allocations: 11.98 kB / 347.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.003063, allocations: 4 kB / 347.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.003074, allocations: 4 kB / 347.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.003094, allocations: 3.984 kB / 347.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.00312, allocations: 7.938 kB / 347.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.998e-05/0.00322, allocations: 19.92 kB / 347.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.003223, allocations: 0 / 347.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.003224, allocations: 3.938 kB / 347.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.00323, allocations: 0 / 347.9 MB, free: 0.7422 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.0003615/0.003591, allocations: 360.3 kB / 348.2 MB, free: 360 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.003638, allocations: 8.031 kB / 348.2 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.003689, allocations: 9.234 kB / 348.3 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.00383, allocations: 108.6 kB / 348.4 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.003843, allocations: 4.375 kB / 348.4 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.003861, allocations: 8.359 kB / 348.4 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.004071, allocations: 111.7 kB / 348.5 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.004085, allocations: 192 / 348.5 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.004097, allocations: 384 / 348.5 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.004108, allocations: 4.312 kB / 348.5 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.004157, allocations: 15.94 kB / 348.5 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.004596, allocations: 259.6 kB / 348.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.004713, allocations: 70.05 kB / 348.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.004762, allocations: 27.48 kB / 348.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.004787, allocations: 0 / 348.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.004818, allocations: 33.39 kB / 348.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.004819, allocations: 7.938 kB / 348.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002109/0.00503, allocations: 57.56 kB / 348.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.00509, allocations: 110.8 kB / 349.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.005189, allocations: 157.9 kB / 349.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.005203, allocations: 25.7 kB / 349.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.00526, allocations: 134.8 kB / 349.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.00529, allocations: 15.94 kB / 349.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.005329, allocations: 15.38 kB / 349.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.005472, allocations: 0.4884 MB / 349.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.005509, allocations: 15.67 kB / 349.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.005559, allocations: 57.02 kB / 350 MB, free: 14.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.00561, allocations: 27.38 kB / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005612, allocations: 0 / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001051/0.005717, allocations: 53.62 kB / 350 MB, free: 14.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.005736, allocations: 6.188 kB / 350 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.005743, allocations: 3.938 kB / 350 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.005762, allocations: 0 / 350 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.005864, allocations: 12.09 kB / 350.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.005872, allocations: 7.984 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.005909, allocations: 4 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.005918, allocations: 4 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.812e-05/0.005976, allocations: 126.9 kB / 350.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.292e-05/0.006019, allocations: 64.69 kB / 350.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.314e-05/0.006052, allocations: 23.38 kB / 350.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.71e-07/0.006053, allocations: 0 / 350.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 8.608e-05/0.006139, allocations: 57.61 kB / 350.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.006147, allocations: 4 kB / 350.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.006149, allocations: 0 / 350.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.006157, allocations: 7.922 kB / 350.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/0.006203, allocations: 8 kB / 350.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006207, allocations: 0 / 350.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.00624, allocations: 7.938 kB / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-06/0.006242, allocations: 0 / 350.4 MB, free: 13.93 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 0.0001299/0.006372, allocations: 272.1 kB / 350.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.006399, allocations: 4.062 kB / 350.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.006434, allocations: 19.23 kB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006437, allocations: 3.938 kB / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006441, allocations: 0 / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006444, allocations: 0 / 350.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.006593, allocations: 108.6 kB / 350.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.006596, allocations: 7.938 kB / 350.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.006637, allocations: 7.984 kB / 350.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.00664, allocations: 0 / 350.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.00665, allocations: 8 kB / 350.8 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.006654, allocations: 3.938 kB / 350.8 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.006656, allocations: 4 kB / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.00681, allocations: 195.6 kB / 351 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.006824, allocations: 7.953 kB / 351 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.006838, allocations: 0 / 351 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.006907, allocations: 11.92 kB / 351 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.006961, allocations: 8.359 kB / 351 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.006966, allocations: 4 kB / 351 MB, free: 13.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.007021, allocations: 131.2 kB / 351.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007021, allocations: 0 / 351.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003/0.007321, allocations: 8 kB / 351.2 MB, free: 13.08 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 0.0001261/0.007447, allocations: 95.25 kB / 351.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.007597, allocations: 43.3 kB / 351.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0076, allocations: 0 / 351.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.007629, allocations: 15.69 kB / 351.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.007888, allocations: 10.11 kB / 351.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.008226, allocations: 130.3 kB / 351.4 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.008271, allocations: 59.3 kB / 351.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.008305, allocations: 0 / 351.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.008347, allocations: 16.5 kB / 351.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008348, allocations: 0 / 351.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of Templates: time 0.003311/0.01166, allocations: 0.6938 MB / 352.2 MB, free: 11.96 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.9927752688527107]