Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.0008998/0.0008998, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009476/0.0009476, allocations: 177 kB / 23.5 MB, free: 1.047 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.9501/0.9501, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.04853/0.04853, allocations: 12.73 MB / 273 MB, free: 0.7578 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.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_dev_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_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 346.7 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.303e-05, allocations: 8.984 kB / 346.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001089/0.001112, allocations: 0.6896 MB / 347.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.001302, allocations: 55.75 kB / 347.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.001337, allocations: 0 / 347.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.00136, allocations: 3.938 kB / 347.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.001435, allocations: 7.984 kB / 347.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.001561, allocations: 15.94 kB / 347.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.283e-05/0.001653, allocations: 23.92 kB / 347.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.178e-05/0.001735, allocations: 11.97 kB / 347.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.001776, allocations: 8 kB / 347.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.001819, allocations: 11.98 kB / 347.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.001838, allocations: 4 kB / 347.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-06/0.001844, allocations: 0 / 347.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.001859, allocations: 3.938 kB / 347.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.001878, allocations: 8 kB / 347.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.898e-05/0.001947, allocations: 19.92 kB / 347.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.001949, allocations: 0 / 347.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.001949, allocations: 0 / 347.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.001954, allocations: 3.938 kB / 347.6 MB, free: 1.414 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.0002712/0.002225, allocations: 356.3 kB / 347.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.002257, allocations: 8.031 kB / 348 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.002295, allocations: 9.234 kB / 348 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.846e-05/0.002393, allocations: 108.6 kB / 348.1 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.002408, allocations: 8.312 kB / 348.1 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.002417, allocations: 384 / 348.1 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.002547, allocations: 119.7 kB / 348.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.002553, allocations: 192 / 348.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.002561, allocations: 384 / 348.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.002569, allocations: 384 / 348.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.002598, allocations: 15.86 kB / 348.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.002799, allocations: 275.5 kB / 348.5 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.002854, allocations: 62.12 kB / 348.5 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.002878, allocations: 31.42 kB / 348.6 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.002892, allocations: 0 / 348.6 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.002907, allocations: 37.39 kB / 348.6 MB, free: 236 kB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.002908, allocations: 0 / 348.6 MB, free: 236 kB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001318/0.00304, allocations: 57.56 kB / 348.7 MB, free: 172 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.003066, allocations: 102.8 kB / 348.8 MB, free: 44 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.00314, allocations: 157.9 kB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.00315, allocations: 25.7 kB / 348.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.00319, allocations: 134.8 kB / 349.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.003205, allocations: 16.12 kB / 349.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.003231, allocations: 23.38 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.003329, allocations: 492.1 kB / 349.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.003349, allocations: 11.69 kB / 349.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.003383, allocations: 64.75 kB / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.003414, allocations: 23.38 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003416, allocations: 4 kB / 349.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.474e-05/0.003471, allocations: 45.72 kB / 349.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.003482, allocations: 8 kB / 349.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/0.003721, allocations: 7.938 kB / 349.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.003732, allocations: 0 / 349.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.003787, allocations: 8 kB / 349.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.003794, allocations: 4 kB / 349.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.00382, allocations: 11.98 kB / 349.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.003824, allocations: 0 / 349.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.57e-05/0.00386, allocations: 126.9 kB / 349.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.27e-05/0.003882, allocations: 60.64 kB / 350 MB, free: 14.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.173e-05/0.003904, allocations: 35.39 kB / 350 MB, free: 14.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.41e-07/0.003904, allocations: 0 / 350 MB, free: 14.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 4.741e-05/0.003952, allocations: 49.59 kB / 350 MB, free: 14.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-06/0.003956, allocations: 4 kB / 350 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.003957, allocations: 4 kB / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/0.003959, allocations: 3.938 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.622e-05/0.003976, allocations: 7.984 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.12e-07/0.003976, allocations: 0 / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.003992, allocations: 12 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-06/0.003993, allocations: 0 / 350.1 MB, free: 14.61 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 6.863e-05/0.004061, allocations: 268.1 kB / 350.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.004075, allocations: 4 kB / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.004093, allocations: 11.25 kB / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.004094, allocations: 0 / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.004097, allocations: 0 / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.004101, allocations: 7.984 kB / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.004185, allocations: 112.6 kB / 350.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004185, allocations: 0 / 350.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.004203, allocations: 15.92 kB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.004204, allocations: 4 kB / 350.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.004209, allocations: 0 / 350.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.004211, allocations: 3.938 kB / 350.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004211, allocations: 0 / 350.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.361e-05/0.004295, allocations: 199.6 kB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.004302, allocations: 4.375 kB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-06/0.004312, allocations: 4 kB / 350.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.004345, allocations: 11.92 kB / 350.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.004378, allocations: 7.938 kB / 350.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.00438, allocations: 4 kB / 350.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.00441, allocations: 127.2 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00441, allocations: 0 / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.004629, allocations: 8 kB / 350.9 MB, free: 13.77 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.363e-05/0.004693, allocations: 99.23 kB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.004787, allocations: 39.3 kB / 351 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004788, allocations: 3.938 kB / 351 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.004808, allocations: 23.94 kB / 351 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.00496, allocations: 7.938 kB / 351 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.005173, allocations: 126 kB / 351.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.005201, allocations: 55.34 kB / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.801e-05/0.005229, allocations: 12.06 kB / 351.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.005255, allocations: 12.5 kB / 351.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005255, allocations: 0 / 351.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Templates: time 0.00195/0.007205, allocations: 0.6629 MB / 351.9 MB, free: 12.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.705260537797585]