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.0009557/0.0009557, allocations: 73.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.0009512/0.0009512, 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.8953/0.8953, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.05761/0.05761, allocations: 12.99 MB / 274 MB, free: 316 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.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 1.352e-06/1.352e-06, allocations: 0 / 348.3 MB, free: 1.289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.797e-05, allocations: 5.125 kB / 348.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001363/0.001381, allocations: 0.701 MB / 349 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001797/0.001561, allocations: 51.81 kB / 349.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.001594, allocations: 4 kB / 349.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.001617, allocations: 0 / 349.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/0.001698, allocations: 7.875 kB / 349.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.001814, allocations: 15.97 kB / 349.1 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.001893, allocations: 19.98 kB / 349.1 MB, free: 500 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.915e-05/0.001962, allocations: 4 kB / 349.1 MB, free: 496 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.002, allocations: 23.86 kB / 349.1 MB, free: 472 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.002039, allocations: 7.984 kB / 349.1 MB, free: 464 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.002057, allocations: 4 kB / 349.1 MB, free: 460 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-06/0.002064, allocations: 4 kB / 349.1 MB, free: 456 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.00208, allocations: 7.938 kB / 349.2 MB, free: 448 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.002096, allocations: 8 kB / 349.2 MB, free: 440 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.048e-05/0.002156, allocations: 15.91 kB / 349.2 MB, free: 424 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002158, allocations: 0 / 349.2 MB, free: 424 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002159, allocations: 4 kB / 349.2 MB, free: 420 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.002162, allocations: 0 / 349.2 MB, free: 420 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.0002238/0.002386, allocations: 348.4 kB / 349.5 MB, free: 32 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.002414, allocations: 12.03 kB / 349.5 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.002438, allocations: 5.234 kB / 349.5 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.002557, allocations: 116.6 kB / 349.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.002571, allocations: 4.375 kB / 349.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-06/0.002577, allocations: 384 / 349.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.002726, allocations: 119.6 kB / 349.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.002733, allocations: 4.125 kB / 349.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.002739, allocations: 384 / 349.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002745, allocations: 4.375 kB / 349.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.002769, allocations: 7.938 kB / 349.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.00299, allocations: 248.1 kB / 350 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.003063, allocations: 66.22 kB / 350.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.003087, allocations: 23.42 kB / 350.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.003098, allocations: 0 / 350.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.003122, allocations: 45.33 kB / 350.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.003122, allocations: 0 / 350.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001268/0.003249, allocations: 53.55 kB / 350.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.003294, allocations: 107.1 kB / 350.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.003358, allocations: 161.9 kB / 350.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.00337, allocations: 29.7 kB / 350.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.003413, allocations: 130.8 kB / 350.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.00343, allocations: 7.953 kB / 350.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.003459, allocations: 19.36 kB / 350.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.003585, allocations: 0.4884 MB / 351.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.003608, allocations: 11.69 kB / 351.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.003647, allocations: 56.77 kB / 351.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.003692, allocations: 31.34 kB / 351.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.003693, allocations: 0 / 351.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.595e-05/0.003769, allocations: 45.69 kB / 351.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.003782, allocations: 6.969 kB / 351.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.003786, allocations: 0 / 351.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.003797, allocations: 7.938 kB / 351.3 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.003861, allocations: 11.92 kB / 351.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.003864, allocations: 0 / 351.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.003899, allocations: 8 kB / 351.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.003904, allocations: 8.062 kB / 351.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.668e-05/0.003951, allocations: 126.9 kB / 351.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.648e-05/0.003987, allocations: 60.73 kB / 351.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.626e-05/0.004013, allocations: 27.38 kB / 351.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.22e-07/0.004014, allocations: 0 / 351.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 6.202e-05/0.004076, allocations: 49.53 kB / 351.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.004082, allocations: 4 kB / 351.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.004084, allocations: 4.078 kB / 351.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.004087, allocations: 4 kB / 351.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.61e-05/0.004113, allocations: 4 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004117, allocations: 7.938 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.004145, allocations: 7.938 kB / 351.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-06/0.004148, allocations: 0 / 351.6 MB, free: 13.65 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 9.147e-05/0.004239, allocations: 272 kB / 351.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.004266, allocations: 4 kB / 351.9 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.004283, allocations: 7.297 kB / 351.9 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.004288, allocations: 7.938 kB / 351.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.004289, allocations: 4 kB / 351.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004292, allocations: 0 / 351.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.004422, allocations: 97.27 kB / 352 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004423, allocations: 0 / 352 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.004456, allocations: 11.98 kB / 352 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004457, allocations: 0 / 352 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.004462, allocations: 0 / 352 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.004463, allocations: 0 / 352 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.004465, allocations: 4 kB / 352 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.004582, allocations: 203.5 kB / 352.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.004592, allocations: 7.938 kB / 352.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.004603, allocations: 8 kB / 352.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.168e-05/0.004664, allocations: 7.984 kB / 352.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.004695, allocations: 3.938 kB / 352.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.004699, allocations: 4 kB / 352.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.004738, allocations: 123.6 kB / 352.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004738, allocations: 0 / 352.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.005014, allocations: 12 kB / 352.4 MB, free: 12.83 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 7.079e-05/0.005085, allocations: 91.25 kB / 352.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.00519, allocations: 43.44 kB / 352.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005192, allocations: 0 / 352.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.005216, allocations: 19.67 kB / 352.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.005433, allocations: 8 kB / 352.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.005664, allocations: 129.8 kB / 352.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.0057, allocations: 59.34 kB / 352.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.005733, allocations: 4.375 kB / 352.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.005791, allocations: 74.2 kB / 352.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005791, allocations: 0 / 352.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of Templates: time 0.002146/0.007937, allocations: 0.7533 MB / 353.6 MB, free: 11.6 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.7125648269429803]