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.001411/0.001411, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001501/0.001501, allocations: 169.7 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 0.9602/0.9602, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.06083/0.06083, allocations: 13 MB / 273.2 MB, free: 332 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 1.773e-06/1.773e-06, allocations: 0 / 347.5 MB, free: 2.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.515e-05, allocations: 2.312 kB / 347.5 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001389/0.001414, allocations: 0.6892 MB / 348.2 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000204/0.001618, allocations: 55.77 kB / 348.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.001653, allocations: 0 / 348.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.001677, allocations: 3.984 kB / 348.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.001759, allocations: 7.938 kB / 348.3 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.001884, allocations: 23.91 kB / 348.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.001963, allocations: 19.98 kB / 348.3 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.002052, allocations: 4 kB / 348.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.002114, allocations: 19.92 kB / 348.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.002186, allocations: 11.98 kB / 348.3 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.002208, allocations: 4 kB / 348.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.002217, allocations: 0 / 348.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.00224, allocations: 8 kB / 348.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.002261, allocations: 11.92 kB / 348.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.002359, allocations: 23.91 kB / 348.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002361, allocations: 0 / 348.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002362, allocations: 0 / 348.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.002368, allocations: 0 / 348.4 MB, free: 1.477 MB / 314.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.000375/0.002743, allocations: 356.7 kB / 348.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.002785, allocations: 11.97 kB / 348.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.002816, allocations: 12.88 kB / 348.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.003002, allocations: 112.6 kB / 348.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003011, allocations: 384 / 348.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.003019, allocations: 4.375 kB / 348.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.003168, allocations: 111.7 kB / 349 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.003174, allocations: 192 / 349 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.003181, allocations: 384 / 349 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.003186, allocations: 384 / 349 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.003209, allocations: 19.88 kB / 349 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.003426, allocations: 256.1 kB / 349.3 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.003493, allocations: 66.16 kB / 349.3 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.003513, allocations: 19.44 kB / 349.3 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.003532, allocations: 0 / 349.3 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.003557, allocations: 41.39 kB / 349.4 MB, free: 328 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.003558, allocations: 0 / 349.4 MB, free: 328 kB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000128/0.003686, allocations: 57.52 kB / 349.4 MB, free: 264 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.003724, allocations: 106.8 kB / 349.5 MB, free: 132 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.003798, allocations: 165.9 kB / 349.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.003808, allocations: 25.7 kB / 349.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.003845, allocations: 126.9 kB / 349.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.003859, allocations: 3.953 kB / 349.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.003885, allocations: 19.38 kB / 349.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.003988, allocations: 0.4923 MB / 350.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.004007, allocations: 15.62 kB / 350.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.004038, allocations: 57.02 kB / 350.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.004069, allocations: 27.41 kB / 350.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.00407, allocations: 0 / 350.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.738e-05/0.004128, allocations: 49.62 kB / 350.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.004139, allocations: 6.031 kB / 350.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004144, allocations: 0 / 350.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.004156, allocations: 7.938 kB / 350.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.004213, allocations: 7.984 kB / 350.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.004217, allocations: 8.047 kB / 350.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.004239, allocations: 4 kB / 350.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.004245, allocations: 4 kB / 350.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.722e-05/0.004283, allocations: 126.9 kB / 350.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.536e-05/0.004308, allocations: 60.97 kB / 350.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.029e-05/0.004328, allocations: 31.36 kB / 350.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.51e-07/0.004329, allocations: 0 / 350.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.002e-05/0.004369, allocations: 45.72 kB / 350.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.004374, allocations: 11.98 kB / 350.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.004376, allocations: 3.984 kB / 350.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.41e-07/0.004377, allocations: 0 / 350.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.454e-05/0.004391, allocations: 4 kB / 350.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.004395, allocations: 11.88 kB / 350.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.004409, allocations: 3.938 kB / 350.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-06/0.00441, allocations: 4 kB / 350.8 MB, free: 14.7 MB / 330.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.866e-05/0.004489, allocations: 268.1 kB / 351.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.004503, allocations: 4 kB / 351.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.004522, allocations: 11.36 kB / 351.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004525, allocations: 3.938 kB / 351.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004526, allocations: 4 kB / 351.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.004529, allocations: 0 / 351.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.004623, allocations: 97.27 kB / 351.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.004624, allocations: 0 / 351.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.004647, allocations: 15.92 kB / 351.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004648, allocations: 0 / 351.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.004653, allocations: 0 / 351.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.004655, allocations: 4 kB / 351.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.004656, allocations: 8 kB / 351.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.004749, allocations: 203.5 kB / 351.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.004755, allocations: 0 / 351.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.004763, allocations: 4 kB / 351.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.004798, allocations: 7.984 kB / 351.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.004826, allocations: 7.938 kB / 351.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.004828, allocations: 0 / 351.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.004861, allocations: 131.1 kB / 351.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004861, allocations: 0 / 351.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.005029, allocations: 8 kB / 351.6 MB, free: 13.88 MB / 330.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.106e-05/0.0051, allocations: 95.25 kB / 351.7 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.005188, allocations: 47.28 kB / 351.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005189, allocations: 0 / 351.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.005207, allocations: 11.69 kB / 351.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.005355, allocations: 10.05 kB / 351.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.005554, allocations: 130.3 kB / 351.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.005585, allocations: 59.34 kB / 352 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.005608, allocations: 0 / 352 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.005657, allocations: 74.2 kB / 352 MB, free: 13.39 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.005658, allocations: 4 kB / 352 MB, free: 13.39 MB / 330.7 MB Notification: Performance of Templates: time 0.002013/0.00767, allocations: 0.7631 MB / 352.8 MB, free: 12.63 MB / 330.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.6194101781584322]