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.001091/0.001091, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.004466/0.004466, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9696/0.9696, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.06204/0.06204, allocations: 12.99 MB / 274 MB, free: 300 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.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.023e-06/2.023e-06, allocations: 0 / 348.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.683e-05, allocations: 2.312 kB / 348.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00128/0.001307, allocations: 0.6933 MB / 349 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.001503, allocations: 59.8 kB / 349.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.001537, allocations: 0 / 349.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.001562, allocations: 4 kB / 349.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.001642, allocations: 3.938 kB / 349.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.001763, allocations: 11.98 kB / 349.1 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.277e-05/0.001846, allocations: 31.92 kB / 349.1 MB, free: 492 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.647e-05/0.001922, allocations: 7.984 kB / 349.1 MB, free: 484 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.001965, allocations: 15.92 kB / 349.1 MB, free: 468 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.002011, allocations: 15.92 kB / 349.1 MB, free: 452 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.002026, allocations: 0 / 349.1 MB, free: 452 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.002035, allocations: 4 kB / 349.1 MB, free: 448 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.002049, allocations: 4 kB / 349.2 MB, free: 444 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.002065, allocations: 15.92 kB / 349.2 MB, free: 428 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.41e-05/0.002139, allocations: 19.92 kB / 349.2 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002141, allocations: 0 / 349.2 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002142, allocations: 0 / 349.2 MB, free: 408 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002146, allocations: 0 / 349.2 MB, free: 408 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.0002394/0.002385, allocations: 356.3 kB / 349.5 MB, free: 12 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.002415, allocations: 8.031 kB / 349.5 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.002442, allocations: 5.234 kB / 349.5 MB, free: 0 / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.002552, allocations: 112.6 kB / 349.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.002562, allocations: 4.375 kB / 349.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.002569, allocations: 4.375 kB / 349.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.002714, allocations: 115.6 kB / 349.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.002722, allocations: 4.172 kB / 349.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.002729, allocations: 384 / 349.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.002734, allocations: 4.375 kB / 349.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.002758, allocations: 11.92 kB / 349.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.002979, allocations: 248.1 kB / 350 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.003052, allocations: 62.16 kB / 350.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.003073, allocations: 23.5 kB / 350.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.003087, allocations: 4 kB / 350.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.003108, allocations: 45.31 kB / 350.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.003109, allocations: 0 / 350.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001227/0.003231, allocations: 53.52 kB / 350.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.003272, allocations: 102.8 kB / 350.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.003336, allocations: 161.9 kB / 350.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.003347, allocations: 29.7 kB / 350.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.00339, allocations: 135.1 kB / 350.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.003405, allocations: 7.953 kB / 350.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.00343, allocations: 19.38 kB / 350.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.003536, allocations: 0.4884 MB / 351.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.003556, allocations: 11.69 kB / 351.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.003588, allocations: 56.77 kB / 351.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.003624, allocations: 27.31 kB / 351.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003626, allocations: 0 / 351.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.914e-05/0.003685, allocations: 49.72 kB / 351.3 MB, free: 14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.003698, allocations: 10.97 kB / 351.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.003702, allocations: 0 / 351.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.003711, allocations: 3.938 kB / 351.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.003769, allocations: 19.92 kB / 351.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.003771, allocations: 0 / 351.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.003795, allocations: 4 kB / 351.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.003798, allocations: 0 / 351.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.984e-05/0.003838, allocations: 126.9 kB / 351.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.532e-05/0.003864, allocations: 60.81 kB / 351.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.891e-05/0.003882, allocations: 27.38 kB / 351.6 MB, free: 13.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.3e-07/0.003883, allocations: 0 / 351.6 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.257e-05/0.003925, allocations: 49.58 kB / 351.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-06/0.003929, allocations: 4 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-07/0.00393, allocations: 0 / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/0.003932, allocations: 4 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-05/0.003951, allocations: 4 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.003954, allocations: 8.031 kB / 351.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.003971, allocations: 7.938 kB / 351.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-06/0.003973, allocations: 0 / 351.6 MB, free: 13.64 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.568e-05/0.004048, allocations: 280 kB / 351.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.004064, allocations: 0 / 351.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.004081, allocations: 7.312 kB / 351.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.004084, allocations: 3.938 kB / 351.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.004086, allocations: 3.938 kB / 351.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004088, allocations: 0 / 351.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.782e-05/0.004176, allocations: 101.2 kB / 352 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.004178, allocations: 8 kB / 352 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.0042, allocations: 7.984 kB / 352 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.004201, allocations: 384 / 352 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.004205, allocations: 4 kB / 352 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004206, allocations: 0 / 352 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.004207, allocations: 0 / 352 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.004308, allocations: 207.5 kB / 352.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.004318, allocations: 7.953 kB / 352.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-06/0.004325, allocations: 0 / 352.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.004359, allocations: 7.984 kB / 352.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.004387, allocations: 15.94 kB / 352.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.004389, allocations: 0 / 352.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.00442, allocations: 123.2 kB / 352.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00442, allocations: 4 kB / 352.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.00458, allocations: 4 kB / 352.4 MB, free: 12.82 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.973e-05/0.00465, allocations: 95.19 kB / 352.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.802e-05/0.004738, allocations: 43.3 kB / 352.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.004739, allocations: 256 / 352.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.004758, allocations: 23.67 kB / 352.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.004902, allocations: 4 kB / 352.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.005099, allocations: 129.9 kB / 352.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.005127, allocations: 55.36 kB / 352.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.00515, allocations: 4.125 kB / 352.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.005198, allocations: 74.2 kB / 352.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.005199, allocations: 0 / 352.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Templates: time 0.002092/0.007291, allocations: 0.7808 MB / 353.6 MB, free: 11.55 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.8865362219512463]