Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.0009159/0.0009159, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001138/0.001138, allocations: 181 kB / 23.36 MB, free: 1.129 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.9604/0.9604, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.04136/0.04136, allocations: 10.65 MB / 248.2 MB, free: 4.359 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_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_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 268.5 MB, free: 100 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.219e-05, allocations: 2.312 kB / 268.5 MB, free: 96 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001221/0.001233, allocations: 0.7575 MB / 269.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.001421, allocations: 51.81 kB / 269.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.00145, allocations: 0 / 269.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.001474, allocations: 3.938 kB / 269.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.001546, allocations: 0 / 269.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.001672, allocations: 27.91 kB / 269.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.001756, allocations: 23.94 kB / 269.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/0.001824, allocations: 7.984 kB / 269.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.001867, allocations: 8 kB / 269.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.001912, allocations: 11.92 kB / 269.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.001926, allocations: 4 kB / 269.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.001934, allocations: 4 kB / 269.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.001948, allocations: 0 / 269.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.001964, allocations: 11.97 kB / 269.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.031e-05/0.002024, allocations: 15.92 kB / 269.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002026, allocations: 0 / 269.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002026, allocations: 0 / 269.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.002029, allocations: 4 kB / 269.4 MB, free: 15.16 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.0002615/0.002291, allocations: 232.9 kB / 269.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.002323, allocations: 12.03 kB / 269.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.002347, allocations: 0.9375 kB / 269.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.002449, allocations: 117.7 kB / 269.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.002462, allocations: 384 / 269.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.002471, allocations: 4.375 kB / 269.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.0026, allocations: 103.2 kB / 269.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.002607, allocations: 192 / 269.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.002613, allocations: 4.375 kB / 269.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.002617, allocations: 384 / 269.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.002639, allocations: 15.88 kB / 269.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.002811, allocations: 153.2 kB / 270 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.002869, allocations: 53.11 kB / 270.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.002888, allocations: 17.84 kB / 270.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.002899, allocations: 0 / 270.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.00292, allocations: 38.56 kB / 270.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.002921, allocations: 4 kB / 270.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 9.972e-05/0.003021, allocations: 49.62 kB / 270.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.00306, allocations: 106.8 kB / 270.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.003111, allocations: 106.7 kB / 270.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.003122, allocations: 25.7 kB / 270.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.003151, allocations: 84.14 kB / 270.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.003173, allocations: 19.83 kB / 270.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.0032, allocations: 13.72 kB / 270.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.003273, allocations: 314.8 kB / 270.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.003289, allocations: 13.11 kB / 270.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.003316, allocations: 48.22 kB / 270.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.00334, allocations: 21.7 kB / 270.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.003342, allocations: 4 kB / 270.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.393e-05/0.003386, allocations: 45.62 kB / 271 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.003397, allocations: 8 kB / 271 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.0034, allocations: 0 / 271 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.003412, allocations: 8.094 kB / 271 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.00346, allocations: 11.94 kB / 271 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.003463, allocations: 0 / 271 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.003488, allocations: 7.984 kB / 271 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.003491, allocations: 0 / 271 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.81e-05/0.00352, allocations: 88.12 kB / 271.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.125e-05/0.003541, allocations: 44.28 kB / 271.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.558e-05/0.003556, allocations: 21.64 kB / 271.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.003557, allocations: 8.031 kB / 271.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.511e-05/0.003592, allocations: 41.62 kB / 271.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-06/0.003596, allocations: 4 kB / 271.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.003598, allocations: 4 kB / 271.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.22e-07/0.003599, allocations: 0 / 271.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-05/0.003612, allocations: 4 kB / 271.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.003614, allocations: 3.938 kB / 271.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.003631, allocations: 11.98 kB / 271.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-07/0.003632, allocations: 0 / 271.2 MB, free: 13.07 MB / 266.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.037e-05/0.003692, allocations: 188.3 kB / 271.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.003708, allocations: 4 kB / 271.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.003724, allocations: 3.312 kB / 271.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.003726, allocations: 0 / 271.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.003728, allocations: 3.938 kB / 271.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.003731, allocations: 0 / 271.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.003812, allocations: 73.89 kB / 271.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.003813, allocations: 0 / 271.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.003832, allocations: 8 kB / 271.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003832, allocations: 3.938 kB / 271.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-06/0.003836, allocations: 0 / 271.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003836, allocations: 4 kB / 271.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.003839, allocations: 7.938 kB / 271.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.897e-05/0.003908, allocations: 148.3 kB / 271.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.003915, allocations: 3.953 kB / 271.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-06/0.003921, allocations: 0 / 271.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.003951, allocations: 4 kB / 271.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.00398, allocations: 11.98 kB / 271.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.003982, allocations: 3.938 kB / 271.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.007e-05/0.003993, allocations: 8.859 kB / 271.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003993, allocations: 0 / 271.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001227/0.004115, allocations: 12 kB / 271.7 MB, free: 12.54 MB / 266.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 5.872e-05/0.004174, allocations: 80.41 kB / 271.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.004249, allocations: 30.22 kB / 271.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.004251, allocations: 0 / 271.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.004268, allocations: 16.8 kB / 271.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.004371, allocations: 7.984 kB / 271.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.004553, allocations: 118 kB / 271.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.004583, allocations: 59.3 kB / 272 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.004604, allocations: 0 / 272 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.00465, allocations: 63.36 kB / 272.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00465, allocations: 4 kB / 272.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Templates: time 0.00199/0.006641, allocations: 0.6924 MB / 272.8 MB, free: 11.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.6123874210752547]