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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,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=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001352, allocations: 114.1 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 185.5 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06206/0.06206, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 69.84 kB / 397.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 50.14 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001953/0.1039, allocations: 0.6746 MB / 448 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.1041, allocations: 60.14 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.1042, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.1042, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.1043, allocations: 3.938 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1045, allocations: 15.98 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1046, allocations: 31.86 kB / 448.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1047, allocations: 11.98 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.1048, allocations: 7.984 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.1049, allocations: 15.92 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1049, allocations: 4 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.1049, allocations: 0 / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.1049, allocations: 4 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.105, allocations: 7.938 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.1051, allocations: 23.91 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1051, allocations: 3.938 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1051, allocations: 0 / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1051, allocations: 0 / 448.1 MB, free: 12.82 MB / 334.1 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.0005169/0.1056, allocations: 339.5 kB / 448.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1057, allocations: 12.03 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1057, allocations: 8.859 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1059, allocations: 164.4 kB / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.106, allocations: 384 / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.106, allocations: 384 / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1062, allocations: 80.8 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1062, allocations: 192 / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1063, allocations: 3.938 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1063, allocations: 4 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1065, allocations: 35.91 kB / 448.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1069, allocations: 265.8 kB / 449 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1071, allocations: 73.09 kB / 449.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1072, allocations: 29.77 kB / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1072, allocations: 4 kB / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1073, allocations: 34.56 kB / 449.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1073, allocations: 0 / 449.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004377/0.1077, allocations: 93.53 kB / 449.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.1078, allocations: 103.1 kB / 449.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1079, allocations: 109.8 kB / 449.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.108, allocations: 25.7 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.108, allocations: 88.12 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1081, allocations: 3.953 kB / 449.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1081, allocations: 17.72 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1083, allocations: 310.8 kB / 449.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1084, allocations: 28.83 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.1085, allocations: 42.5 kB / 450 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1087, allocations: 41.69 kB / 450 MB, free: 10.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1087, allocations: 4.031 kB / 450 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002101/0.1089, allocations: 81.53 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1089, allocations: 4 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1089, allocations: 3.938 kB / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.109, allocations: 0 / 450.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1091, allocations: 11.98 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1091, allocations: 4 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.1092, allocations: 19.94 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1092, allocations: 0 / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.72e-05/0.1093, allocations: 88.14 kB / 450.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.175e-05/0.1093, allocations: 26.56 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.243e-05/0.1094, allocations: 29.66 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.1094, allocations: 4.031 kB / 450.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001431/0.1096, allocations: 61.55 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-06/0.1096, allocations: 4 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.1096, allocations: 0 / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-06/0.1096, allocations: 0 / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.1097, allocations: 8 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1097, allocations: 3.984 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.1097, allocations: 7.984 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1097, allocations: 8.062 kB / 450.4 MB, free: 10.27 MB / 334.1 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 0.0001017/0.1098, allocations: 188.1 kB / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1099, allocations: 0 / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.1099, allocations: 7.078 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1099, allocations: 4 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1099, allocations: 0 / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1099, allocations: 0 / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1101, allocations: 165.6 kB / 450.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1101, allocations: 0 / 450.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.1102, allocations: 12 kB / 450.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1102, allocations: 4 kB / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1102, allocations: 0 / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1102, allocations: 3.984 kB / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1102, allocations: 7.875 kB / 450.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.111, allocations: 0.9657 MB / 451.7 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.111, allocations: 77.11 kB / 451.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1111, allocations: 0 / 451.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1112, allocations: 15.92 kB / 451.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.1113, allocations: 7.938 kB / 451.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1113, allocations: 12 kB / 451.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.1113, allocations: 75.7 kB / 451.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1114, allocations: 0 / 451.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007096/0.1121, allocations: 8 kB / 451.9 MB, free: 8.59 MB / 334.1 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 0.0001135/0.1122, allocations: 99.23 kB / 452 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.1125, allocations: 59.95 kB / 452.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1125, allocations: 0 / 452.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1126, allocations: 19.98 kB / 452.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.1128, allocations: 4.938 kB / 452.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.1133, allocations: 232.7 kB / 452.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1136, allocations: 0.6729 MB / 453 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.1136, allocations: 8.109 kB / 453 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.1137, allocations: 11.44 kB / 453 MB, free: 7.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1137, allocations: 0 / 453 MB, free: 7.41 MB / 334.1 MB Notification: Performance of Templates: time 0.002987/0.1167, allocations: 0.6218 MB / 453.7 MB, free: 6.793 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches