Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001111/0.001111, allocations: 96.2 kB / 20.44 MB, free: 4.137 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.00167/0.00167, allocations: 165 kB / 23.81 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9062/0.9062, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06579/0.06579, allocations: 10.66 MB / 248.7 MB, free: 4.449 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.675e-05, allocations: 7.453 kB / 317.8 MB, free: 41.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001512/0.001539, allocations: 0.6999 MB / 318.5 MB, free: 41.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002063/0.001745, allocations: 55.75 kB / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.00178, allocations: 0 / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.001807, allocations: 3.938 kB / 318.6 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.001886, allocations: 3.984 kB / 318.6 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.002038, allocations: 12 kB / 318.6 MB, free: 41.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.00214, allocations: 31.86 kB / 318.6 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.002228, allocations: 7.984 kB / 318.6 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.002269, allocations: 15.98 kB / 318.6 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.002314, allocations: 7.984 kB / 318.6 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.002333, allocations: 4 kB / 318.7 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.002342, allocations: 0 / 318.7 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002357, allocations: 7.938 kB / 318.7 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.002378, allocations: 7.375 kB / 318.7 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.606e-05/0.002464, allocations: 16.94 kB / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.002467, allocations: 0 / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002467, allocations: 0 / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002471, allocations: 4 kB / 318.7 MB, free: 41.14 MB / 282.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.0002721/0.002743, allocations: 362.7 kB / 319 MB, free: 40.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.002779, allocations: 8.031 kB / 319.1 MB, free: 40.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.00282, allocations: 9.234 kB / 319.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.002921, allocations: 112.6 kB / 319.2 MB, free: 40.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.002938, allocations: 384 / 319.2 MB, free: 40.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.002948, allocations: 384 / 319.2 MB, free: 40.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.003104, allocations: 123.6 kB / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003111, allocations: 192 / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.00312, allocations: 4.375 kB / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.003127, allocations: 384 / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.003159, allocations: 15.92 kB / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.003392, allocations: 271.5 kB / 319.6 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.003471, allocations: 58.12 kB / 319.6 MB, free: 40.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.003496, allocations: 27.48 kB / 319.7 MB, free: 40.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.003512, allocations: 4 kB / 319.7 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.00353, allocations: 37.33 kB / 319.7 MB, free: 39.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003531, allocations: 4 kB / 319.7 MB, free: 39.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.003671, allocations: 57.56 kB / 319.8 MB, free: 39.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.003698, allocations: 102.8 kB / 319.9 MB, free: 39.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/0.003742, allocations: 157.9 kB / 320 MB, free: 39.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.003749, allocations: 29.7 kB / 320 MB, free: 39.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.003776, allocations: 130.8 kB / 320.2 MB, free: 39.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.003792, allocations: 7.938 kB / 320.2 MB, free: 39.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.003816, allocations: 23.38 kB / 320.2 MB, free: 39.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.003863, allocations: 492.4 kB / 320.7 MB, free: 38.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.003884, allocations: 15.69 kB / 320.7 MB, free: 38.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.003913, allocations: 64.75 kB / 320.8 MB, free: 38.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.003945, allocations: 31.31 kB / 320.8 MB, free: 38.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.003947, allocations: 0 / 320.8 MB, free: 38.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.48e-05/0.004002, allocations: 37.7 kB / 320.8 MB, free: 38.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.004014, allocations: 11.98 kB / 320.8 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.004019, allocations: 3.938 kB / 320.8 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.004032, allocations: 8.031 kB / 320.9 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.004101, allocations: 8 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004105, allocations: 3.938 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.004129, allocations: 11.98 kB / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.004133, allocations: 0 / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.57e-05/0.004159, allocations: 130.9 kB / 321 MB, free: 38.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.753e-05/0.004177, allocations: 52.77 kB / 321.1 MB, free: 38.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.715e-05/0.004194, allocations: 23.38 kB / 321.1 MB, free: 38.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.71e-07/0.004194, allocations: 4.031 kB / 321.1 MB, free: 38.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.588e-05/0.00423, allocations: 53.58 kB / 321.1 MB, free: 38.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.004236, allocations: 10.19 kB / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-06/0.004238, allocations: 1.953 kB / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-06/0.004239, allocations: 3.938 kB / 321.2 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.294e-05/0.004252, allocations: 4 kB / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.41e-07/0.004252, allocations: 0 / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.004267, allocations: 15.86 kB / 321.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-06/0.004268, allocations: 4 kB / 321.2 MB, free: 38.33 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 5.053e-05/0.004319, allocations: 268.1 kB / 321.4 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.004333, allocations: 4 kB / 321.4 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.004355, allocations: 11.25 kB / 321.5 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.004357, allocations: 0 / 321.5 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.004362, allocations: 8.375 kB / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.004364, allocations: 0 / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.445e-05/0.004438, allocations: 116.6 kB / 321.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004439, allocations: 0 / 321.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.004459, allocations: 11.98 kB / 321.6 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.00446, allocations: 3.984 kB / 321.6 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.004467, allocations: 4 kB / 321.6 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.004468, allocations: 3.938 kB / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00447, allocations: 4 kB / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.004725, allocations: 1.384 MB / 323 MB, free: 36.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.004736, allocations: 4 kB / 323 MB, free: 36.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.004749, allocations: 0 / 323 MB, free: 36.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.004787, allocations: 4 kB / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.004828, allocations: 15.92 kB / 323 MB, free: 36.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.004831, allocations: 0 / 323 MB, free: 36.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.196e-05/0.004853, allocations: 123.2 kB / 323.1 MB, free: 36.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004853, allocations: 7.938 kB / 323.1 MB, free: 36.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.005158, allocations: 11.94 kB / 323.1 MB, free: 36.24 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.857e-05/0.005227, allocations: 99.23 kB / 323.2 MB, free: 36.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.00533, allocations: 39.31 kB / 323.3 MB, free: 36.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005331, allocations: 0 / 323.3 MB, free: 36.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.005348, allocations: 15.67 kB / 323.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.005506, allocations: 4.375 kB / 323.3 MB, free: 36.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.00578, allocations: 291.9 kB / 323.6 MB, free: 35.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.688e-05/0.005807, allocations: 63.28 kB / 323.6 MB, free: 35.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.386e-05/0.005831, allocations: 4 kB / 323.7 MB, free: 35.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.005861, allocations: 16.5 kB / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005862, allocations: 0 / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of Templates: time 0.002153/0.008015, allocations: 0.7162 MB / 324.4 MB, free: 34.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.906517099123448]